NCLogin.storyboard 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" 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="18093"/>
  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="194" 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="344" 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="334" y="356" width="20" height="20"/>
  37. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="20" id="3yh-bo-Bzr"/>
  40. <constraint firstAttribute="width" constant="20" 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" image="arrow.right">
  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. <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">
  51. <rect key="frame" x="60" y="406" width="294" height="29"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  53. <nil key="textColor"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6tp-bh-Z9k" userLabel="QRCode">
  57. <rect key="frame" x="182" y="535" width="50" height="50"/>
  58. <constraints>
  59. <constraint firstAttribute="width" constant="50" id="3hb-Ez-hOz"/>
  60. <constraint firstAttribute="height" constant="50" id="OLT-tb-4Qb"/>
  61. </constraints>
  62. <connections>
  63. <action selector="actionQRCode:" destination="yj9-jo-WIn" eventType="touchUpInside" id="qwL-rG-ead"/>
  64. </connections>
  65. </button>
  66. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5lM-dt-8fM">
  67. <rect key="frame" x="182" y="635" width="50" height="50"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="50" id="0RD-Gi-CTv"/>
  70. <constraint firstAttribute="width" constant="50" id="NuK-Yo-LoT"/>
  71. </constraints>
  72. <connections>
  73. <action selector="actionCertificate:" destination="yj9-jo-WIn" eventType="touchUpInside" id="Ibx-wC-iEY"/>
  74. </connections>
  75. </button>
  76. </subviews>
  77. <viewLayoutGuide key="safeArea" id="8lf-3Y-f5R"/>
  78. <color key="backgroundColor" white="0.9023259132753424" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. <constraints>
  80. <constraint firstItem="8lf-3Y-f5R" firstAttribute="trailing" secondItem="szn-G7-5sK" secondAttribute="trailing" constant="50" id="24L-p4-zOF"/>
  81. <constraint firstItem="PJH-5i-Tkf" firstAttribute="leading" secondItem="8lf-3Y-f5R" secondAttribute="leading" constant="60" id="3aW-cF-rdF"/>
  82. <constraint firstItem="8lf-3Y-f5R" firstAttribute="trailing" secondItem="HQd-pF-3cE" secondAttribute="trailing" constant="60" id="94K-sw-8AT"/>
  83. <constraint firstItem="6tp-bh-Z9k" firstAttribute="centerX" secondItem="8lf-3Y-f5R" secondAttribute="centerX" id="Apc-1U-CwU"/>
  84. <constraint firstItem="BpI-xK-1SU" firstAttribute="top" secondItem="8lf-3Y-f5R" secondAttribute="top" constant="150" id="Gkg-up-7eW"/>
  85. <constraint firstItem="8lf-3Y-f5R" firstAttribute="centerX" secondItem="BpI-xK-1SU" secondAttribute="centerX" id="IxG-UI-0vq"/>
  86. <constraint firstItem="6tp-bh-Z9k" firstAttribute="top" secondItem="PJH-5i-Tkf" secondAttribute="bottom" constant="100" id="MZQ-GT-XSM"/>
  87. <constraint firstItem="PJH-5i-Tkf" firstAttribute="top" secondItem="szn-G7-5sK" secondAttribute="bottom" constant="18" id="Vfj-lG-7wT"/>
  88. <constraint firstItem="HQd-pF-3cE" firstAttribute="centerY" secondItem="szn-G7-5sK" secondAttribute="centerY" id="cG8-kL-pdu"/>
  89. <constraint firstItem="5lM-dt-8fM" firstAttribute="top" secondItem="6tp-bh-Z9k" secondAttribute="bottom" constant="50" id="i5K-Jt-epF"/>
  90. <constraint firstItem="szn-G7-5sK" firstAttribute="top" secondItem="BpI-xK-1SU" secondAttribute="bottom" constant="30" id="lWz-Yy-NCO"/>
  91. <constraint firstItem="5lM-dt-8fM" firstAttribute="centerX" secondItem="8lf-3Y-f5R" secondAttribute="centerX" id="mKe-Nn-9dd"/>
  92. <constraint firstItem="szn-G7-5sK" firstAttribute="leading" secondItem="8lf-3Y-f5R" secondAttribute="leading" constant="50" id="uQw-dy-Ga4"/>
  93. <constraint firstItem="8lf-3Y-f5R" firstAttribute="trailing" secondItem="PJH-5i-Tkf" secondAttribute="trailing" constant="60" id="zzV-UD-gRV"/>
  94. </constraints>
  95. </view>
  96. <navigationItem key="navigationItem" id="6v9-Gy-jiv"/>
  97. <connections>
  98. <outlet property="baseUrl" destination="szn-G7-5sK" id="rpO-mh-09O"/>
  99. <outlet property="certificate" destination="5lM-dt-8fM" id="vw6-cH-njm"/>
  100. <outlet property="imageBrand" destination="BpI-xK-1SU" id="0tB-69-RNs"/>
  101. <outlet property="loginAddressDetail" destination="PJH-5i-Tkf" id="wBQ-5P-HD4"/>
  102. <outlet property="loginButton" destination="HQd-pF-3cE" id="XOc-dS-QZ8"/>
  103. <outlet property="qrCode" destination="6tp-bh-Z9k" id="Tw3-op-BgR"/>
  104. </connections>
  105. </viewController>
  106. <placeholder placeholderIdentifier="IBFirstResponder" id="dCU-1X-uQw" userLabel="First Responder" sceneMemberID="firstResponder"/>
  107. </objects>
  108. <point key="canvasLocation" x="4498.5507246376819" y="-1211.3839285714284"/>
  109. </scene>
  110. <!--Login Web-->
  111. <scene sceneID="3Rv-vf-u17">
  112. <objects>
  113. <viewController storyboardIdentifier="NCLoginWeb" id="yEb-Ky-35s" customClass="NCLoginWeb" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  114. <view key="view" contentMode="scaleToFill" id="UX5-cJ-bY6">
  115. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  116. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  117. <viewLayoutGuide key="safeArea" id="vqz-4v-cZu"/>
  118. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. </view>
  120. </viewController>
  121. <placeholder placeholderIdentifier="IBFirstResponder" id="pz9-Hz-nT9" userLabel="First Responder" sceneMemberID="firstResponder"/>
  122. </objects>
  123. <point key="canvasLocation" x="5421.739130434783" y="-1210.0446428571429"/>
  124. </scene>
  125. <!--App Config View-->
  126. <scene sceneID="BeF-ke-GzC">
  127. <objects>
  128. <viewController storyboardIdentifier="NCAppConfigView" id="Ak5-da-5qm" customClass="NCAppConfigView" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  129. <view key="view" contentMode="scaleToFill" id="lrn-aT-NFz">
  130. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  131. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  132. <subviews>
  133. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo" translatesAutoresizingMaskIntoConstraints="NO" id="uEr-qx-rv2">
  134. <rect key="frame" x="79" y="389" width="256" height="128"/>
  135. </imageView>
  136. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="898-PT-7ao">
  137. <rect key="frame" x="10" y="94" width="394" height="20.5"/>
  138. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  139. <nil key="textColor"/>
  140. <nil key="highlightedColor"/>
  141. </label>
  142. </subviews>
  143. <viewLayoutGuide key="safeArea" id="x9O-1Y-Id9"/>
  144. <color key="backgroundColor" red="0.0" green="0.50935935970000001" blue="0.78929150100000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  145. <constraints>
  146. <constraint firstItem="x9O-1Y-Id9" firstAttribute="trailing" secondItem="898-PT-7ao" secondAttribute="trailing" constant="10" id="6MT-gN-3XS"/>
  147. <constraint firstItem="898-PT-7ao" firstAttribute="top" secondItem="x9O-1Y-Id9" secondAttribute="top" constant="50" id="Iks-eT-vBH"/>
  148. <constraint firstItem="898-PT-7ao" firstAttribute="leading" secondItem="x9O-1Y-Id9" secondAttribute="leading" constant="10" id="S9I-wm-Vx0"/>
  149. <constraint firstItem="uEr-qx-rv2" firstAttribute="centerX" secondItem="x9O-1Y-Id9" secondAttribute="centerX" id="aL5-QX-ULn"/>
  150. <constraint firstItem="uEr-qx-rv2" firstAttribute="centerY" secondItem="x9O-1Y-Id9" secondAttribute="centerY" id="rrc-Gc-BmU"/>
  151. </constraints>
  152. </view>
  153. <connections>
  154. <outlet property="logoImage" destination="uEr-qx-rv2" id="g4x-Pf-mpw"/>
  155. <outlet property="titleLabel" destination="898-PT-7ao" id="DjP-TA-Zqd"/>
  156. </connections>
  157. </viewController>
  158. <placeholder placeholderIdentifier="IBFirstResponder" id="JhO-p5-bOq" userLabel="First Responder" sceneMemberID="firstResponder"/>
  159. </objects>
  160. <point key="canvasLocation" x="6386.9565217391309" y="-1214.0625"/>
  161. </scene>
  162. </scenes>
  163. <resources>
  164. <image name="arrow.right" width="24" height="24"/>
  165. <image name="logo" width="256" height="128"/>
  166. </resources>
  167. </document>