You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jade-gui/jade_gui/pages/partition_screen.ui

159 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkButton" id="reload_partitions">
<property name="icon-name">view-refresh-symbolic</property>
<style>
<class name="flat"/>
</style>
</object>
<template class="PartitionScreen" parent="AdwBin">
<property name="vexpand">true</property>
<property name="hexpand">true</property>
<child>
<object class="GtkBox">
<property name="valign">fill</property>
<property name="halign">fill</property>
<child>
<object class="GtkBox" id="manual_partitioning_page">
<property name="visible">False</property>
<property name="orientation">vertical</property>
<property name="halign">fill</property>
<property name="valign">fill</property>
<child>
<object class="AdwStatusPage">
<property
name="title"
translatable="true">Select partitions to install to</property>
<property
name="description"
translatable="true">Make sure to have at least one root partition.</property>
<property name="css-classes">jade_compact</property>
<property name="vexpand">true</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="AdwClamp">
<child>
<object class="AdwPreferencesGroup">
<property
name="title"
translatable="true">Quick Actions</property>
<child>
<object class="GtkBox">
<property
name="orientation">horizontal</property>
<property name="halign">center</property>
<property name="spacing">10</property>
<child>
<object
class="GtkButton"
id="automatic_partitioning">
<property
name="label"
translatable="true">Automatic Partitioning</property>
</object>
</child>
<child>
<object class="GtkButton" id="open_gparted">
<property
name="label"
translatable="true">Open GParted</property>
</object>
</child>
<child>
<object class="GtkButton" id="open_bash">
<property
name="label"
translatable="true">Open terminal</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwClamp">
<child>
<object class="AdwPreferencesGroup">
<property
name="title"
translatable="true">Available partitions</property>
<property
name="header-suffix">reload_partitions</property>
<child>
<object class="GtkListBox" id="partition_list">
<property name="margin-bottom">95</property>
<style>
<class name="boxed-list"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="automatic_partitioning_page">
<property name="visible">true</property>
<property name="hexpand">true</property>
<property name="vexpand">true</property>
<child>
<object class="AdwStatusPage">
<property name="hexpand">true</property>
<property name="vexpand">true</property>
<property
name="title"
translatable="true">Select Installation Disk</property>
<property
name="description"
translatable="true">Select the disk you want to install Crystal Linux on. This will wipe the entire disk you selected.</property>
<child>
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<child>
<object class="GtkButton" id="manual_partitioning">
<property name="margin-start">70</property>
<property name="margin-end">70</property>
<property name="margin-bottom">20</property>
<property
name="label"
translatable="true">Switch to manual partitioning</property>
<style>
<class name="pill"/>
</style>
</object>
</child>
<child>
<object class="GtkListBox" id="disk_list">
<property
name="activate-on-single-click">true</property>
<style>
<class name="boxed-list"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>