diff --git a/backend/static/css/style.css b/backend/static/css/style.css
index b58490d..bbcb86a 100644
--- a/backend/static/css/style.css
+++ b/backend/static/css/style.css
@@ -24,6 +24,10 @@
/* Misc */
--copy-highlight-color: rgba(251, 255, 0, 0.6);
+
+ /* Toasts */
+ --toast-background-color: #ffffff;
+ --toast-text-color: #212529;
}
@@ -188,6 +192,16 @@ pre {
);
}
+.toast {
+ background-color: var(--toast-background-color);
+ color: var(--toast-text-color);
+}
+
+.toast-header {
+ background-color: var(--toast-background-color);
+ color: var(--toast-text-color);
+}
+
@media (prefers-color-scheme: dark) {
:root {
/* Navbar */
@@ -212,5 +226,9 @@ pre {
/* Input */
--input-background-color: #343434;
+
+ /* Toasts */
+ --toast-background-color: #232323;
+ --toast-text-color: #f5f5f5;
}
}
\ No newline at end of file
diff --git a/backend/templates/main.html b/backend/templates/main.html
index 0cbef50..0e0e1ae 100644
--- a/backend/templates/main.html
+++ b/backend/templates/main.html
@@ -1,5 +1,3 @@
-
-
{% extends 'base.html' %}
{% block title %}Warteliste{% endblock %}
{% block content %}
@@ -9,7 +7,7 @@
data-url="/api/queue"
data-pagination="true"
data-classes="table"
- data-show-refresh="false"
+ data-show-refresh="false"
data-auto-refresh="true"
data-auto-refresh-interval="10">
@@ -25,53 +23,53 @@
{% endblock %}
{% block extrajs %}
{% endblock %}
\ No newline at end of file
diff --git a/backend/templates/main_admin.html b/backend/templates/main_admin.html
index 4649063..468342d 100644
--- a/backend/templates/main_admin.html
+++ b/backend/templates/main_admin.html
@@ -27,8 +27,8 @@
|
Name |
- Song |
- Künstler |
+ Song |
+ Künstler |
Aktionen |
@@ -195,8 +195,8 @@
}
function CopyFormatter(value, row, index) {
- let escapedString = value.replace("\"","\\\"").replace("\'", "\\\'")
- return ""+value+"";
+ let escapedString = value.replace("\"", "\\\"").replace("\'", "\\\'")
+ return "" + value + "";
}
function getIdSelections() {
@@ -212,9 +212,9 @@
message: text,
status: 1,
timeout: 5000
- };
+ };
Toast.create(toast);
- })
+ })
}
{% endblock %}
\ No newline at end of file