anastasis-gtk

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

anastasis_gtk_challenge_iban.ui (15589B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3 Copyright (C) 2019-2021 Anastasis SARL
      4 
      5 This file is part of anastasis-gtk.
      6 
      7 anastasis-gtk is free software: you can redistribute it and/or modify
      8 it under the terms of the GNU General Public License as published by
      9 the Free Software Foundation, either version 3 of the License, or
     10 (at your option) any later version.
     11 
     12 anastasis-gtk is distributed in the hope that it will be useful,
     13 but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 GNU General Public License for more details.
     16 
     17 You should have received a copy of the GNU General Public License
     18 along with anastasis-gtk.  If not, see <http://www.gnu.org/licenses/>.
     19 
     20 Author: Christian Grothoff-->
     21 <interface>
     22   <requires lib="gtk" version="4.0"/>
     23   <object class="GtkDialog" id="anastasis_gtk_c_iban_dialog">
     24     <property name="default-widget">anastasis_gtk_c_iban_dialog_btn_close</property>
     25     <signal name="response" handler="anastasis_gtk_c_iban_dialog_response_cb" swapped="no"/>
     26     <child internal-child="content_area">
     27       <object class="GtkBox">
     28         <property name="orientation">vertical</property>
     29         <property name="spacing">2</property>
     30         <child>
     31           <object class="GtkLabel" id="anastasis_gtk_c_iban_error_label">
     32             <property name="visible">0</property>
     33             <property name="label">ERROR MESSAGE (SET DYNAMICALLY BY PROGRAM)</property>
     34             <attributes>
     35               <attribute name="weight" value="bold"></attribute>
     36               <attribute name="foreground" value="#a5a51d1d2d2d"></attribute>
     37             </attributes>
     38             <property name="margin-top">5</property>
     39             <property name="margin-bottom">5</property>
     40           </object>
     41         </child>
     42         <child>
     43           <object class="GtkBox">
     44             <property name="orientation">vertical</property>
     45             <child>
     46               <object class="GtkLabel" id="instruction_label">
     47                 <property name="label" translatable="1">To satisfy the IBAN challenge, you must
     48  pay the indicated amount from the 
     49 specified bank account to the Anastasis
     50 provider. This serves both to authenticate
     51 you as the bank account holder as well as
     52 to pay the Anastasis provider for its service.</property>
     53                 <property name="margin-top">20</property>
     54                 <property name="margin-bottom">20</property>
     55               </object>
     56             </child>
     57             <child>
     58               <object class="GtkSeparator">
     59                 <property name="margin-top">10</property>
     60                 <property name="margin-bottom">10</property>
     61               </object>
     62             </child>
     63             <child>
     64               <object class="GtkCenterBox">
     65                 <property name="orientation">vertical</property>
     66                 <property name="margin-top">5</property>
     67                 <property name="margin-bottom">5</property>
     68                 <property name="start-widget">
     69                   <object class="GtkBox">
     70                     <property name="orientation">vertical</property>
     71                     <child>
     72                       <object class="GtkLabel">
     73                         <property name="halign">start</property>
     74                         <property name="margin-start">20</property>
     75                         <property name="margin-end">20</property>
     76                         <property name="label" translatable="1">You must use your bank account identified by the following IBAN:</property>
     77                         <property name="margin-top">5</property>
     78                         <property name="margin-bottom">5</property>
     79                       </object>
     80                     </child>
     81                   </object>
     82                 </property>
     83                 <property name="end-widget">
     84                   <object class="GtkBox">
     85                     <property name="orientation">vertical</property>
     86                     <child>
     87                       <object class="GtkLabel" id="debit_account_label">
     88                         <property name="halign">start</property>
     89                         <property name="margin-start">30</property>
     90                         <property name="margin-end">30</property>
     91                         <property name="label">SET DYNAMICALLY BY PROGRAM</property>
     92                         <attributes>
     93                           <attribute name="style" value="italic"></attribute>
     94                           <attribute name="weight" value="bold"></attribute>
     95                         </attributes>
     96                       </object>
     97                     </child>
     98                   </object>
     99                 </property>
    100               </object>
    101             </child>
    102             <child>
    103               <object class="GtkCenterBox">
    104                 <property name="orientation">vertical</property>
    105                 <property name="margin-top">10</property>
    106                 <property name="margin-bottom">10</property>
    107                 <property name="start-widget">
    108                   <object class="GtkBox">
    109                     <property name="orientation">vertical</property>
    110                     <child>
    111                       <object class="GtkLabel">
    112                         <property name="halign">start</property>
    113                         <property name="margin-start">20</property>
    114                         <property name="margin-end">20</property>
    115                         <property name="label" translatable="1">You must wire the funds to the provider&apos;s bank account at the IBAN:</property>
    116                         <property name="margin-top">5</property>
    117                         <property name="margin-bottom">5</property>
    118                       </object>
    119                     </child>
    120                   </object>
    121                 </property>
    122                 <property name="end-widget">
    123                   <object class="GtkBox">
    124                     <property name="orientation">vertical</property>
    125                     <child>
    126                       <object class="GtkLabel" id="credit_account_label">
    127                         <property name="halign">start</property>
    128                         <property name="margin-start">30</property>
    129                         <property name="margin-end">30</property>
    130                         <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    131                         <property name="selectable">1</property>
    132                         <attributes>
    133                           <attribute name="style" value="italic"></attribute>
    134                           <attribute name="weight" value="bold"></attribute>
    135                         </attributes>
    136                       </object>
    137                     </child>
    138                   </object>
    139                 </property>
    140               </object>
    141             </child>
    142             <child>
    143               <object class="GtkCenterBox">
    144                 <property name="orientation">vertical</property>
    145                 <property name="margin-top">5</property>
    146                 <property name="margin-bottom">5</property>
    147                 <property name="start-widget">
    148                   <object class="GtkBox">
    149                     <property name="orientation">vertical</property>
    150                     <child>
    151                       <object class="GtkLabel">
    152                         <property name="halign">start</property>
    153                         <property name="margin-start">20</property>
    154                         <property name="margin-end">20</property>
    155                         <property name="label" translatable="1">The name of the provider&apos;s business is:</property>
    156                         <property name="margin-top">5</property>
    157                         <property name="margin-bottom">5</property>
    158                       </object>
    159                     </child>
    160                   </object>
    161                 </property>
    162                 <property name="end-widget">
    163                   <object class="GtkBox">
    164                     <property name="orientation">vertical</property>
    165                     <child>
    166                       <object class="GtkLabel" id="provider_name_label">
    167                         <property name="halign">start</property>
    168                         <property name="margin-start">30</property>
    169                         <property name="margin-end">30</property>
    170                         <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    171                         <property name="selectable">1</property>
    172                         <attributes>
    173                           <attribute name="style" value="italic"></attribute>
    174                           <attribute name="weight" value="bold"></attribute>
    175                         </attributes>
    176                       </object>
    177                     </child>
    178                   </object>
    179                 </property>
    180               </object>
    181             </child>
    182             <child>
    183               <object class="GtkSeparator"/>
    184             </child>
    185             <child>
    186               <object class="GtkCenterBox">
    187                 <property name="orientation">vertical</property>
    188                 <property name="margin-top">5</property>
    189                 <property name="margin-bottom">5</property>
    190                 <property name="start-widget">
    191                   <object class="GtkBox">
    192                     <property name="orientation">vertical</property>
    193                     <child>
    194                       <object class="GtkLabel">
    195                         <property name="halign">start</property>
    196                         <property name="margin-start">20</property>
    197                         <property name="margin-end">20</property>
    198                         <property name="label" translatable="1">You must use the following wire transfer subject to identify the secret share to recover:</property>
    199                         <property name="margin-top">5</property>
    200                         <property name="margin-bottom">5</property>
    201                       </object>
    202                     </child>
    203                   </object>
    204                 </property>
    205                 <property name="end-widget">
    206                   <object class="GtkBox">
    207                     <property name="orientation">vertical</property>
    208                     <child>
    209                       <object class="GtkLabel" id="wire_transfer_subject_label">
    210                         <property name="halign">start</property>
    211                         <property name="margin-start">30</property>
    212                         <property name="margin-end">30</property>
    213                         <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    214                         <property name="selectable">1</property>
    215                         <attributes>
    216                           <attribute name="style" value="italic"></attribute>
    217                           <attribute name="weight" value="bold"></attribute>
    218                         </attributes>
    219                       </object>
    220                     </child>
    221                   </object>
    222                 </property>
    223               </object>
    224             </child>
    225             <child>
    226               <object class="GtkCenterBox">
    227                 <property name="orientation">vertical</property>
    228                 <property name="margin-top">5</property>
    229                 <property name="margin-bottom">5</property>
    230                 <property name="start-widget">
    231                   <object class="GtkBox">
    232                     <property name="orientation">vertical</property>
    233                     <child>
    234                       <object class="GtkLabel">
    235                         <property name="halign">start</property>
    236                         <property name="margin-start">20</property>
    237                         <property name="margin-end">20</property>
    238                         <property name="label" translatable="1">The amount to be paid is:</property>
    239                         <property name="margin-top">5</property>
    240                         <property name="margin-bottom">5</property>
    241                       </object>
    242                     </child>
    243                   </object>
    244                 </property>
    245                 <property name="end-widget">
    246                   <object class="GtkBox">
    247                     <property name="orientation">vertical</property>
    248                     <child>
    249                       <object class="GtkLabel" id="amount_label">
    250                         <property name="halign">start</property>
    251                         <property name="margin-start">30</property>
    252                         <property name="margin-end">30</property>
    253                         <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    254                         <attributes>
    255                           <attribute name="style" value="italic"></attribute>
    256                           <attribute name="weight" value="bold"></attribute>
    257                         </attributes>
    258                       </object>
    259                     </child>
    260                   </object>
    261                 </property>
    262               </object>
    263             </child>
    264             <child>
    265               <object class="GtkLabel" id="end_explainer_label">
    266                 <property name="label" translatable="1">The provider will enable you to recover 
    267 this secret share for a month using this
    268 program once the amount has
    269 arrived. &quot;Save&quot; the recovery state and
    270 open the resulting file later to continue.</property>
    271                 <attributes>
    272                   <attribute name="weight" value="medium"></attribute>
    273                 </attributes>
    274                 <property name="margin-top">5</property>
    275                 <property name="margin-bottom">5</property>
    276               </object>
    277             </child>
    278           </object>
    279         </child>
    280       </object>
    281     </child>
    282     <action-widgets>
    283       <action-widget response="-7">anastasis_gtk_c_iban_dialog_btn_close</action-widget>
    284     </action-widgets>
    285     <child type="titlebar">
    286       <object class="GtkLabel">
    287         <property name="label" translatable="1">Instructions for IBAN challenge</property>
    288       </object>
    289     </child>
    290     <action-widgets>
    291       <action-widget response="-7">anastasis_gtk_c_iban_dialog_btn_close</action-widget>
    292     </action-widgets>
    293     <child internal-child="action_area">
    294       <object class="GtkBox">
    295         <property name="can-focus">0</property>
    296         <property name="homogeneous">1</property>
    297         <property name="spacing">6</property>
    298         <property name="halign">end</property>
    299         <child>
    300           <object class="GtkButton" id="anastasis_gtk_c_iban_dialog_btn_close">
    301             <property name="margin-start">20</property>
    302             <property name="margin-end">20</property>
    303             <property name="margin-top">20</property>
    304             <property name="margin-bottom">20</property>
    305             <property name="child">
    306               <object class="GtkBox">
    307                 <property name="spacing">2</property>
    308                 <property name="halign">center</property>
    309                 <child>
    310                   <object class="GtkImage">
    311                     <property name="icon-name">window-close</property>
    312                   </object>
    313                 </child>
    314                 <child>
    315                   <object class="GtkLabel">
    316                     <property name="label" translatable="1">_Close</property>
    317                     <property name="use-underline">1</property>
    318                     <property name="mnemonic-widget">anastasis_gtk_c_iban_dialog_btn_close</property>
    319                   </object>
    320                 </child>
    321               </object>
    322             </property>
    323           </object>
    324         </child>
    325       </object>
    326     </child>
    327   </object>
    328 </interface>
    329