mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Remove EOL and Install Type bubble tags
This commit is contained in:
@@ -119,7 +119,7 @@ class OrphansWindow(Adw.Window):
|
||||
remote_row = Adw.ActionRow(title=self.host_remotes[i][1])
|
||||
label = Gtk.Label(label=_("{} wide").format(self.host_remotes[i][7]), valign=Gtk.Align.CENTER)
|
||||
remote_select = Gtk.CheckButton()
|
||||
label.add_css_class("installType")
|
||||
label.add_css_class("subtitle")
|
||||
remote_select_buttons.append(remote_select)
|
||||
remote_select.connect("toggled", remote_select_handler)
|
||||
remote_row.set_activatable_widget(remote_select)
|
||||
|
||||
@@ -78,7 +78,7 @@ class RemotesWindow(Adw.Window):
|
||||
remote_row.set_title(name)
|
||||
self.remotes_list.append(remote_row)
|
||||
label = Gtk.Label(label=("{} wide").format(install_type), valign=Gtk.Align.CENTER)
|
||||
label.add_css_class("installType")
|
||||
label.add_css_class("subtitle")
|
||||
remote_row.add_suffix(label)
|
||||
copy_button = Gtk.Button(icon_name="edit-copy-symbolic", valign=Gtk.Align.CENTER, tooltip_text=_("Copy remote name"))
|
||||
copy_button.add_css_class("flat")
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
.eolText {
|
||||
background-color: #ff0000b7;
|
||||
color: #fafafa;
|
||||
border-radius: 1000px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.installType {
|
||||
background-color: #0077ffd0;
|
||||
color: #fafafa;
|
||||
border-radius: 1000px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -287,13 +287,13 @@ class WarehouseWindow(Adw.ApplicationWindow):
|
||||
flatpak_row.set_subtitle(app_id)
|
||||
|
||||
if "eol" in self.host_flatpaks[index][12]:
|
||||
eol_app_label = Gtk.Label(label=_("Flatpak EOL"), valign=Gtk.Align.CENTER, tooltip_text=_("This Flatpak has reached its End of Life and will not receive any security updates"))
|
||||
eol_app_label.add_css_class("eolText")
|
||||
eol_app_label = Gtk.Label(label=_("EOL"), valign=Gtk.Align.CENTER, tooltip_text=_("This Flatpak has reached its End of Life and will not receive any security updates"))
|
||||
eol_app_label.add_css_class("error")
|
||||
flatpak_row.add_suffix(eol_app_label)
|
||||
|
||||
if self.host_flatpaks[index][13] in self.eol_list:
|
||||
eol_runtime_label = Gtk.Label(label=_("Runtime EOL"), valign=Gtk.Align.CENTER, tooltip_text=_("The runtime used by this app has reached its End of Life and will not receive any security updates"))
|
||||
eol_runtime_label.add_css_class("eolText")
|
||||
eol_runtime_label = Gtk.Label(label=_("EOL"), valign=Gtk.Align.CENTER, tooltip_text=_("The runtime used by this app has reached its End of Life and will not receive any security updates"))
|
||||
eol_runtime_label.add_css_class("error")
|
||||
flatpak_row.add_suffix(eol_runtime_label)
|
||||
|
||||
properties_button = Gtk.Button(icon_name="info-symbolic", valign=Gtk.Align.CENTER, tooltip_text=_("View Properties"))
|
||||
|
||||
Reference in New Issue
Block a user