瀏覽代碼

#36 Remove Owncloud login legacy view controller

Marino Faggiana 8 年之前
父節點
當前提交
e11658b136
共有 1 個文件被更改,包括 3 次插入209 次删除
  1. 3 209
      iOSClient/Login/CCLogin.storyboard

+ 3 - 209
iOSClient/Login/CCLogin.storyboard

@@ -27,20 +27,6 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <subviews>
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JUe-yv-Jbr">
-                                <rect key="frame" x="16" y="291" width="300" height="60"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="300" id="BMA-G4-Tnk"/>
-                                    <constraint firstAttribute="height" constant="60" id="MZc-Fv-80y"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" name="Raleway" family="Raleway" pointSize="13"/>
-                                <state key="normal" title="          OwnCloud" image="newAccountOwnCloud">
-                                    <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="handleOwnCloud:" destination="oPR-g1-XDa" eventType="touchUpInside" id="a02-A7-0DI"/>
-                                </connections>
-                            </button>
                             <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="B7w-T7-jkG">
                                 <rect key="frame" x="16" y="359" width="300" height="60"/>
                                 <constraints>
@@ -55,212 +41,26 @@
                                     <action selector="handleNextcloud:" destination="oPR-g1-XDa" eventType="touchUpInside" id="TBv-by-nV6"/>
                                 </connections>
                             </button>
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9yF-S6-HLL">
-                                <rect key="frame" x="16" y="427" width="300" height="60"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="60" id="V04-cr-eRC"/>
-                                    <constraint firstAttribute="width" constant="300" id="w8s-7H-mx2"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" name="Raleway" family="Raleway" pointSize="13"/>
-                                <state key="normal" title="          DropBox" image="newAccountDropBox">
-                                    <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="handleDropBox:" destination="oPR-g1-XDa" eventType="touchUpInside" id="MLp-2N-H6Z"/>
-                                </connections>
-                            </button>
                             <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="cryptocloudlaunchscreen" translatesAutoresizingMaskIntoConstraints="NO" id="Wiv-CB-4tC">
                                 <rect key="frame" x="125" y="60" width="125" height="170"/>
                             </imageView>
                         </subviews>
                         <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                         <constraints>
-                            <constraint firstItem="JUe-yv-Jbr" firstAttribute="leading" secondItem="Z1v-4b-0Rh" secondAttribute="leadingMargin" id="0Ry-b0-pWL"/>
-                            <constraint firstItem="B7w-T7-jkG" firstAttribute="leading" secondItem="JUe-yv-Jbr" secondAttribute="leading" id="2TV-Kq-tRH"/>
                             <constraint firstItem="Wiv-CB-4tC" firstAttribute="centerX" secondItem="Z1v-4b-0Rh" secondAttribute="centerX" id="KP3-6t-E1f"/>
-                            <constraint firstItem="9yF-S6-HLL" firstAttribute="leading" secondItem="Z1v-4b-0Rh" secondAttribute="leadingMargin" id="O2r-JY-DTe"/>
-                            <constraint firstItem="9yF-S6-HLL" firstAttribute="top" secondItem="B7w-T7-jkG" secondAttribute="bottom" constant="8" id="Ugy-7d-Waj"/>
-                            <constraint firstItem="JUe-yv-Jbr" firstAttribute="top" secondItem="B7w-T7-jkG" secondAttribute="bottom" constant="-128" id="Wt7-62-jJo"/>
+                            <constraint firstItem="B7w-T7-jkG" firstAttribute="leading" secondItem="Z1v-4b-0Rh" secondAttribute="leadingMargin" id="eRx-mo-gkj"/>
                             <constraint firstItem="Wiv-CB-4tC" firstAttribute="top" secondItem="xoq-cv-qyX" secondAttribute="bottom" constant="40" id="fj7-a1-J1t"/>
                             <constraint firstItem="B7w-T7-jkG" firstAttribute="top" secondItem="Wiv-CB-4tC" secondAttribute="bottom" constant="129" id="jBU-bo-KkM"/>
                         </constraints>
                     </view>
                     <connections>
                         <outlet property="brand" destination="Wiv-CB-4tC" id="Z0L-4I-2dj"/>
-                        <outlet property="dropbox" destination="9yF-S6-HLL" id="hfK-1g-11m"/>
                         <outlet property="nextcloud" destination="B7w-T7-jkG" id="q36-wu-sBn"/>
-                        <outlet property="owncloud" destination="JUe-yv-Jbr" id="SaK-Ox-D9T"/>
                     </connections>
                 </viewController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="sK9-Ew-RED" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
-            <point key="canvasLocation" x="4268" y="-955"/>
-        </scene>
-        <!--LoginNCOC-->
-        <scene sceneID="hY6-r4-8Lk">
-            <objects>
-                <viewController storyboardIdentifier="CCLoginOwnCloud" id="R0z-L3-spN" customClass="CCLoginNCOC" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="eMh-ck-Znl"/>
-                        <viewControllerLayoutGuide type="bottom" id="2RL-Xp-LTT"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="pn7-Hc-BAf">
-                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-                        <subviews>
-                            <textField opaque="NO" clipsSubviews="YES" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="User" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="H0b-5A-vRO">
-                                <rect key="frame" x="50" y="196" width="319" height="30"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="30" id="j74-kN-LHM"/>
-                                </constraints>
-                                <color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <fontDescription key="fontDescription" type="system" pointSize="13"/>
-                                <textInputTraits key="textInputTraits" autocorrectionType="no" returnKeyType="done"/>
-                            </textField>
-                            <textField opaque="NO" clipsSubviews="YES" tag="3" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Password" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="qsY-HN-NTO">
-                                <rect key="frame" x="50" y="234" width="273" height="30"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="30" id="QVB-Au-F7J"/>
-                                </constraints>
-                                <color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <fontDescription key="fontDescription" type="system" pointSize="13"/>
-                                <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/>
-                            </textField>
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="i3A-7y-R1E">
-                                <rect key="frame" x="-4" y="275" width="383" height="50"/>
-                                <color key="backgroundColor" red="0.91764705879999997" green="0.26274509800000001" blue="0.1058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="50" id="mNO-KB-37L"/>
-                                </constraints>
-                                <color key="tintColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <state key="normal" title="Accedi">
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="handleButtonLogin:" destination="R0z-L3-spN" eventType="touchUpInside" id="sO2-a3-Dsu"/>
-                                </connections>
-                            </button>
-                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="baseurl" translatesAutoresizingMaskIntoConstraints="NO" id="nzJ-WD-LS3">
-                                <rect key="frame" x="7" y="160" width="25" height="25"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="25" id="VGh-jJ-CU2"/>
-                                    <constraint firstAttribute="height" constant="25" id="lyd-V5-5Dd"/>
-                                </constraints>
-                            </imageView>
-                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user" translatesAutoresizingMaskIntoConstraints="NO" id="Epv-G7-WxY">
-                                <rect key="frame" x="7" y="198" width="25" height="25"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="25" id="CI9-u8-Q4w"/>
-                                    <constraint firstAttribute="height" constant="25" id="wJz-Kg-ysv"/>
-                                </constraints>
-                            </imageView>
-                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="password" translatesAutoresizingMaskIntoConstraints="NO" id="dHJ-as-sqM">
-                                <rect key="frame" x="7" y="236" width="25" height="25"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="25" id="ZvH-2J-kIR"/>
-                                    <constraint firstAttribute="width" constant="25" id="rCR-hj-Zey"/>
-                                </constraints>
-                            </imageView>
-                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ImageLoginOwncloud" translatesAutoresizingMaskIntoConstraints="NO" id="4hl-hN-WBB">
-                                <rect key="frame" x="112" y="30" width="167" height="120"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="167" id="8QJ-g2-FIN"/>
-                                    <constraint firstAttribute="height" constant="120" id="Cbz-Gc-3R9"/>
-                                </constraints>
-                            </imageView>
-                            <textField opaque="NO" clipsSubviews="YES" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="https://owncloud.yourdomain.com" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="D0R-AM-DFg">
-                                <rect key="frame" x="50" y="158" width="273" height="30"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="30" id="cvn-kn-gsR"/>
-                                </constraints>
-                                <color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <fontDescription key="fontDescription" type="system" pointSize="13"/>
-                                <textInputTraits key="textInputTraits" autocorrectionType="no" returnKeyType="done"/>
-                                <connections>
-                                    <action selector="handlebaseUrlchange:" destination="R0z-L3-spN" eventType="editingDidEnd" id="gMK-Ol-O4T"/>
-                                </connections>
-                            </textField>
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BOk-cz-Mdy">
-                                <rect key="frame" x="309" y="28" width="54" height="30"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="54" id="RRe-BZ-9jz"/>
-                                </constraints>
-                                <state key="normal" title="Annulla">
-                                    <color key="titleColor" red="0.91764705879999997" green="0.26274509800000001" blue="0.1058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="handleAnnulla:" destination="R0z-L3-spN" eventType="touchUpInside" id="6gV-dM-lnu"/>
-                                </connections>
-                            </button>
-                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jA7-8D-Nih" userLabel="loadingBaseUrl">
-                                <rect key="frame" x="338" y="160" width="25" height="25"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="25" id="npn-xp-twa"/>
-                                    <constraint firstAttribute="width" constant="25" id="yfj-WE-ntb"/>
-                                </constraints>
-                            </imageView>
-                            <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qgh-Ys-Egc">
-                                <rect key="frame" x="338" y="236" width="25" height="25"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="25" id="Qzi-BS-FCX"/>
-                                    <constraint firstAttribute="height" constant="25" id="glI-8o-5GA"/>
-                                </constraints>
-                                <state key="normal" image="visiblePassword" backgroundImage="visiblePassword"/>
-                                <connections>
-                                    <action selector="handleToggleVisiblePassword:" destination="R0z-L3-spN" eventType="touchUpInside" id="lJI-TN-1Jd"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="H0b-5A-vRO" firstAttribute="top" secondItem="D0R-AM-DFg" secondAttribute="bottom" constant="8" id="0xN-d5-XKi"/>
-                            <constraint firstItem="qgh-Ys-Egc" firstAttribute="leading" secondItem="jA7-8D-Nih" secondAttribute="leading" id="59J-e8-0qV"/>
-                            <constraint firstItem="qsY-HN-NTO" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="34" id="6EI-yF-ALf"/>
-                            <constraint firstItem="H0b-5A-vRO" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="34" id="8e7-8s-mrP"/>
-                            <constraint firstItem="i3A-7y-R1E" firstAttribute="trailing" secondItem="pn7-Hc-BAf" secondAttribute="trailingMargin" constant="20" id="9lr-wd-Q8L"/>
-                            <constraint firstItem="dHJ-as-sqM" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="-9" id="AdM-FI-hC2"/>
-                            <constraint firstItem="i3A-7y-R1E" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="-20" id="BTR-w5-eOG"/>
-                            <constraint firstItem="dHJ-as-sqM" firstAttribute="top" secondItem="Epv-G7-WxY" secondAttribute="bottom" constant="13" id="Ccj-cl-l2J"/>
-                            <constraint firstItem="D0R-AM-DFg" firstAttribute="top" secondItem="eMh-ck-Znl" secondAttribute="bottom" constant="138" id="EvP-HX-gHx"/>
-                            <constraint firstAttribute="trailingMargin" secondItem="H0b-5A-vRO" secondAttribute="trailing" constant="-10" id="Foo-yy-eNF"/>
-                            <constraint firstAttribute="trailingMargin" secondItem="jA7-8D-Nih" secondAttribute="trailing" constant="-4" id="Gxd-wW-ySt"/>
-                            <constraint firstItem="D0R-AM-DFg" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="34" id="Jjk-CD-Mlf"/>
-                            <constraint firstItem="H0b-5A-vRO" firstAttribute="centerY" secondItem="Epv-G7-WxY" secondAttribute="centerY" constant="0.5" id="L3U-uQ-1YM"/>
-                            <constraint firstItem="Epv-G7-WxY" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="-9" id="NBj-8r-VIT"/>
-                            <constraint firstItem="D0R-AM-DFg" firstAttribute="centerY" secondItem="nzJ-WD-LS3" secondAttribute="centerY" constant="0.5" id="Ogq-tq-210"/>
-                            <constraint firstItem="jA7-8D-Nih" firstAttribute="leading" secondItem="D0R-AM-DFg" secondAttribute="trailing" constant="15" id="PtF-fc-2hL"/>
-                            <constraint firstAttribute="centerX" secondItem="4hl-hN-WBB" secondAttribute="centerX" constant="-8" id="Q6m-6L-yBG"/>
-                            <constraint firstItem="BOk-cz-Mdy" firstAttribute="trailing" secondItem="pn7-Hc-BAf" secondAttribute="trailingMargin" constant="4" id="S2o-f9-JcL"/>
-                            <constraint firstItem="nzJ-WD-LS3" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="-9" id="WOD-MQ-z8M"/>
-                            <constraint firstItem="qgh-Ys-Egc" firstAttribute="top" secondItem="dHJ-as-sqM" secondAttribute="top" id="YAy-wa-eMi"/>
-                            <constraint firstItem="qsY-HN-NTO" firstAttribute="top" secondItem="H0b-5A-vRO" secondAttribute="bottom" constant="8" id="aPe-nJ-kFS"/>
-                            <constraint firstItem="4hl-hN-WBB" firstAttribute="leading" secondItem="pn7-Hc-BAf" secondAttribute="leadingMargin" constant="209" id="bqp-Bb-Kq4"/>
-                            <constraint firstItem="4hl-hN-WBB" firstAttribute="top" secondItem="pn7-Hc-BAf" secondAttribute="top" constant="30" id="cb1-I0-dm2"/>
-                            <constraint firstItem="BOk-cz-Mdy" firstAttribute="top" secondItem="eMh-ck-Znl" secondAttribute="bottom" constant="8" id="jzI-r0-o1u"/>
-                            <constraint firstItem="i3A-7y-R1E" firstAttribute="top" secondItem="qsY-HN-NTO" secondAttribute="bottom" constant="11" id="pA3-WH-rBI"/>
-                            <constraint firstAttribute="trailingMargin" secondItem="qsY-HN-NTO" secondAttribute="trailing" constant="36" id="qsk-wS-ykP"/>
-                            <constraint firstItem="jA7-8D-Nih" firstAttribute="top" secondItem="eMh-ck-Znl" secondAttribute="bottom" constant="140" id="zLF-Pj-AF0"/>
-                        </constraints>
-                        <variation key="default">
-                            <mask key="constraints">
-                                <exclude reference="bqp-Bb-Kq4"/>
-                            </mask>
-                        </variation>
-                    </view>
-                    <connections>
-                        <outlet property="annulla" destination="BOk-cz-Mdy" id="wzh-D9-0J1"/>
-                        <outlet property="baseUrl" destination="D0R-AM-DFg" id="92H-lh-vQS"/>
-                        <outlet property="loadingBaseUrl" destination="jA7-8D-Nih" id="7Wg-jz-Oy0"/>
-                        <outlet property="login" destination="i3A-7y-R1E" id="Twm-R4-Oa0"/>
-                        <outlet property="password" destination="qsY-HN-NTO" id="iBK-JM-qpJ"/>
-                        <outlet property="toggleVisiblePassword" destination="qgh-Ys-Egc" id="dua-Tg-yl5"/>
-                        <outlet property="user" destination="H0b-5A-vRO" id="n8R-Sa-g8o"/>
-                    </connections>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="UpX-iO-TqU" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="3622" y="-955"/>
+            <point key="canvasLocation" x="3071" y="-981"/>
         </scene>
         <!--LoginNCOC-->
         <scene sceneID="fVe-zF-WhZ">
@@ -423,21 +223,15 @@
                 </viewController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="dCU-1X-uQw" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
-            <point key="canvasLocation" x="2922" y="-955"/>
+            <point key="canvasLocation" x="3772" y="-982"/>
         </scene>
     </scenes>
     <resources>
         <image name="ImageLoginNextcloud" width="300" height="200"/>
-        <image name="ImageLoginOwncloud" width="300" height="200"/>
-        <image name="baseurl" width="25" height="25"/>
         <image name="baseurlNextcloud" width="25" height="25"/>
         <image name="cryptocloudlaunchscreen" width="125" height="170"/>
-        <image name="newAccountDropBox" width="50" height="50"/>
         <image name="newAccountNextcloud" width="50" height="50"/>
-        <image name="newAccountOwnCloud" width="50" height="50"/>
-        <image name="password" width="25" height="25"/>
         <image name="passwordNextcloud" width="25" height="25"/>
-        <image name="user" width="25" height="25"/>
         <image name="userNextcloud" width="25" height="25"/>
         <image name="visiblePassword" width="25" height="25"/>
     </resources>