summaryrefslogtreecommitdiffstats
path: root/src/gs-license-tile.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-license-tile.ui')
-rw-r--r--src/gs-license-tile.ui115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/gs-license-tile.ui b/src/gs-license-tile.ui
new file mode 100644
index 0000000..e69581e
--- /dev/null
+++ b/src/gs-license-tile.ui
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.10"/>
+ <template class="GsLicenseTile" parent="GtkWidget">
+ <child>
+ <object class="GtkListBox">
+ <property name="selection_mode">none</property>
+ <property name="valign">start</property>
+ <signal name="row-activated" handler="gs_license_tile_row_activated_cb"/>
+ <style>
+ <class name="boxed-list"/>
+ </style>
+
+ <child>
+ <object class="GtkListBoxRow">
+ <property name="activatable">False</property>
+ <property name="focusable">False</property>
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <property name="spacing">8</property>
+ <property name="margin-top">14</property>
+ <property name="margin-bottom">14</property>
+ <property name="margin-start">14</property>
+ <property name="margin-end">14</property>
+
+ <child>
+ <object class="GtkBox">
+ <property name="halign">center</property>
+ <property name="orientation">horizontal</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <object class="GsLozenge" id="lozenge0">
+ <property name="circular">True</property>
+ <property name="icon-name">heart-filled-symbolic</property>
+ <style>
+ <class name="green"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GsLozenge" id="lozenge1">
+ <property name="circular">True</property>
+ <property name="icon-name">community-symbolic</property>
+ <style>
+ <class name="green"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GsLozenge" id="lozenge2">
+ <property name="circular">True</property>
+ <property name="icon-name">sign-language-symbolic</property>
+ <style>
+ <class name="green"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="title_label">
+ <!-- This text is a placeholder and will be set dynamically -->
+ <property name="label">Community Built</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="description_label">
+ <!-- This text is a placeholder and will be set dynamically -->
+ <property name="label">This software is developed in the open by a community of volunteers, and released under the GNU GPL v3 license.\n\nYou can contribute and help make it even better.</property>
+ <property name="use-markup">True</property>
+ <property name="wrap">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkListBoxRow">
+ <property name="activatable">True</property>
+ <property name="visible" bind-source="get_involved_label" bind-property="visible" bind-flags="sync-create"/>
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">horizontal</property>
+ <property name="halign">center</property>
+ <property name="margin-top">12</property>
+ <property name="margin-bottom">12</property>
+ <child>
+ <object class="GtkLabel" id="get_involved_label">
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="label" translatable="yes">_Get Involved</property>
+ <property name="use-underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">external-link-symbolic</property>
+ <property name="margin-start">6</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>