aboutsummaryrefslogtreecommitdiffstats
path: root/lan-mouse-gtk/resources/fingerprint_window.ui
blob: 35d272f920acc595d7bec4b2c9cbad4dcfc5e50f (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <template class="FingerprintWindow" parent="AdwWindow">
    <property name="modal">True</property>
    <property name="width-request">880</property>
    <property name="default-width">880</property>
    <property name="height-request">380</property>
    <property name="default-height">380</property>
    <property name="title" translatable="yes">Add Certificate Fingerprint</property>
    <property name="content">
      <object class="AdwToolbarView">
        <child type="top">
            <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwClamp">
            <property name="maximum-size">770</property>
            <property name="tightening-threshold">0</property>
            <property name="child">
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">18</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label">The certificate fingerprint serves as a unique identifier for your device.</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="label">You can find it under the `General` section of the device you want to connect</property>
                  </object>
                </child>
                <child>
                  <object class="AdwPreferencesGroup">
                    <property name="title">description</property>
                    <child>
                      <object class="AdwActionRow">
                        <property name="child">
                          <object class="GtkText" id="description">
                            <property name="margin-top">10</property>
                            <property name="margin-bottom">10</property>
                            <property name="margin-start">10</property>
                            <property name="margin-end">10</property>
                            <property name="enable-undo">True</property>
                            <property name="hexpand">True</property>
                            <property name="vexpand">True</property>
                            <property name="max-length">0</property>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="AdwPreferencesGroup">
                    <property name="title">sha256 fingerprint</property>
                    <child>
                      <object class="AdwActionRow">
                        <property name="child">
                          <object class="GtkText" id="fingerprint">
                            <property name="margin-top">10</property>
                            <property name="margin-bottom">10</property>
                            <property name="margin-start">10</property>
                            <property name="margin-end">10</property>
                            <property name="enable-undo">True</property>
                            <property name="hexpand">True</property>
                            <property name="vexpand">True</property>
                            <property name="max-length">0</property>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="halign">center</property>
                    <child>
                      <object class="GtkButton" id="confirm_button">
                        <signal name="clicked" handler="handle_confirm" swapped="true"/>
                        <property name="label" translatable="yes">Confirm</property>
                        <property name="can-shrink">True</property>
                        <style>
                            <class name="pill"/>
                            <class name="suggested-action"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </property>
      </object>
    </property>
  </template>
</interface>