To reduce the amount of technical information to ordinary users, the panel and technical descriptions are simplified and reduced. The major revision is shown as follows: 1. The result of the check items view is removed and the detailed information can be found by copying them to the clipboard and pasting them to any place the users want. 2. The security status is only shown in the security dialog. All the bottoms are removed. 3. The loading spinner is added when the panel is launched. 4. A "status unavailable" page is added for the system which fwupd is unable to determine the security level. Signed-off-by: Kate Hsuan <hpa@redhat.com>
164 lines
7.1 KiB
XML
164 lines
7.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcFirmwareSecurityDialog" parent="AdwWindow">
|
|
<property name="default-width">500</property>
|
|
<property name="default-height">470</property>
|
|
<property name="modal">True</property>
|
|
<child>
|
|
<object class="AdwLeaflet" id="leaflet">
|
|
<property name="can-unfold">False</property>
|
|
<child>
|
|
<object class="AdwLeafletPage">
|
|
<property name="child">
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
<object class="GtkHeaderBar">
|
|
<property name="valign">start</property>
|
|
<property name="show-title-buttons">True</property>
|
|
<property name="title-widget">
|
|
<object class="AdwWindowTitle">
|
|
<property name="title" translatable="yes">Device Security Status</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwToastOverlay" id="toast_overlay">
|
|
<property name="hexpand">True</property>
|
|
<property name="valign">baseline</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="child">
|
|
<object class="AdwPreferencesPage">
|
|
<property name="vexpand-set">True</property>
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="GtkImage" id="firmware_security_dialog_icon">
|
|
<property name="margin-start">16</property>
|
|
<property name="margin-end">16</property>
|
|
<property name="margin-top">16</property>
|
|
<property name="pixel-size">32</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="icon-name">dialog-question-symbolic</property>
|
|
<style>
|
|
<class name="security-level-icon"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="GtkLabel" id="firmware_security_dialog_title_label">
|
|
<style>
|
|
<class name="title-2" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="GtkLabel" id="firmware_security_dialog_body_label">
|
|
<property name="wrap">True</property>
|
|
<property name="justify">center</property>
|
|
<property name="margin-start">32</property>
|
|
<property name="margin-end">32</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="GtkButton" id="status_download_button">
|
|
<property name="receives-default">True</property>
|
|
<property name="sensitive">True</property>
|
|
<property name="halign">center</property>
|
|
<property name="label">Copy Technical Report</property>
|
|
<signal name="clicked" handler="on_hsi_detail_button_clicked_cb" swapped="no" />
|
|
<style>
|
|
<class name="pill" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwLeafletPage">
|
|
<property name="child">
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
<object class="GtkHeaderBar">
|
|
<property name="valign">start</property>
|
|
<property name="show-title-buttons">True</property>
|
|
<property name="title-widget">
|
|
<object class="AdwWindowTitle" id="second_page_title" />
|
|
</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="height-request">12</property>
|
|
|
|
<property name="icon-name">go-previous-symbolic</property>
|
|
<signal name="clicked" handler="on_fw_back_button_clicked_cb" swapped="no" />
|
|
<style>
|
|
<class name="image-button" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesPage">
|
|
<child>
|
|
<object class="AdwPreferencesGroup" id="firmware_security_dialog_hsi1_pg">
|
|
<property name="visible">False</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwPreferencesGroup" id="firmware_security_dialog_hsi2_pg">
|
|
<property name="visible">False</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwPreferencesGroup" id="firmware_security_dialog_hsi3_pg">
|
|
<property name="visible">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|