2020-11-14 22:32:21 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<interface>
|
2021-01-25 14:00:57 +01:00
|
|
|
<requires lib="gtk" version="4.0"/>
|
2021-01-29 15:17:27 +01:00
|
|
|
<requires lib="libadwaita" version="1.0"/>
|
2021-01-30 22:23:03 +01:00
|
|
|
<object class="GtkStack" id="widget">
|
|
|
|
|
<property name="transition-type">crossfade</property>
|
2020-11-14 22:32:21 +01:00
|
|
|
<child>
|
2021-01-30 22:23:03 +01:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
|
<property name="name">content</property>
|
|
|
|
|
<property name="child">
|
|
|
|
|
<object class="GtkBox">
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="AdwHeaderBar">
|
|
|
|
|
<property name="show-start-title-buttons">false</property>
|
|
|
|
|
<property name="show-end-title-buttons">false</property>
|
|
|
|
|
<property name="title-widget">
|
|
|
|
|
<object class="GtkLabel">
|
|
|
|
|
</object>
|
|
|
|
|
</property>
|
2020-11-14 22:32:21 +01:00
|
|
|
<child>
|
2021-01-30 22:23:03 +01:00
|
|
|
<object class="GtkButton" id="cancel_button">
|
|
|
|
|
<property name="label" translatable="yes">Cancel</property>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 22:23:03 +01:00
|
|
|
<child type="end">
|
|
|
|
|
<object class="GtkButton" id="login_button">
|
|
|
|
|
<property name="label" translatable="yes">Login</property>
|
|
|
|
|
<style>
|
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
|
</style>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 22:23:03 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkInfoBar" id="info_bar">
|
|
|
|
|
<property name="revealed">False</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
|
<property name="vexpand">true</property>
|
2020-11-14 22:32:21 +01:00
|
|
|
<child>
|
2021-01-30 22:23:03 +01:00
|
|
|
<object class="AdwClamp">
|
|
|
|
|
<property name="margin-start">12</property>
|
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
|
<property name="margin-top">18</property>
|
|
|
|
|
<property name="margin-bottom">12</property>
|
2021-01-30 23:16:44 +01:00
|
|
|
<property name="maximum-size">800</property>
|
2021-01-25 14:00:57 +01:00
|
|
|
<child>
|
2021-01-30 23:16:44 +01:00
|
|
|
<object class="GtkBox">
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="spacing">12</property>
|
2021-01-25 14:00:57 +01:00
|
|
|
<child>
|
2021-01-30 23:16:44 +01:00
|
|
|
<object class="GtkLabel">
|
|
|
|
|
<property name="halign">start</property>
|
|
|
|
|
<property name="label" translatable="yes">Login to existing account</property>
|
|
|
|
|
<attributes>
|
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
|
</attributes>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkFrame">
|
|
|
|
|
<property name="valign">start</property>
|
2021-01-30 22:23:03 +01:00
|
|
|
<child>
|
2021-01-30 23:16:44 +01:00
|
|
|
<object class="GtkListBox">
|
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="AdwActionRow">
|
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
|
<property name="title" translatable="yes">Username</property>
|
|
|
|
|
<property name="activatable-widget">username_entry</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkEntry" id="username_entry">
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 22:23:03 +01:00
|
|
|
<child>
|
2021-01-30 23:16:44 +01:00
|
|
|
<object class="AdwActionRow">
|
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
|
<property name="title" translatable="yes">Password</property>
|
|
|
|
|
<property name="activatable-widget">password_entry</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkEntry" id="password_entry">
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
|
<property name="visibility">False</property>
|
|
|
|
|
<property name="input-purpose">password</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 22:23:03 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 23:16:44 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
2021-02-07 00:43:59 +01:00
|
|
|
<object class="GtkBox" id="register_box">
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkLabel">
|
|
|
|
|
<property name="halign">start</property>
|
|
|
|
|
<property name="label" translatable="yes">Create a new account</property>
|
|
|
|
|
<attributes>
|
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
|
</attributes>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkFrame">
|
|
|
|
|
<property name="valign">start</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkListBox">
|
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="AdwActionRow">
|
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
|
<property name="title" translatable="yes">Register a new account</property>
|
|
|
|
|
<property name="activatable-widget">register_button</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="register_button">
|
|
|
|
|
<property name="label" translatable="yes">Start</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 23:16:44 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
2021-02-07 00:43:59 +01:00
|
|
|
<object class="GtkBox" id="logout_box">
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
|
<property name="visible">false</property>
|
2021-01-30 22:23:03 +01:00
|
|
|
<child>
|
2021-02-07 00:43:59 +01:00
|
|
|
<object class="GtkLabel">
|
|
|
|
|
<property name="halign">start</property>
|
|
|
|
|
<property name="label" translatable="yes">Logout</property>
|
|
|
|
|
<attributes>
|
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
|
</attributes>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkFrame">
|
|
|
|
|
<property name="valign">start</property>
|
2021-01-30 22:23:03 +01:00
|
|
|
<child>
|
2021-02-07 00:43:59 +01:00
|
|
|
<object class="GtkListBox">
|
|
|
|
|
<property name="selection-mode">none</property>
|
2021-01-30 23:16:44 +01:00
|
|
|
<child>
|
2021-02-07 00:43:59 +01:00
|
|
|
<object class="AdwActionRow">
|
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
|
<property name="title" translatable="yes">Don't use an account</property>
|
|
|
|
|
<property name="activatable-widget">logout_button</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="logout_button">
|
|
|
|
|
<property name="label" translatable="yes">Logout</property>
|
|
|
|
|
<property name="valign">center</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 23:16:44 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-30 22:23:03 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-25 14:00:57 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
2021-01-25 14:00:57 +01:00
|
|
|
</object>
|
2021-01-30 22:23:03 +01:00
|
|
|
</child>
|
2021-01-25 14:00:57 +01:00
|
|
|
</object>
|
2021-01-30 22:23:03 +01:00
|
|
|
</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
|
<property name="name">loading</property>
|
|
|
|
|
<property name="child">
|
|
|
|
|
<object class="GtkBox">
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="AdwHeaderBar">
|
|
|
|
|
<property name="show-start-title-buttons">false</property>
|
|
|
|
|
<property name="show-end-title-buttons">false</property>
|
|
|
|
|
<property name="title-widget">
|
|
|
|
|
<object class="GtkLabel">
|
|
|
|
|
<property name="label" translatable="yes">Login</property>
|
|
|
|
|
<style>
|
|
|
|
|
<class name="title"/>
|
|
|
|
|
</style>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
2021-01-30 22:23:03 +01:00
|
|
|
</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkSpinner">
|
|
|
|
|
<property name="spinning">true</property>
|
|
|
|
|
<property name="hexpand">true</property>
|
|
|
|
|
<property name="vexpand">true</property>
|
|
|
|
|
<property name="halign">center</property>
|
|
|
|
|
<property name="valign">center</property>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
2021-01-30 22:23:03 +01:00
|
|
|
</child>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
2021-01-30 22:23:03 +01:00
|
|
|
</property>
|
2020-11-14 22:32:21 +01:00
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</interface>
|