New backup 2025-07-05 17:00:01

This commit is contained in:
Penelope Gwen 2025-07-05 17:00:01 -07:00
parent 4addfc27ca
commit 8fbc9c8bfc

View file

@ -10,25 +10,29 @@
:height 150 :height 150
:space-evenly true :space-evenly true
(for software in json (for software in json
(button :onclick "notify-send '${software.package_name}'" (button :onclick "notify-send '${software.package_name}' 'upstream: ${software.upstream_version}\npackage: ${software.package_version}'"
(box (box
:orientation "h" :orientation "h"
(label (label
;; :xalign 0 ;; :xalign 0
:halign "fill"
:hexpand true
:wrap false :wrap false
:truncate false :truncate true
:text "${software.package_name}") :text "${software.package_name}")
(box
:orientation "v"
:halign "end"
(label (label
;; :xalign 0.5 :valign "end"
:class "timestamp" :class "timestamp"
:text "deb: ${software.package_version}") :text " ${software.upstream_version}")
(label (label
;; :xalign 0.5 :valign "start"
:class "timestamp" :class "timestamp"
:text "upstream: ${software.upstream_version}") :text " ${software.package_version}"))
(label (label
;; :xalign 0.5 :halign "end"
:class "timestamp"
:style {(software.up_to_date == "true" ) ? "color: green;" : "color: red;"} :style {(software.up_to_date == "true" ) ? "color: green;" : "color: red;"}
:text {(software.up_to_date == "true" ) ? "Up to date!" : "Out of date!"})))) :text {(software.up_to_date == "true" ) ? "" : ""}))))
)) ))