anastasis-gtk

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

anastasis_gtk_auth_add_iban.ui (7420B)


      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: Belen Pena, Christian Grothoff, Dennis Neufeld-->
     22 <interface>
     23   <!-- interface-name anastasis_gtk_auth_add_iban.ui -->
     24   <requires lib="gtk" version="4.0"/>
     25   <object class="GtkDialog" id="anastasis_gtk_b_iban_dialog">
     26     <property name="default-widget">anastasis_gtk_b_iban_dialog_btn_ok</property>
     27     <property name="focus-widget">anastasis_gtk_b_iban_dialog_iban_entry</property>
     28     <signal name="response" handler="anastasis_gtk_b_iban_dialog_response_cb"/>
     29     <child internal-child="content_area">
     30       <object class="GtkBox">
     31         <property name="orientation">vertical</property>
     32         <property name="spacing">2</property>
     33         <child>
     34           <object class="GtkBox">
     35             <property name="margin-bottom">5</property>
     36             <property name="margin-top">5</property>
     37             <property name="orientation">vertical</property>
     38             <child>
     39               <object class="GtkLabel" id="explainer_label">
     40                 <property name="label" translatable="yes">For bank transfer authentication, you need 
     41 to provide the IBAN of one of your bank accounts.
     42 When recovering your secret, you will be
     43 asked to pay the recovery fee via bank
     44 transfer from the account you provided here.</property>
     45                 <property name="margin-bottom">20</property>
     46                 <property name="margin-top">20</property>
     47                 <property name="name">explainer_label</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">55</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                 <property name="vexpand">0</property>
     62                 <child>
     63                   <object class="GtkLabel">
     64                     <property name="halign">start</property>
     65                     <property name="label" translatable="yes">IBAN</property>
     66                     <property name="margin-bottom">5</property>
     67                     <property name="margin-end">25</property>
     68                     <property name="margin-start">25</property>
     69                     <property name="margin-top">5</property>
     70                     <property name="valign">center</property>
     71                   </object>
     72                 </child>
     73                 <child>
     74                   <object class="GtkEntry" id="anastasis_gtk_b_iban_dialog_iban_entry">
     75                     <property name="activates-default">1</property>
     76                     <property name="focusable">1</property>
     77                     <property name="hexpand">1</property>
     78                     <property name="input-purpose">alpha</property>
     79                     <property name="margin-bottom">5</property>
     80                     <property name="margin-end">25</property>
     81                     <property name="margin-start">25</property>
     82                     <property name="margin-top">5</property>
     83                     <property name="placeholder-text" translatable="yes">DE67830625024024853256</property>
     84                     <property name="primary-icon-name">dialog-password</property>
     85                     <property name="vexpand">1</property>
     86                     <property name="width-chars">36</property>
     87                     <signal name="changed" handler="anastasis_gtk_b_iban_dialog_iban_entry_changed_cb"/>
     88                   </object>
     89                 </child>
     90               </object>
     91             </child>
     92           </object>
     93         </child>
     94       </object>
     95     </child>
     96     <child type="titlebar">
     97       <object class="GtkLabel">
     98         <property name="label" translatable="yes">Configure bank transfer</property>
     99       </object>
    100     </child>
    101     <child internal-child="action_area">
    102       <object class="GtkBox">
    103         <property name="can-focus">0</property>
    104         <property name="halign">end</property>
    105         <property name="homogeneous">1</property>
    106         <property name="spacing">6</property>
    107         <child>
    108           <object class="GtkButton" id="anastasis_gtk_b_iban_dialog_btn_cancel">
    109             <property name="child">
    110               <object class="GtkBox">
    111                 <property name="halign">center</property>
    112                 <property name="spacing">2</property>
    113                 <child>
    114                   <object class="GtkImage">
    115                     <property name="icon-name">gtk-cancel</property>
    116                   </object>
    117                 </child>
    118                 <child>
    119                   <object class="GtkLabel">
    120                     <property name="label" translatable="yes">_Cancel</property>
    121                     <property name="mnemonic-widget">anastasis_gtk_b_iban_dialog_btn_cancel</property>
    122                     <property name="use-underline">1</property>
    123                   </object>
    124                 </child>
    125               </object>
    126             </property>
    127           </object>
    128         </child>
    129         <child>
    130           <object class="GtkButton" id="anastasis_gtk_b_iban_dialog_btn_ok">
    131             <property name="child">
    132               <object class="GtkBox">
    133                 <property name="halign">center</property>
    134                 <property name="spacing">2</property>
    135                 <child>
    136                   <object class="GtkImage">
    137                     <property name="icon-name">gtk-ok</property>
    138                   </object>
    139                 </child>
    140                 <child>
    141                   <object class="GtkLabel">
    142                     <property name="label" translatable="yes">_OK</property>
    143                     <property name="mnemonic-widget">anastasis_gtk_b_iban_dialog_btn_ok</property>
    144                     <property name="use-underline">1</property>
    145                   </object>
    146                 </child>
    147               </object>
    148             </property>
    149             <property name="sensitive">0</property>
    150           </object>
    151         </child>
    152       </object>
    153     </child>
    154     <action-widgets>
    155       <action-widget response="-6">anastasis_gtk_b_iban_dialog_btn_cancel</action-widget>
    156       <action-widget response="-5">anastasis_gtk_b_iban_dialog_btn_ok</action-widget>
    157     </action-widgets>
    158     <action-widgets>
    159       <action-widget response="-6">anastasis_gtk_b_iban_dialog_btn_cancel</action-widget>
    160       <action-widget response="-5">anastasis_gtk_b_iban_dialog_btn_ok</action-widget>
    161     </action-widgets>
    162   </object>
    163 </interface>