anastasis-gtk

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

anastasis_gtk_challenge_iban.ui (15528B)


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