blob: 87d169887f6b23fdf1b837a6946775759d20692c [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.10"/>
<template class="AccountDevicesTab" parent="GtkBox">
<child>
<object class="GtkStack" id="stack_account_devices">
<property name="visible">True</property>
<property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property>
<property name="transition-duration">300</property>
<!-- Manage devices view -->
<child>
<object class="GtkBox" id="manage_devices">
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">My Device ID:</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<property name="use_markup">True</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_device_id">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selectable">True</property>
<property name="label">DEVICE_ID</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Devices</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<property name="use_markup">True</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<property name="min-content-height">225</property>
<property name="hscrollbar_policy">never</property>
<child>
<object class="GtkTreeView" id="treeview_devices">
<property name="visible">True</property>
<property name="can_focus">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="button_add_device">
<property name="halign">center</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Add device</property>
</object>
</child>
</object>
</child>
<!-- End Manage devices view -->
<!-- Add device view -->
<child>
<object class="GtkBox" id="add_device">
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<!-- Title Row -->
<child>
<object class="GtkLabel" id="label_devices">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Add New Device</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<property name="use_markup">True</property>
</object>
</child>
<!-- Explaination row -->
<child>
<object class="GtkLabel" id="label_explaination">
<property name="visible">True</property>
<property name="halign">center</property>
<property name="max-width-chars">80</property>
<property name="can_focus">False</property>
<property name="use_markup">True</property>
<property name="label" translatable="yes">To add a new device to your Ring account, you export your account on the Ring. This will generate a pin that must be entered on your new device within 5 minutes of its generation.</property>
<property name="wrap">True</property>
</object>
</child>
<!-- End of Explaination row -->
<!-- Password entry -->
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Password (required):</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry_password">
<property name="halign">center</property>
<property name="width-chars">40</property>
<property name="visible">True</property>
<property name="visibility">False</property>
<property name="primary_icon_stock">gtk-dialog-authentication</property>
<property name="input_purpose">password</property>
<property name="tooltip-text" translatable="yes">Enter archive password</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<!-- End of password entry row -->
<!-- Cancel and export on ring buttons -->
<child>
<object class="GtkButtonBox" id="buttonbox_confirm">
<property name="visible">True</property>
<property name="layout-style">spread</property>
<property name="spacing">10</property>
<child>
<object class="GtkButton" id="button_add_device_cancel">
<property name="visible">True</property>
<property name="label" translatable="yes">Cancel</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_export_on_the_ring">
<property name="visible">True</property>
<property name="label" translatable="yes">Export on the Ring</property>
</object>
</child>
</object>
</child>
<!-- end Cancel and Generate pin buttons -->
</object>
</child>
<!-- End add device view -->
<!-- Generating pin spinner -->
<child>
<object class="GtkBox" id="vbox_generating_pin_spinner">
<property name="valign">center</property>
<property name="border_width">10</property>
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<child>
<object class="GtkLabel">
<property name="can_focus">False</property>
<property name="label" translatable="yes">Exporting account on the Ring...</property>
</object>
</child>
<child>
<object class="GtkSpinner">
<property name="can_focus">False</property>
<property name="active">True</property>
<property name="height_request">50</property>
</object>
</child>
</object>
</child>
<!-- End Generating account spinner -->
<!-- Generated pin view -->
<child>
<object class="GtkBox" id="generated_pin">
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Your generated pin:</property>
<property name="use_markup">True</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_generated_pin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">PIN HERE</property>
<property name="selectable">True</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="max-width-chars">80</property>
<property name="label">This pin and the account password should be entered on your new device within 5 minutes. On most client, this is done from the "Existing Ring account" menu. You may generate a new pin at any moment.</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_generated_pin_ok">
<property name="halign">center</property>
<property name="width-request">100</property>
<property name="visible">True</property>
<property name="label" translatable="yes">OK</property>
</object>
</child>
</object>
</child>
<!-- End Generated pin view -->
<!-- Export on Ring error -->
<child>
<object class="GtkBox" id="export_on_ring_error">
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<child>
<object class="GtkLabel" id="label_export_on_ring_error">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_markup">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_export_on_ring_error_ok">
<property name="visible">True</property>
<property name="label" translatable="yes">OK</property>
</object>
</child>
</object>
</child>
<!-- End export on Ring error -->
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</template>
</interface>