blob: 7c8d304b6906b30a4a8f0f259a75d9390096622f [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="AccountMigrationView" parent="GtkBox">
5 <child>
6 <object class="GtkBox">
7 <property name="visible">True</property>
8 <property name="orientation">vertical</property>
9 <property name="spacing">15</property>
10 <property name="valign">center</property>
11 <child>
12 <object class="GtkStack" id="stack_account_migration">
13 <property name="visible">True</property>
14 <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property>
15 <property name="transition-duration">300</property>
16 <!-- Main view -->
17 <child>
18 <object class="GtkBox" id="main_view">
19 <property name="visible">True</property>
20 <property name="valign">center</property>
21 <property name="border_width">10</property>
22 <property name="orientation">vertical</property>
23 <property name="spacing">15</property>
24 <child>
25 <object class="GtkLabel">
26 <property name="visible">True</property>
27 <property name="can_focus">False</property>
28 <property name="label" translatable="yes">Account migration required</property>
29 <attributes>
30 <attribute name="weight" value="bold"/>
31 </attributes>
32 </object>
33 </child>
34 <child>
35 <object class="GtkLabel">
36 <property name="visible">True</property>
37 <property name="label" translatable="yes">The following account needs to be migrated to the new Ring account format:</property>
38 </object>
39 </child>
40 <!-- Begin account display -->
41 <child>
42 <object class="GtkGrid">
43 <property name="visible">True</property>
44 <property name="column-spacing">10</property>
45 <property name="row-spacing">10</property>
46 <property name="halign">center</property>
47 <property name="valign">center</property>
48 <!-- Begin account alias -->
49 <child>
50 <object class="GtkLabel">
51 <property name="visible">True</property>
52 <property name="label" translatable="yes">Alias:</property>
53 <property name="halign">start</property>
54 </object>
55 <packing>
56 <property name="left_attach">0</property>
57 <property name="top_attach">0</property>
58 </packing>
59 </child>
60 <child>
61 <object class="GtkLabel" id="label_account_alias">
62 <property name="visible">True</property>
63 <property name="halign">start</property>
64 </object>
65 <packing>
66 <property name="left_attach">1</property>
67 <property name="top_attach">0</property>
68 </packing>
69 </child>
70 <!-- End account alias -->
Stepan Salenikovicha6035422016-11-04 16:04:53 -040071 <!-- Begin accont ringID -->
72 <child>
73 <object class="GtkLabel">
74 <property name="visible">True</property>
75 <property name="label" translatable="no">RingID:</property>
76 <property name="halign">start</property>
77 </object>
78 <packing>
79 <property name="left_attach">0</property>
80 <property name="top_attach">1</property>
81 </packing>
82 </child>
83 <child>
84 <object class="GtkLabel" id="label_account_ringid">
85 <property name="visible">True</property>
86 <property name="halign">start</property>
87 </object>
88 <packing>
89 <property name="left_attach">1</property>
90 <property name="top_attach">1</property>
91 </packing>
92 </child>
93 <!-- End account ringID -->
aviau6aeb4852016-08-18 16:01:09 -040094 <!-- Begin account avatar -->
95 <child>
96 <object class="GtkLabel">
97 <property name="visible">True</property>
98 <property name="label" translatable="yes">Avatar:</property>
99 <property name="halign">start</property>
100 </object>
101 <packing>
102 <property name="left_attach">0</property>
103 <property name="top_attach">2</property>
104 </packing>
105 </child>
106 <child>
107 <object class="GtkImage" id="image_avatar">
108 <property name="visible">True</property>
109 </object>
110 <packing>
111 <property name="left_attach">1</property>
112 <property name="top_attach">2</property>
113 </packing>
114 </child>
115 <!-- End account avatar -->
116 </object>
117 </child>
118 <!-- End account display -->
119 <child>
120 <object class="GtkLabel">
121 <property name="visible">True</property>
122 <property name="label" translatable="yes">To proceed with the migration, you must choose a password for your account. This password will be used to encrypt your master key. It will be required for adding new devices to your Ring account. If you are not ready to choose a password, you may close Ring and resume the migration later.</property>
123 <property name="halign">center</property>
124 <property name="max-width-chars">80</property>
125 <property name="wrap">True</property>
126 </object>
127 </child>
128 <child>
129 <object class="GtkLabel" id="label_password_error">
130 <property name="visible">False</property>
131 <property name="can_focus">False</property>
132 <property name="label" translatable="yes">Passwords don't match</property>
133 <attributes>
134 <attribute name="weight" value="bold"/>
135 </attributes>
136 </object>
137 </child>
138 <child>
139 <object class="GtkLabel">
140 <property name="visible">True</property>
141 <property name="label" translatable="yes">Password:</property>
142 </object>
143 </child>
144 <child>
145 <object class="GtkEntry" id="entry_password">
146 <property name="max-width-chars">40</property>
147 <property name="halign">center</property>
148 <property name="visible">True</property>
149 <property name="can_focus">True</property>
150 <property name="can_default">True</property>
151 <property name="has_default">True</property>
152 <property name="xalign">0.5</property>
153 <property name="visibility">False</property>
154 <property name="primary_icon_stock">gtk-dialog-authentication</property>
155 <property name="input_purpose">password</property>
156 </object>
157 </child>
158 <child>
159 <object class="GtkLabel">
160 <property name="visible">True</property>
161 <property name="label" translatable="yes">Password (confirm):</property>
162 </object>
163 </child>
164 <child>
165 <object class="GtkEntry" id="entry_password_confirm">
166 <property name="max-width-chars">40</property>
167 <property name="halign">center</property>
168 <property name="visible">True</property>
169 <property name="can_focus">True</property>
170 <property name="can_default">True</property>
171 <property name="has_default">True</property>
172 <property name="xalign">0.5</property>
173 <property name="visibility">False</property>
174 <property name="primary_icon_stock">gtk-dialog-authentication</property>
175 <property name="input_purpose">password</property>
176 </object>
177 </child>
178 <child>
179 <object class="GtkButton" id="button_migrate_account">
180 <property name="width-request">200</property>
181 <property name="halign">center</property>
182 <property name="visible">True</property>
183 <property name="sensitive">False</property>
184 <property name="label" translatable="yes">Migrate account</property>
185 </object>
186 </child>
187 </object>
188 </child>
189 <!-- End Main view -->
190 <!-- Migrating account spinner -->
191 <child>
192 <object class="GtkBox" id="migrating_account_view">
193 <property name="visible">True</property>
194 <property name="valign">center</property>
195 <property name="border_width">10</property>
196 <property name="orientation">vertical</property>
197 <property name="spacing">15</property>
198 <child>
199 <object class="GtkLabel">
200 <property name="visible">True</property>
201 <property name="can_focus">False</property>
202 <property name="label" translatable="yes">Migrating account...</property>
203 </object>
204 </child>
205 <child>
206 <object class="GtkSpinner">
207 <property name="visible">True</property>
208 <property name="can_focus">False</property>
209 <property name="active">True</property>
210 <property name="height_request">50</property>
211 </object>
212 </child>
213 </object>
214 </child>
215 <!-- End migrating account spinner -->
216 <!-- Error view -->
217 <child>
218 <object class="GtkBox" id="error_view">
219 <property name="visible">True</property>
220 <property name="valign">center</property>
221 <property name="border_width">10</property>
222 <property name="orientation">vertical</property>
223 <property name="spacing">15</property>
224 <child>
225 <object class="GtkLabel">
226 <property name="visible">True</property>
227 <property name="can_focus">False</property>
228 <property name="label" translatable="yes">Failed to migrate account. Try again.</property>
229 </object>
230 </child>
231 <child>
232 <object class="GtkButton" id="button_error_view_ok">
233 <property name="width-request">200</property>
234 <property name="halign">center</property>
235 <property name="visible">True</property>
236 <property name="label" translatable="yes">OK</property>
237 </object>
238 </child>
239 </object>
240 </child>
241 <!-- End Error view -->
aviau2da3d9c2016-09-06 11:28:36 -0400242 <!-- Choose username view -->
243 <child>
244 <object class="GtkBox" id="choose_username_view">
245 <property name="visible">True</property>
246 <property name="valign">center</property>
247 <property name="halign">center</property>
248 <property name="border_width">10</property>
249 <property name="orientation">vertical</property>
250 <property name="spacing">15</property>
251 <child>
252 <object class="GtkLabel">
253 <property name="visible">True</property>
254 <property name="can_focus">False</property>
255 <property name="label" translatable="yes">Choose your Ring username</property>
256 <attributes>
257 <attribute name="weight" value="bold"/>
258 </attributes>
259 </object>
260 </child>
261 <child>
262 <object class="GtkLabel">
263 <property name="visible">True</property>
264 <property name="label" translatable="yes">As of now Ring has a decentralized username registry. This means that you can now contact your friends using their usernames instead of their RingIDs. The username registry is distributed and all users are able to consult it.</property>
265 <property name="halign">center</property>
266 <property name="max-width-chars">80</property>
267 <property name="wrap">True</property>
268 </object>
269 </child>
270 <child>
271 <object class="GtkBox" id="box_username_registration_box">
272 <property name="visible">True</property>
273 <property name="halign">center</property>
274 </object>
275 </child>
276 <child>
277 <object class="GtkButton" id="button_register_username_later">
278 <property name="visible">True</property>
279 <property name="label" translatable="yes">Register my username later</property>
280 </object>
281 </child>
282 </object>
283 </child>
284 <!-- End Choose username view -->
aviau6aeb4852016-08-18 16:01:09 -0400285 </object>
286 </child>
287 </object>
288 <packing>
289 <property name="expand">True</property>
290 <property name="fill">True</property>
291 </packing>
292 </child>
293 </template>
294</interface>