New backup 2025-07-05 17:00:01
This commit is contained in:
parent
4addfc27ca
commit
8fbc9c8bfc
1 changed files with 17 additions and 13 deletions
|
@ -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
|
||||||
|
:valign "end"
|
||||||
|
:class "timestamp"
|
||||||
|
:text " ${software.upstream_version}")
|
||||||
|
(label
|
||||||
|
:valign "start"
|
||||||
|
:class "timestamp"
|
||||||
|
:text " ${software.package_version}"))
|
||||||
(label
|
(label
|
||||||
;; :xalign 0.5
|
:halign "end"
|
||||||
:class "timestamp"
|
|
||||||
:text "deb: ${software.package_version}")
|
|
||||||
(label
|
|
||||||
;; :xalign 0.5
|
|
||||||
:class "timestamp"
|
|
||||||
:text "upstream: ${software.upstream_version}")
|
|
||||||
(label
|
|
||||||
;; :xalign 0.5
|
|
||||||
: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" ) ? "" : ""}))))
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Reference in a new issue