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
|
||||
:space-evenly true
|
||||
(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
|
||||
:orientation "h"
|
||||
(label
|
||||
;; :xalign 0
|
||||
:halign "fill"
|
||||
:hexpand true
|
||||
:wrap false
|
||||
:truncate false
|
||||
:truncate true
|
||||
:text "${software.package_name}")
|
||||
(box
|
||||
:orientation "v"
|
||||
:halign "end"
|
||||
(label
|
||||
;; :xalign 0.5
|
||||
:valign "end"
|
||||
:class "timestamp"
|
||||
:text "deb: ${software.package_version}")
|
||||
:text " ${software.upstream_version}")
|
||||
(label
|
||||
;; :xalign 0.5
|
||||
:valign "start"
|
||||
:class "timestamp"
|
||||
:text "upstream: ${software.upstream_version}")
|
||||
:text " ${software.package_version}"))
|
||||
(label
|
||||
;; :xalign 0.5
|
||||
:class "timestamp"
|
||||
:halign "end"
|
||||
: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