Skip to content

Commit

Permalink
fix(printing): make status table prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hstievat committed Jan 26, 2025
1 parent 8e28cd4 commit ae78176
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions intranet/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@
"dark/files",
"dark/welcome",
"dark/preferences",
"dark/printing",
"dark/about",
"dark/lostfound",
"dark/eighth.signup",
Expand Down
15 changes: 15 additions & 0 deletions intranet/static/css/dark/printing.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@import "../colors";

.working {
background-color: #37D237;
color: $grey;
}

.broken {
background-color: #d0c000;
color: $grey;
}

.error {
background-color: #EB0000;
}
2 changes: 1 addition & 1 deletion intranet/static/css/printing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
.printer-status {
text-align: center;
min-width: 200px;
margin: 15px;
margin: 5px;
padding: 15px;
border: 3px solid #888;
}
Expand Down
1 change: 1 addition & 0 deletions intranet/templates/printing/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
{% if dark_mode_enabled %}
{% stylesheet 'dark/base' %}
{% stylesheet 'dark/nav' %}
{% stylesheet 'dark/printing' %}
{% endif %}
{% endblock %}

Expand Down

0 comments on commit ae78176

Please sign in to comment.