diff --git a/static/css/custom.css b/static/css/custom.css index 2f4f99d..7d488a3 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -37,4 +37,20 @@ pre code.hljs { .hljs-function { color: #dcdcaa; } .hljs-built_in { color: #4ec9b0; } .hljs-symbol { color: #d16969; } -.hljs-literal { color: #d16969; } \ No newline at end of file +.hljs-literal { color: #d16969; } + + pre code { + counter-reset: line; + } + pre code span { + counter-increment: line; + } + /* Optional: Zeilennummern (braucht CSS) */ + pre code::before { + content: counter(line) " "; + display: inline-block; + width: 3em; + text-align: right; + color: #6a9955; + user-select: none; + } \ No newline at end of file diff --git a/templates/admin_logs.html b/templates/admin_logs.html index 2ebf8e0..940d373 100644 --- a/templates/admin_logs.html +++ b/templates/admin_logs.html @@ -15,37 +15,20 @@ {% endfor %} - +
{{ logs | safe }}
--->
-
+
+
Zurück zum Admin