anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

anastasis_gtk_auth_add_video.ui (7103B)


      1 <?xml version='1.0' encoding='UTF-8'?>
      2 <!-- Created with Cambalache 0.94.1 -->
      3 <!--
      4 Copyright (C) 2019-2021 Anastasis SARL
      5 
      6 This file is part of anastasis-gtk.
      7 
      8 anastasis-gtk is free software: you can redistribute it and/or modify
      9 it under the terms of the GNU General Public License as published by
     10 the Free Software Foundation, either version 3 of the License, or
     11 (at your option) any later version.
     12 
     13 anastasis-gtk is distributed in the hope that it will be useful,
     14 but WITHOUT ANY WARRANTY; without even the implied warranty of
     15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     16 GNU General Public License for more details.
     17 
     18 You should have received a copy of the GNU General Public License
     19 along with anastasis-gtk.  If not, see <http://www.gnu.org/licenses/>.
     20 
     21 Author: Christian Grothoff-->
     22 <interface>
     23   <!-- interface-name anastasis_gtk_auth_add_video.ui -->
     24   <requires lib="gtk" version="4.0"/>
     25   <object class="GtkDialog" id="anastasis_gtk_b_video_dialog">
     26     <property name="default-widget">anastasis_gtk_b_video_dialog_btn_cancel</property>
     27     <property name="focus-widget">photo_file_chooser_button</property>
     28     <child internal-child="content_area">
     29       <object class="GtkBox">
     30         <property name="orientation">vertical</property>
     31         <property name="spacing">2</property>
     32         <child>
     33           <object class="GtkBox">
     34             <property name="margin-bottom">50</property>
     35             <property name="orientation">vertical</property>
     36             <child>
     37               <object class="GtkLabel" id="explainer_label">
     38                 <property name="label" translatable="yes">For video identification, you need to provide
     39 a passport-style photograph. When
     40 recovering your secret, you will be asked to
     41 join a video call. During that call, a human
     42 will use the photograph to verify your 
     43 identity.</property>
     44                 <property name="margin-bottom">20</property>
     45                 <property name="margin-end">20</property>
     46                 <property name="margin-start">20</property>
     47                 <property name="margin-top">20</property>
     48                 <attributes>
     49                   <attribute name="weight" value="medium"/>
     50                 </attributes>
     51               </object>
     52             </child>
     53             <child>
     54               <object class="GtkBox">
     55                 <property name="margin-bottom">5</property>
     56                 <property name="margin-end">20</property>
     57                 <property name="margin-start">20</property>
     58                 <property name="margin-top">5</property>
     59                 <property name="orientation">vertical</property>
     60                 <property name="valign">center</property>
     61                 <child>
     62                   <object class="GtkLabel">
     63                     <property name="label" translatable="yes">Choose photograph</property>
     64                     <property name="margin-bottom">5</property>
     65                     <property name="margin-top">5</property>
     66                   </object>
     67                 </child>
     68                 <child>
     69                   <object class="GtkButton" id="photo_file_chooser_button">
     70                     <property name="focusable">1</property>
     71                     <property name="label" translatable="yes">Choose photograph</property>
     72                     <property name="margin-bottom">5</property>
     73                     <property name="margin-top">5</property>
     74                     <property name="valign">center</property>
     75                   </object>
     76                 </child>
     77               </object>
     78             </child>
     79             <child>
     80               <object class="GtkImage">
     81                 <property name="icon-name">image-missing</property>
     82                 <property name="visible">0</property>
     83               </object>
     84             </child>
     85           </object>
     86         </child>
     87       </object>
     88     </child>
     89     <child type="titlebar">
     90       <object class="GtkLabel">
     91         <property name="label" translatable="yes">Configure video authentication</property>
     92       </object>
     93     </child>
     94     <child internal-child="action_area">
     95       <object class="GtkBox">
     96         <property name="can-focus">0</property>
     97         <property name="halign">end</property>
     98         <property name="homogeneous">1</property>
     99         <property name="spacing">6</property>
    100         <child>
    101           <object class="GtkButton" id="anastasis_gtk_b_video_dialog_btn_cancel">
    102             <property name="child">
    103               <object class="GtkBox">
    104                 <property name="halign">center</property>
    105                 <property name="spacing">2</property>
    106                 <child>
    107                   <object class="GtkImage">
    108                     <property name="icon-name">gtk-cancel</property>
    109                   </object>
    110                 </child>
    111                 <child>
    112                   <object class="GtkLabel">
    113                     <property name="label" translatable="yes">_Cancel</property>
    114                     <property name="mnemonic-widget">anastasis_gtk_b_video_dialog_btn_cancel</property>
    115                     <property name="use-underline">1</property>
    116                   </object>
    117                 </child>
    118               </object>
    119             </property>
    120             <property name="focusable">1</property>
    121             <property name="margin-end">5</property>
    122             <property name="margin-start">5</property>
    123             <property name="receives-default">1</property>
    124           </object>
    125         </child>
    126         <child>
    127           <object class="GtkButton" id="anastasis_gtk_b_video_dialog_btn_ok">
    128             <property name="child">
    129               <object class="GtkBox">
    130                 <property name="halign">center</property>
    131                 <property name="spacing">2</property>
    132                 <child>
    133                   <object class="GtkImage">
    134                     <property name="icon-name">gtk-ok</property>
    135                   </object>
    136                 </child>
    137                 <child>
    138                   <object class="GtkLabel">
    139                     <property name="label" translatable="yes">_OK</property>
    140                     <property name="mnemonic-widget">anastasis_gtk_b_video_dialog_btn_ok</property>
    141                     <property name="use-underline">1</property>
    142                   </object>
    143                 </child>
    144               </object>
    145             </property>
    146             <property name="focusable">1</property>
    147             <property name="margin-end">5</property>
    148             <property name="margin-start">5</property>
    149             <property name="receives-default">1</property>
    150             <property name="sensitive">0</property>
    151           </object>
    152         </child>
    153       </object>
    154     </child>
    155     <action-widgets>
    156       <action-widget response="-6">anastasis_gtk_b_video_dialog_btn_cancel</action-widget>
    157       <action-widget response="-5">anastasis_gtk_b_video_dialog_btn_ok</action-widget>
    158     </action-widgets>
    159     <action-widgets>
    160       <action-widget response="-6">anastasis_gtk_b_video_dialog_btn_cancel</action-widget>
    161       <action-widget response="-5">anastasis_gtk_b_video_dialog_btn_ok</action-widget>
    162     </action-widgets>
    163   </object>
    164 </interface>