aboutsummaryrefslogtreecommitdiff
path: root/main/data/preferences_window/change_password_dialog.ui
blob: 5629872c35c54032fdc80135652f6ce2365e7f20 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="DinoUiChangePasswordDialog">
    <property name="title" translatable="1">Change password</property>
    <property name="content-width">430</property>
    <property name="content-height">270</property>
    <property name="follows-content-size">False</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="AdwHeaderBar">
            <property name="show-end-title-buttons">False</property>
            <property name="show-start-title-buttons">False</property>
            <child>
              <object class="GtkButton" id="cancel_button">
                <property name="label" translatable="yes">Cancel</property>
              </object>
            </child>
            <child type="end">
              <object class="GtkButton" id="change_password_button">
                <property name="sensitive">0</property>
                <style>
                  <class name="suggested-action"/>
                </style>
                <child>
                  <object class="GtkStack" id="change_password_stack">
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">label</property>
                        <property name="child">
                          <object class="GtkLabel" >
                            <property name="label" translatable="1">Change</property>
                          </object>
                        </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">spinner</property>
                        <property name="child">
                          <object class="GtkSpinner">
                            <property name="spinning">True</property>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesPage">
            <child>
              <object class="AdwPreferencesGroup">
                <child>
                  <object class="AdwPasswordEntryRow" id="current_password_entry">
                    <property name="title" translatable="yes">Current password</property>
                  </object>
                </child>
                <child>
                  <object class="AdwPasswordEntryRow" id="new_password_entry">
                    <property name="title" translatable="yes">New password</property>
                  </object>
                </child>
                <child>
                  <object class="AdwPasswordEntryRow" id="confirm_new_password_entry">
                    <property name="title" translatable="yes">Confirm password</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="change_password_error_label">
                    <property name="halign">center</property>
                    <property name="hexpand">True</property>
                    <property name="margin-top">7</property>
                    <style>
                      <class name="error"/>
                    </style>
                    <attributes>
                      <attribute name="scale" value="0.9"></attribute>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>