blob: 87d169887f6b23fdf1b837a6946775759d20692c [file] [log] [blame]
aviau6aeb4852016-08-18 16:01:09 -04001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
4 <template class="AccountDevicesTab" parent="GtkBox">
5 <child>
6 <object class="GtkStack" id="stack_account_devices">
7 <property name="visible">True</property>
8 <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property>
9 <property name="transition-duration">300</property>
10 <!-- Manage devices view -->
11 <child>
12 <object class="GtkBox" id="manage_devices">
13 <property name="orientation">vertical</property>
14 <property name="spacing">15</property>
15 <child>
16 <object class="GtkLabel">
17 <property name="visible">True</property>
18 <property name="can_focus">False</property>
19 <property name="label" translatable="yes">My Device ID:</property>
20 <attributes>
21 <attribute name="weight" value="bold"/>
22 </attributes>
23 <property name="use_markup">True</property>
24 </object>
25 </child>
26 <child>
27 <object class="GtkLabel" id="label_device_id">
28 <property name="visible">True</property>
29 <property name="can_focus">True</property>
30 <property name="selectable">True</property>
31 <property name="label">DEVICE_ID</property>
32 </object>
33 </child>
34 <child>
35 <object class="GtkLabel">
36 <property name="visible">True</property>
37 <property name="can_focus">False</property>
38 <property name="label" translatable="yes">Devices</property>
39 <attributes>
40 <attribute name="weight" value="bold"/>
41 </attributes>
42 <property name="use_markup">True</property>
43 </object>
44 </child>
45 <child>
46 <object class="GtkScrolledWindow">
47 <property name="visible">True</property>
48 <property name="can_focus">True</property>
49 <property name="shadow_type">in</property>
50 <property name="min-content-height">225</property>
51 <property name="hscrollbar_policy">never</property>
52 <child>
53 <object class="GtkTreeView" id="treeview_devices">
54 <property name="visible">True</property>
55 <property name="can_focus">True</property>
56 </object>
57 </child>
58 </object>
59 </child>
60 <child>
61 <object class="GtkButton" id="button_add_device">
62 <property name="halign">center</property>
63 <property name="visible">True</property>
64 <property name="label" translatable="yes">Add device</property>
65 </object>
66 </child>
67 </object>
68 </child>
69 <!-- End Manage devices view -->
70 <!-- Add device view -->
71 <child>
72 <object class="GtkBox" id="add_device">
73 <property name="orientation">vertical</property>
74 <property name="spacing">15</property>
75 <!-- Title Row -->
76 <child>
77 <object class="GtkLabel" id="label_devices">
78 <property name="visible">True</property>
79 <property name="can_focus">False</property>
80 <property name="label" translatable="yes">Add New Device</property>
81 <attributes>
82 <attribute name="weight" value="bold"/>
83 </attributes>
84 <property name="use_markup">True</property>
85 </object>
86 </child>
87 <!-- Explaination row -->
88 <child>
89 <object class="GtkLabel" id="label_explaination">
90 <property name="visible">True</property>
91 <property name="halign">center</property>
92 <property name="max-width-chars">80</property>
93 <property name="can_focus">False</property>
94 <property name="use_markup">True</property>
95 <property name="label" translatable="yes">To add a new device to your Ring account, you export your account on the Ring. This will generate a pin that must be entered on your new device within 5 minutes of its generation.</property>
96 <property name="wrap">True</property>
97 </object>
98 </child>
99 <!-- End of Explaination row -->
100 <!-- Password entry -->
101 <child>
102 <object class="GtkLabel">
103 <property name="visible">True</property>
104 <property name="label" translatable="yes">Password (required):</property>
105 </object>
106 </child>
107 <child>
108 <object class="GtkEntry" id="entry_password">
109 <property name="halign">center</property>
110 <property name="width-chars">40</property>
111 <property name="visible">True</property>
112 <property name="visibility">False</property>
113 <property name="primary_icon_stock">gtk-dialog-authentication</property>
114 <property name="input_purpose">password</property>
115 <property name="tooltip-text" translatable="yes">Enter archive password</property>
116 </object>
117 <packing>
118 <property name="expand">False</property>
119 <property name="fill">False</property>
120 </packing>
121 </child>
122 <!-- End of password entry row -->
123 <!-- Cancel and export on ring buttons -->
124 <child>
125 <object class="GtkButtonBox" id="buttonbox_confirm">
126 <property name="visible">True</property>
127 <property name="layout-style">spread</property>
128 <property name="spacing">10</property>
129 <child>
130 <object class="GtkButton" id="button_add_device_cancel">
131 <property name="visible">True</property>
132 <property name="label" translatable="yes">Cancel</property>
133 </object>
134 </child>
135 <child>
136 <object class="GtkButton" id="button_export_on_the_ring">
137 <property name="visible">True</property>
138 <property name="label" translatable="yes">Export on the Ring</property>
139 </object>
140 </child>
141 </object>
142 </child>
143 <!-- end Cancel and Generate pin buttons -->
144 </object>
145 </child>
146 <!-- End add device view -->
147 <!-- Generating pin spinner -->
148 <child>
149 <object class="GtkBox" id="vbox_generating_pin_spinner">
150 <property name="valign">center</property>
151 <property name="border_width">10</property>
152 <property name="orientation">vertical</property>
153 <property name="spacing">15</property>
154 <child>
155 <object class="GtkLabel">
156 <property name="can_focus">False</property>
157 <property name="label" translatable="yes">Exporting account on the Ring...</property>
158 </object>
159 </child>
160 <child>
161 <object class="GtkSpinner">
162 <property name="can_focus">False</property>
163 <property name="active">True</property>
164 <property name="height_request">50</property>
165 </object>
166 </child>
167 </object>
168 </child>
169 <!-- End Generating account spinner -->
170 <!-- Generated pin view -->
171 <child>
172 <object class="GtkBox" id="generated_pin">
173 <property name="orientation">vertical</property>
174 <property name="spacing">15</property>
175 <child>
176 <object class="GtkLabel">
177 <property name="visible">True</property>
178 <property name="can_focus">False</property>
179 <property name="label" translatable="yes">Your generated pin:</property>
180 <property name="use_markup">True</property>
181 </object>
182 </child>
183 <child>
184 <object class="GtkLabel" id="label_generated_pin">
185 <property name="visible">True</property>
186 <property name="can_focus">True</property>
187 <property name="label">PIN HERE</property>
188 <property name="selectable">True</property>
189 <attributes>
190 <attribute name="weight" value="bold"/>
191 </attributes>
192 </object>
193 </child>
194 <child>
195 <object class="GtkLabel">
196 <property name="visible">True</property>
197 <property name="can_focus">False</property>
198 <property name="halign">center</property>
199 <property name="max-width-chars">80</property>
200 <property name="label">This pin and the account password should be entered on your new device within 5 minutes. On most client, this is done from the "Existing Ring account" menu. You may generate a new pin at any moment.</property>
201 <property name="use_markup">True</property>
202 <property name="wrap">True</property>
203 </object>
204 </child>
205 <child>
206 <object class="GtkButton" id="button_generated_pin_ok">
207 <property name="halign">center</property>
208 <property name="width-request">100</property>
209 <property name="visible">True</property>
210 <property name="label" translatable="yes">OK</property>
211 </object>
212 </child>
213 </object>
214 </child>
215 <!-- End Generated pin view -->
216 <!-- Export on Ring error -->
217 <child>
218 <object class="GtkBox" id="export_on_ring_error">
219 <property name="orientation">vertical</property>
220 <property name="spacing">15</property>
221 <child>
222 <object class="GtkLabel" id="label_export_on_ring_error">
223 <property name="visible">True</property>
224 <property name="can_focus">False</property>
225 <property name="use_markup">True</property>
226 </object>
227 </child>
228 <child>
229 <object class="GtkButton" id="button_export_on_ring_error_ok">
230 <property name="visible">True</property>
231 <property name="label" translatable="yes">OK</property>
232 </object>
233 </child>
234 </object>
235 </child>
236 <!-- End export on Ring error -->
237 </object>
238 <packing>
239 <property name="expand">True</property>
240 <property name="fill">True</property>
241 </packing>
242 </child>
243 </template>
244</interface>