diff options
Diffstat (limited to 'src/gtk/history_box.ui')
-rw-r--r-- | src/gtk/history_box.ui | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/src/gtk/history_box.ui b/src/gtk/history_box.ui new file mode 100644 index 0000000..b761624 --- /dev/null +++ b/src/gtk/history_box.ui @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="FurHistoryBox" parent="GtkBox"> + <child> + <object class="GtkStack" id="stack"> + <property name="transition_type">crossfade</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkStackPage"> + <property name="name">loading</property> + <property name="child"> + <object class="GtkSpinner" id="spinner"> + <property name="halign">center</property> + <property name="width-request">32</property> + </object> + </property> + </object> + </child> + <child> + <object class="GtkStackPage"> + <property name="name">empty</property> + <property name="child"> + <object class="AdwStatusPage" id="welcome_page"> + <property name="title" translatable="yes">Start Tracking</property> + <property name="icon_name">com.lakoliu.Furtherance</property> + <property name="child"> + <object class="GtkGrid"> + <property name="halign">center</property> + <property name="row_spacing">12</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkImage"> + <property name="icon_name">list-add-symbolic</property> + <layout> + <property name="column">0</property> + <property name="row">0</property> + </layout> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="halign">start</property> + <property name="label" translatable="yes">Type your task and press start</property> + <layout> + <property name="column">1</property> + <property name="row">0</property> + </layout> + </object> + </child> + <child> + <object class="GtkImage"> + <property name="icon_name">window-new-symbolic</property> + <layout> + <property name="column">0</property> + <property name="row">1</property> + </layout> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="halign">start</property> + <property name="label" translatable="yes">Prior tasks will show up here</property> + <layout> + <property name="column">1</property> + <property name="row">1</property> + </layout> + </object> + </child> + </object> + </property> + </object> + </property> + </object> + </child> + <child> + <object class="GtkStackPage"> + <property name="name">tasks</property> + <property name="child"> + <object class="FurTasksPage" id="tasks_page"/> + </property> + </object> + </child> + </object> + </child> + </template> +</interface> |