NCLogin.storyboard 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <scenes>
  11. <!--Login-->
  12. <scene sceneID="fVe-zF-WhZ">
  13. <objects>
  14. <viewController storyboardIdentifier="NCLogin" id="yj9-jo-WIn" customClass="NCLogin" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  15. <view key="view" contentMode="scaleToFill" id="Bv6-g3-l0M">
  16. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="BpI-xK-1SU">
  20. <rect key="frame" x="87" y="226.5" width="240" height="120"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="120" id="E9d-5O-bto"/>
  23. <constraint firstAttribute="width" constant="240" id="xwH-mh-yDU"/>
  24. </constraints>
  25. </imageView>
  26. <textField opaque="NO" clipsSubviews="YES" tag="1" contentMode="scaleToFill" layoutMarginsFollowReadableWidth="YES" insetsLayoutMarginsFromSafeArea="NO" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder=" Server address https://…" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="szn-G7-5sK">
  27. <rect key="frame" x="50" y="376.5" width="314" height="44"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="44" id="I2v-Zr-IWf"/>
  30. </constraints>
  31. <color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  33. <textInputTraits key="textInputTraits" autocorrectionType="no" keyboardType="URL" returnKeyType="done"/>
  34. </textField>
  35. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HQd-pF-3cE">
  36. <rect key="frame" x="324" y="378.5" width="40" height="40"/>
  37. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="40" id="3yh-bo-Bzr"/>
  40. <constraint firstAttribute="width" constant="40" id="yLC-Ai-3Ob"/>
  41. </constraints>
  42. <color key="tintColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  43. <state key="normal">
  44. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. </state>
  46. <connections>
  47. <action selector="actionButtonLogin:" destination="yj9-jo-WIn" eventType="touchUpInside" id="vFP-SJ-rFq"/>
  48. </connections>
  49. </button>
  50. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Al0-LA-Ndt">
  51. <rect key="frame" x="334" y="388.5" width="20" height="20"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="20" id="IQA-ga-jx5"/>
  54. <constraint firstAttribute="width" constant="20" id="hVA-N5-u88"/>
  55. </constraints>
  56. </imageView>
  57. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="The link to your Nextcloud web interface when you open it in the browser." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PJH-5i-Tkf">
  58. <rect key="frame" x="60" y="438.5" width="294" height="29"/>
  59. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  60. <nil key="textColor"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6tp-bh-Z9k" userLabel="QRCode">
  64. <rect key="frame" x="182" y="567.5" width="50" height="50"/>
  65. <constraints>
  66. <constraint firstAttribute="width" constant="50" id="3hb-Ez-hOz"/>
  67. <constraint firstAttribute="height" constant="50" id="OLT-tb-4Qb"/>
  68. </constraints>
  69. <connections>
  70. <action selector="actionQRCode:" destination="yj9-jo-WIn" eventType="touchUpInside" id="qwL-rG-ead"/>
  71. </connections>
  72. </button>
  73. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5lM-dt-8fM">
  74. <rect key="frame" x="182" y="667.5" width="50" height="50"/>
  75. <constraints>
  76. <constraint firstAttribute="height" constant="50" id="0RD-Gi-CTv"/>
  77. <constraint firstAttribute="width" constant="50" id="NuK-Yo-LoT"/>
  78. </constraints>
  79. <connections>
  80. <action selector="actionCertificate:" destination="yj9-jo-WIn" eventType="touchUpInside" id="Ibx-wC-iEY"/>
  81. </connections>
  82. </button>
  83. </subviews>
  84. <viewLayoutGuide key="safeArea" id="8lf-3Y-f5R"/>
  85. <color key="backgroundColor" white="0.9023259132753424" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. <constraints>
  87. <constraint firstItem="8lf-3Y-f5R" firstAttribute="trailing" secondItem="szn-G7-5sK" secondAttribute="trailing" constant="50" id="24L-p4-zOF"/>
  88. <constraint firstItem="PJH-5i-Tkf" firstAttribute="leading" secondItem="8lf-3Y-f5R" secondAttribute="leading" constant="60" id="3aW-cF-rdF"/>
  89. <constraint firstItem="8lf-3Y-f5R" firstAttribute="trailing" secondItem="HQd-pF-3cE" secondAttribute="trailing" constant="50" id="94K-sw-8AT"/>
  90. <constraint firstItem="6tp-bh-Z9k" firstAttribute="centerX" secondItem="8lf-3Y-f5R" secondAttribute="centerX" id="Apc-1U-CwU"/>
  91. <constraint firstItem="BpI-xK-1SU" firstAttribute="top" secondItem="Bv6-g3-l0M" secondAttribute="centerY" multiplier="0.5" constant="2.5" id="Gkg-up-7eW"/>
  92. <constraint firstItem="8lf-3Y-f5R" firstAttribute="centerX" secondItem="BpI-xK-1SU" secondAttribute="centerX" id="IxG-UI-0vq"/>
  93. <constraint firstItem="6tp-bh-Z9k" firstAttribute="top" secondItem="PJH-5i-Tkf" secondAttribute="bottom" constant="100" id="MZQ-GT-XSM"/>
  94. <constraint firstItem="PJH-5i-Tkf" firstAttribute="top" secondItem="szn-G7-5sK" secondAttribute="bottom" constant="18" id="Vfj-lG-7wT"/>
  95. <constraint firstItem="Al0-LA-Ndt" firstAttribute="centerX" secondItem="HQd-pF-3cE" secondAttribute="centerX" id="Yll-3L-vuj"/>
  96. <constraint firstItem="HQd-pF-3cE" firstAttribute="centerY" secondItem="szn-G7-5sK" secondAttribute="centerY" id="cG8-kL-pdu"/>
  97. <constraint firstItem="Al0-LA-Ndt" firstAttribute="centerY" secondItem="HQd-pF-3cE" secondAttribute="centerY" id="eOF-06-PmZ"/>
  98. <constraint firstItem="5lM-dt-8fM" firstAttribute="top" secondItem="6tp-bh-Z9k" secondAttribute="bottom" constant="50" id="i5K-Jt-epF"/>
  99. <constraint firstItem="szn-G7-5sK" firstAttribute="top" secondItem="BpI-xK-1SU" secondAttribute="bottom" constant="30" id="lWz-Yy-NCO"/>
  100. <constraint firstItem="5lM-dt-8fM" firstAttribute="centerX" secondItem="8lf-3Y-f5R" secondAttribute="centerX" id="mKe-Nn-9dd"/>
  101. <constraint firstItem="szn-G7-5sK" firstAttribute="leading" secondItem="8lf-3Y-f5R" secondAttribute="leading" constant="50" id="uQw-dy-Ga4"/>
  102. <constraint firstItem="8lf-3Y-f5R" firstAttribute="trailing" secondItem="PJH-5i-Tkf" secondAttribute="trailing" constant="60" id="zzV-UD-gRV"/>
  103. </constraints>
  104. </view>
  105. <navigationItem key="navigationItem" id="6v9-Gy-jiv"/>
  106. <connections>
  107. <outlet property="baseUrl" destination="szn-G7-5sK" id="rpO-mh-09O"/>
  108. <outlet property="certificate" destination="5lM-dt-8fM" id="vw6-cH-njm"/>
  109. <outlet property="imageBrand" destination="BpI-xK-1SU" id="0tB-69-RNs"/>
  110. <outlet property="imageBrandConstraintY" destination="Gkg-up-7eW" id="RKw-pM-dZr"/>
  111. <outlet property="loginAddressDetail" destination="PJH-5i-Tkf" id="wBQ-5P-HD4"/>
  112. <outlet property="loginButton" destination="HQd-pF-3cE" id="XOc-dS-QZ8"/>
  113. <outlet property="loginImage" destination="Al0-LA-Ndt" id="dT5-vu-5eD"/>
  114. <outlet property="qrCode" destination="6tp-bh-Z9k" id="Tw3-op-BgR"/>
  115. </connections>
  116. </viewController>
  117. <placeholder placeholderIdentifier="IBFirstResponder" id="dCU-1X-uQw" userLabel="First Responder" sceneMemberID="firstResponder"/>
  118. </objects>
  119. <point key="canvasLocation" x="4498.5507246376819" y="-1211.3839285714284"/>
  120. </scene>
  121. <!--Login Web-->
  122. <scene sceneID="3Rv-vf-u17">
  123. <objects>
  124. <viewController storyboardIdentifier="NCLoginWeb" id="yEb-Ky-35s" customClass="NCLoginWeb" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  125. <view key="view" contentMode="scaleToFill" id="UX5-cJ-bY6">
  126. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  127. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  128. <viewLayoutGuide key="safeArea" id="vqz-4v-cZu"/>
  129. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  130. </view>
  131. </viewController>
  132. <placeholder placeholderIdentifier="IBFirstResponder" id="pz9-Hz-nT9" userLabel="First Responder" sceneMemberID="firstResponder"/>
  133. </objects>
  134. <point key="canvasLocation" x="5421.739130434783" y="-1210.0446428571429"/>
  135. </scene>
  136. </scenes>
  137. </document>