forked from strongbox-password-safe/Strongbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebDAVConfigurationViewController.xib
219 lines (219 loc) · 24.5 KB
/
WebDAVConfigurationViewController.xib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina5_9" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="WebDAVConfigurationViewController">
<connections>
<outlet property="buttonConnect" destination="MEL-r7-125" id="VxW-pz-F20"/>
<outlet property="labelValidation" destination="bbf-Kb-K6e" id="JEz-Sv-ZcP"/>
<outlet property="switchAllowUntrusted" destination="aDW-Ay-EYK" id="n4a-M9-9sG"/>
<outlet property="textFieldPassword" destination="89o-XP-mDN" id="9Wk-PZ-7Yk"/>
<outlet property="textFieldRootUrl" destination="1X2-Ze-i4c" id="bFN-rb-zmm"/>
<outlet property="textFieldUsername" destination="hMv-mK-ZXD" id="S1d-Gb-Rhb"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="D0V-gZ-0dw">
<rect key="frame" x="0.0" y="44" width="375" height="734"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GmM-QO-vXp" userLabel="Container">
<rect key="frame" x="0.0" y="0.0" width="375" height="382.33333333333331"/>
<subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="89o-XP-mDN">
<rect key="frame" x="124" y="196" width="231" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="XvW-qu-fiw"/>
</constraints>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" secureTextEntry="YES" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/>
</textField>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="245" verticalHuggingPriority="251" text="Please enter your WebDAV connection details" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PTi-pD-Alf" userLabel="Tip">
<rect key="frame" x="20" y="26" width="335" height="37"/>
<constraints>
<constraint firstAttribute="height" constant="37" id="GjO-7R-Mhv"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Password" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WIe-1y-pp1">
<rect key="frame" x="20" y="200.66666666666666" width="90" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="90" id="Dwc-6v-uBo"/>
<constraint firstAttribute="height" constant="21" id="ZdN-Wo-BNv"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Username" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xpd-ho-bG5">
<rect key="frame" x="20" y="145.66666666666666" width="90" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="90" id="T9d-Jl-HgC"/>
<constraint firstAttribute="height" constant="21" id="xnl-iG-pwq"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="https://" borderStyle="roundedRect" placeholder="https://my.server.com" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="1X2-Ze-i4c">
<rect key="frame" x="124" y="86" width="231" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="udU-Wb-xBL"/>
</constraints>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardType="URL" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no" textContentType="url"/>
<connections>
<action selector="onTextFieldChanged:" destination="-1" eventType="editingChanged" id="1Zl-fB-NPe"/>
</connections>
</textField>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="user" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hMv-mK-ZXD">
<rect key="frame" x="124" y="141" width="231" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="O4Q-kI-MGr"/>
</constraints>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/>
</textField>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="WebDAV Configuration" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uqe-yX-hwB">
<rect key="frame" x="20" y="0.0" width="335" height="21"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Root URL" textAlignment="right" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gag-LL-zkW">
<rect key="frame" x="20" y="90.666666666666657" width="90" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="FNb-bR-aNg"/>
<constraint firstAttribute="width" constant="90" id="Wnc-xz-Woi"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MEL-r7-125">
<rect key="frame" x="281" y="297" width="66" height="32"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
<state key="normal" title="Connect"/>
<connections>
<action selector="onConnect:" destination="-1" eventType="touchUpInside" id="m3a-mC-teS"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FEy-UQ-2WD">
<rect key="frame" x="213" y="298.33333333333331" width="48" height="30"/>
<state key="normal" title="Cancel"/>
<connections>
<action selector="onCancel:" destination="-1" eventType="touchUpInside" id="H4b-qm-Wns"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="245" verticalHuggingPriority="251" text="*Password is stored securely in the iOS Keychain" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3iH-c3-9iv" userLabel="Security Note">
<rect key="frame" x="20" y="359.33333333333331" width="335" height="13.333333333333314"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="245" verticalHuggingPriority="251" text="* Validation" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bbf-Kb-K6e" userLabel="Validation">
<rect key="frame" x="20" y="337" width="335" height="14.333333333333314"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="1" green="0.14913141730000001" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="aDW-Ay-EYK">
<rect key="frame" x="306" y="246" width="51" height="31"/>
</switch>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Allow Untrusted Certificate" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GnF-Py-IGa">
<rect key="frame" x="91" y="251" width="207" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="NB: URL for folder not specific database file" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C27-hh-Ir4">
<rect key="frame" x="106" y="67" width="249" height="15"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="GnF-Py-IGa" firstAttribute="centerY" secondItem="aDW-Ay-EYK" secondAttribute="centerY" id="0Z0-w4-7sR"/>
<constraint firstItem="WIe-1y-pp1" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="2b6-xZ-h56"/>
<constraint firstAttribute="trailing" secondItem="3iH-c3-9iv" secondAttribute="trailing" constant="20" id="3SW-iC-AU5"/>
<constraint firstItem="3iH-c3-9iv" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="9cm-7c-ZFf"/>
<constraint firstAttribute="trailing" secondItem="PTi-pD-Alf" secondAttribute="trailing" constant="20" id="BA5-0M-4gg"/>
<constraint firstItem="MEL-r7-125" firstAttribute="top" secondItem="aDW-Ay-EYK" secondAttribute="bottom" constant="20" id="BwA-RS-KFD"/>
<constraint firstItem="hMv-mK-ZXD" firstAttribute="leading" secondItem="Xpd-ho-bG5" secondAttribute="trailing" constant="14" id="CMH-hs-OjR"/>
<constraint firstItem="PTi-pD-Alf" firstAttribute="top" secondItem="uqe-yX-hwB" secondAttribute="bottom" constant="5" id="CTe-hT-EQI"/>
<constraint firstItem="bbf-Kb-K6e" firstAttribute="top" secondItem="MEL-r7-125" secondAttribute="bottom" constant="8" id="CfB-Ct-0Ok"/>
<constraint firstAttribute="trailing" secondItem="aDW-Ay-EYK" secondAttribute="trailing" constant="20" id="Cp6-kH-T3c"/>
<constraint firstItem="gag-LL-zkW" firstAttribute="firstBaseline" secondItem="1X2-Ze-i4c" secondAttribute="firstBaseline" id="D8N-YS-uc1"/>
<constraint firstItem="Xpd-ho-bG5" firstAttribute="top" secondItem="gag-LL-zkW" secondAttribute="bottom" constant="34" id="HcE-zt-Ie9"/>
<constraint firstItem="C27-hh-Ir4" firstAttribute="top" secondItem="PTi-pD-Alf" secondAttribute="bottom" constant="4" id="JMe-SJ-R3y"/>
<constraint firstItem="MEL-r7-125" firstAttribute="trailing" secondItem="GmM-QO-vXp" secondAttribute="trailingMargin" constant="-20" id="MMF-fi-tUd"/>
<constraint firstItem="bbf-Kb-K6e" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="P2V-bw-Poe"/>
<constraint firstItem="1X2-Ze-i4c" firstAttribute="top" secondItem="C27-hh-Ir4" secondAttribute="bottom" constant="4" id="PUe-lw-oFA"/>
<constraint firstItem="aDW-Ay-EYK" firstAttribute="leading" secondItem="GnF-Py-IGa" secondAttribute="trailing" constant="8" id="Rit-dr-xdh"/>
<constraint firstItem="Xpd-ho-bG5" firstAttribute="firstBaseline" secondItem="hMv-mK-ZXD" secondAttribute="firstBaseline" id="Vw1-zY-Lgn"/>
<constraint firstItem="PTi-pD-Alf" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="Y5c-6U-YQT"/>
<constraint firstAttribute="trailing" secondItem="bbf-Kb-K6e" secondAttribute="trailing" constant="20" id="YXw-5D-OQw"/>
<constraint firstAttribute="bottom" secondItem="3iH-c3-9iv" secondAttribute="bottom" constant="9.5" id="ZY7-JH-1Bc"/>
<constraint firstItem="gag-LL-zkW" firstAttribute="centerY" secondItem="1X2-Ze-i4c" secondAttribute="centerY" id="bFj-oG-JBM"/>
<constraint firstItem="uqe-yX-hwB" firstAttribute="top" secondItem="GmM-QO-vXp" secondAttribute="top" id="cqK-jB-KZz"/>
<constraint firstItem="aDW-Ay-EYK" firstAttribute="top" secondItem="89o-XP-mDN" secondAttribute="bottom" constant="20" id="eIB-fa-mE7"/>
<constraint firstItem="uqe-yX-hwB" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="gms-GW-GyZ"/>
<constraint firstItem="WIe-1y-pp1" firstAttribute="firstBaseline" secondItem="89o-XP-mDN" secondAttribute="firstBaseline" id="hCJ-KG-thv"/>
<constraint firstItem="3iH-c3-9iv" firstAttribute="top" secondItem="bbf-Kb-K6e" secondAttribute="bottom" constant="8" id="hvh-p2-aiz"/>
<constraint firstItem="MEL-r7-125" firstAttribute="leading" secondItem="FEy-UQ-2WD" secondAttribute="trailing" constant="20" id="iEm-Yl-rqv"/>
<constraint firstAttribute="trailing" secondItem="1X2-Ze-i4c" secondAttribute="trailing" constant="20" id="jYr-Zf-gHW"/>
<constraint firstAttribute="trailing" secondItem="uqe-yX-hwB" secondAttribute="trailing" constant="20" id="jbT-cR-hkc"/>
<constraint firstItem="1X2-Ze-i4c" firstAttribute="leading" secondItem="gag-LL-zkW" secondAttribute="trailing" constant="14" id="lZv-id-n4b"/>
<constraint firstAttribute="trailing" secondItem="hMv-mK-ZXD" secondAttribute="trailing" constant="20" id="lpo-K8-1AG"/>
<constraint firstAttribute="trailing" secondItem="89o-XP-mDN" secondAttribute="trailing" constant="20" id="mhX-dF-0sI"/>
<constraint firstItem="89o-XP-mDN" firstAttribute="leading" secondItem="WIe-1y-pp1" secondAttribute="trailing" constant="14" id="nKH-Lj-SNK"/>
<constraint firstAttribute="trailing" secondItem="C27-hh-Ir4" secondAttribute="trailing" constant="20" id="oHd-xM-DVw"/>
<constraint firstItem="WIe-1y-pp1" firstAttribute="top" secondItem="Xpd-ho-bG5" secondAttribute="bottom" constant="34" id="tBP-08-peA"/>
<constraint firstItem="Xpd-ho-bG5" firstAttribute="centerY" secondItem="hMv-mK-ZXD" secondAttribute="centerY" id="v9a-cl-BlD"/>
<constraint firstItem="Xpd-ho-bG5" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="wDD-Jc-tmh"/>
<constraint firstItem="WIe-1y-pp1" firstAttribute="centerY" secondItem="89o-XP-mDN" secondAttribute="centerY" id="xuX-lN-H9q"/>
<constraint firstItem="FEy-UQ-2WD" firstAttribute="firstBaseline" secondItem="MEL-r7-125" secondAttribute="firstBaseline" id="zgt-GG-fOu"/>
<constraint firstItem="gag-LL-zkW" firstAttribute="leading" secondItem="GmM-QO-vXp" secondAttribute="leading" constant="20" id="zu9-yO-X2I"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="GmM-QO-vXp" secondAttribute="trailing" id="1o3-Fw-Fth"/>
<constraint firstItem="GmM-QO-vXp" firstAttribute="leading" secondItem="D0V-gZ-0dw" secondAttribute="leading" id="Ecs-O8-NH9"/>
<constraint firstItem="GmM-QO-vXp" firstAttribute="centerX" secondItem="D0V-gZ-0dw" secondAttribute="centerX" id="O70-j5-qgM"/>
<constraint firstItem="GmM-QO-vXp" firstAttribute="top" secondItem="D0V-gZ-0dw" secondAttribute="top" id="Wzt-vw-jhp"/>
<constraint firstAttribute="bottom" secondItem="GmM-QO-vXp" secondAttribute="bottom" constant="424" id="gVt-rp-wic"/>
</constraints>
<viewLayoutGuide key="safeArea" id="DjE-C8-yg1"/>
</scrollView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="D0V-gZ-0dw" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="0oy-OQ-BjZ"/>
<constraint firstItem="D0V-gZ-0dw" firstAttribute="bottom" secondItem="Q5M-cg-NOt" secondAttribute="bottom" id="Raf-a0-8y3"/>
<constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="D0V-gZ-0dw" secondAttribute="trailing" id="Tun-et-7PE"/>
<constraint firstItem="Q5M-cg-NOt" firstAttribute="top" secondItem="D0V-gZ-0dw" secondAttribute="top" id="w8L-pL-rwk"/>
</constraints>
<viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
<point key="canvasLocation" x="31.884057971014496" y="32.8125"/>
</view>
</objects>
</document>