Spoolman support close #1060

Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
This commit is contained in:
Blonďákandalfrix authored and GitHub committed 2023-08-19 18:43:45 -03:00
1 parent 65c4b172e8
commit af1de12f28
26 files changed
+1356 -26

No files matched your search

+30 -12
View File
@@ -11,11 +11,41 @@ button:disabled {
opacity: .2;
}
list row,
treeview.view,
window {
background-color: #13181C;
-gtk-icon-shadow: none;
}
switch slider {
border: 0;
}
switch, treeview.view check {
margin: 0.75em;
min-width: 6em;
min-height: 3em;
border: 0;
border-radius: 3em;
}
treeview.view check {
background-color: rgb(32,41,47);
-gtk-icon-source: -gtk-icontheme("switch-off-symbolic");
background-repeat: no-repeat;
background-position: left center;
background-size : 3em 3em;
background-image: image(url("./styles/circle.svg"));
-gtk-icon-transform: translateX(1.5em);
}
treeview.view check:checked {
background-color : rgb(53,132,228);
background-position: right center;
-gtk-icon-source: -gtk-icontheme("switch-on-symbolic");
-gtk-icon-transform: translateX(-1.5em);
}
button {
background-image: none;
background-color: #13181C;
@@ -110,18 +140,6 @@ combobox arrow {
min-width: 1em;
}
switch {
margin: 0.75em;
min-width: 6em;
min-height: 3em;
border: 0;
border-radius: 3em;
}
switch slider {
border: 0;
}
entry {
font-size: 1em;
background-color: #20292F;