diff options
Diffstat (limited to 'resources/ui')
-rw-r--r-- | resources/ui/new_group.ui | 231 | ||||
-rw-r--r-- | resources/ui/new_platform.ui | 5 |
2 files changed, 232 insertions, 4 deletions
diff --git a/resources/ui/new_group.ui b/resources/ui/new_group.ui new file mode 100644 index 0000000..c6439ae --- /dev/null +++ b/resources/ui/new_group.ui | |||
@@ -0,0 +1,231 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- Generated with glade 3.38.2 | ||
3 | |||
4 | Copyright (C) 2021 GNUnet e.V. | ||
5 | |||
6 | GNUnet is free software: you can redistribute it and/or modify it | ||
7 | under the terms of the GNU Affero General Public License as published | ||
8 | by the Free Software Foundation, either version 3 of the License, | ||
9 | or (at your option) any later version. | ||
10 | |||
11 | GNUnet is distributed in the hope that it will be useful, but | ||
12 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | Affero General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU Affero General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | |||
19 | SPDX-License-Identifier: AGPL3.0-or-later | ||
20 | Author: Tobias Frisch | ||
21 | |||
22 | --> | ||
23 | <interface> | ||
24 | <requires lib="gtk+" version="3.24"/> | ||
25 | <requires lib="libhandy" version="1.2"/> | ||
26 | <object class="GtkDialog" id="new_group_dialog"> | ||
27 | <property name="can-focus">False</property> | ||
28 | <property name="modal">True</property> | ||
29 | <property name="window-position">center-on-parent</property> | ||
30 | <property name="type-hint">dialog</property> | ||
31 | <child internal-child="vbox"> | ||
32 | <object class="GtkBox"> | ||
33 | <property name="can-focus">False</property> | ||
34 | <property name="orientation">vertical</property> | ||
35 | <property name="spacing">2</property> | ||
36 | <child internal-child="action_area"> | ||
37 | <object class="GtkButtonBox"> | ||
38 | <property name="can-focus">False</property> | ||
39 | <property name="layout-style">end</property> | ||
40 | <child> | ||
41 | <object class="GtkButton" id="cancel_button"> | ||
42 | <property name="label" translatable="yes">Cancel</property> | ||
43 | <property name="visible">True</property> | ||
44 | <property name="can-focus">True</property> | ||
45 | <property name="receives-default">True</property> | ||
46 | </object> | ||
47 | <packing> | ||
48 | <property name="expand">True</property> | ||
49 | <property name="fill">True</property> | ||
50 | <property name="position">0</property> | ||
51 | </packing> | ||
52 | </child> | ||
53 | <child> | ||
54 | <object class="GtkButton" id="previous_button"> | ||
55 | <property name="label" translatable="yes">Previous</property> | ||
56 | <property name="can-focus">True</property> | ||
57 | <property name="receives-default">True</property> | ||
58 | </object> | ||
59 | <packing> | ||
60 | <property name="expand">True</property> | ||
61 | <property name="fill">True</property> | ||
62 | <property name="position">1</property> | ||
63 | </packing> | ||
64 | </child> | ||
65 | <child> | ||
66 | <object class="GtkButton" id="next_button"> | ||
67 | <property name="label" translatable="yes">Next</property> | ||
68 | <property name="visible">True</property> | ||
69 | <property name="can-focus">True</property> | ||
70 | <property name="receives-default">True</property> | ||
71 | </object> | ||
72 | <packing> | ||
73 | <property name="expand">True</property> | ||
74 | <property name="fill">True</property> | ||
75 | <property name="position">2</property> | ||
76 | </packing> | ||
77 | </child> | ||
78 | <child> | ||
79 | <object class="GtkButton" id="confirm_button"> | ||
80 | <property name="label" translatable="yes">Confirm</property> | ||
81 | <property name="can-focus">True</property> | ||
82 | <property name="receives-default">True</property> | ||
83 | </object> | ||
84 | <packing> | ||
85 | <property name="expand">True</property> | ||
86 | <property name="fill">True</property> | ||
87 | <property name="position">3</property> | ||
88 | </packing> | ||
89 | </child> | ||
90 | </object> | ||
91 | <packing> | ||
92 | <property name="expand">False</property> | ||
93 | <property name="fill">False</property> | ||
94 | <property name="position">0</property> | ||
95 | </packing> | ||
96 | </child> | ||
97 | <child> | ||
98 | <object class="GtkStack" id="new_group_stack"> | ||
99 | <property name="visible">True</property> | ||
100 | <property name="can-focus">False</property> | ||
101 | <child> | ||
102 | <object class="GtkBox" id="details_box"> | ||
103 | <property name="visible">True</property> | ||
104 | <property name="can-focus">False</property> | ||
105 | <property name="halign">center</property> | ||
106 | <property name="border-width">8</property> | ||
107 | <property name="orientation">vertical</property> | ||
108 | <property name="spacing">4</property> | ||
109 | <child> | ||
110 | <object class="HdyAvatar" id="group_avatar"> | ||
111 | <property name="visible">True</property> | ||
112 | <property name="can-focus">False</property> | ||
113 | <property name="halign">center</property> | ||
114 | <property name="margin-top">8</property> | ||
115 | <property name="margin-bottom">8</property> | ||
116 | <property name="icon-name">system-users-symbolic</property> | ||
117 | <property name="size">128</property> | ||
118 | </object> | ||
119 | <packing> | ||
120 | <property name="expand">False</property> | ||
121 | <property name="fill">True</property> | ||
122 | <property name="position">0</property> | ||
123 | </packing> | ||
124 | </child> | ||
125 | <child> | ||
126 | <object class="GtkLabel"> | ||
127 | <property name="visible">True</property> | ||
128 | <property name="can-focus">False</property> | ||
129 | <property name="label" translatable="yes">Group:</property> | ||
130 | <property name="xalign">0</property> | ||
131 | </object> | ||
132 | <packing> | ||
133 | <property name="expand">False</property> | ||
134 | <property name="fill">True</property> | ||
135 | <property name="position">1</property> | ||
136 | </packing> | ||
137 | </child> | ||
138 | <child> | ||
139 | <object class="GtkEntry" id="group_entry"> | ||
140 | <property name="width-request">250</property> | ||
141 | <property name="visible">True</property> | ||
142 | <property name="can-focus">True</property> | ||
143 | </object> | ||
144 | <packing> | ||
145 | <property name="expand">False</property> | ||
146 | <property name="fill">True</property> | ||
147 | <property name="position">2</property> | ||
148 | </packing> | ||
149 | </child> | ||
150 | <child> | ||
151 | <object class="GtkFileChooserButton" id="group_avatar_file"> | ||
152 | <property name="visible">True</property> | ||
153 | <property name="can-focus">False</property> | ||
154 | <property name="title" translatable="yes"/> | ||
155 | </object> | ||
156 | <packing> | ||
157 | <property name="expand">False</property> | ||
158 | <property name="fill">True</property> | ||
159 | <property name="position">3</property> | ||
160 | </packing> | ||
161 | </child> | ||
162 | </object> | ||
163 | <packing> | ||
164 | <property name="name">details_page</property> | ||
165 | </packing> | ||
166 | </child> | ||
167 | <child> | ||
168 | <object class="GtkBox" id="contacts_box"> | ||
169 | <property name="visible">True</property> | ||
170 | <property name="can-focus">False</property> | ||
171 | <property name="orientation">vertical</property> | ||
172 | <child> | ||
173 | <object class="GtkSearchEntry" id="contact_search_entry"> | ||
174 | <property name="width-request">250</property> | ||
175 | <property name="visible">True</property> | ||
176 | <property name="can-focus">True</property> | ||
177 | <property name="primary-icon-name">edit-find-symbolic</property> | ||
178 | <property name="primary-icon-activatable">False</property> | ||
179 | <property name="primary-icon-sensitive">False</property> | ||
180 | </object> | ||
181 | <packing> | ||
182 | <property name="expand">False</property> | ||
183 | <property name="fill">True</property> | ||
184 | <property name="position">0</property> | ||
185 | </packing> | ||
186 | </child> | ||
187 | <child> | ||
188 | <object class="GtkScrolledWindow"> | ||
189 | <property name="height-request">200</property> | ||
190 | <property name="visible">True</property> | ||
191 | <property name="can-focus">True</property> | ||
192 | <property name="shadow-type">in</property> | ||
193 | <child> | ||
194 | <object class="GtkViewport"> | ||
195 | <property name="visible">True</property> | ||
196 | <property name="can-focus">False</property> | ||
197 | <child> | ||
198 | <object class="GtkListBox" id="contacts_listbox"> | ||
199 | <property name="visible">True</property> | ||
200 | <property name="can-focus">False</property> | ||
201 | <property name="selection-mode">multiple</property> | ||
202 | <property name="activate-on-single-click">False</property> | ||
203 | </object> | ||
204 | </child> | ||
205 | </object> | ||
206 | </child> | ||
207 | </object> | ||
208 | <packing> | ||
209 | <property name="expand">True</property> | ||
210 | <property name="fill">True</property> | ||
211 | <property name="pack-type">end</property> | ||
212 | <property name="position">1</property> | ||
213 | </packing> | ||
214 | </child> | ||
215 | </object> | ||
216 | <packing> | ||
217 | <property name="name">contacts_page</property> | ||
218 | <property name="position">1</property> | ||
219 | </packing> | ||
220 | </child> | ||
221 | </object> | ||
222 | <packing> | ||
223 | <property name="expand">True</property> | ||
224 | <property name="fill">True</property> | ||
225 | <property name="position">2</property> | ||
226 | </packing> | ||
227 | </child> | ||
228 | </object> | ||
229 | </child> | ||
230 | </object> | ||
231 | </interface> | ||
diff --git a/resources/ui/new_platform.ui b/resources/ui/new_platform.ui index 4b3fa8f..0f4e057 100644 --- a/resources/ui/new_platform.ui +++ b/resources/ui/new_platform.ui | |||
@@ -75,10 +75,7 @@ Author: Tobias Frisch | |||
75 | <property name="visible">True</property> | 75 | <property name="visible">True</property> |
76 | <property name="can-focus">False</property> | 76 | <property name="can-focus">False</property> |
77 | <property name="halign">center</property> | 77 | <property name="halign">center</property> |
78 | <property name="margin-start">8</property> | 78 | <property name="border-width">8</property> |
79 | <property name="margin-end">8</property> | ||
80 | <property name="margin-top">8</property> | ||
81 | <property name="margin-bottom">8</property> | ||
82 | <property name="orientation">vertical</property> | 79 | <property name="orientation">vertical</property> |
83 | <property name="spacing">4</property> | 80 | <property name="spacing">4</property> |
84 | <child> | 81 | <child> |