From: Christian Heller Date: Sun, 28 Apr 2024 22:07:30 +0000 (+0200) Subject: Improve button layouts. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/template?a=commitdiff_plain;h=2c3365447f36c26f2f55cc2a1b42a1e3ad0a8db9;p=plomtask Improve button layouts. --- diff --git a/templates/base.html b/templates/base.html index 3408d67..71c79b4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,6 +8,18 @@ body { ul { list-style-type: none; } +input.btn-harmless { + color: green; +} +input.btn-dangerous { + color: red; +} +div.btn-to-right { + float: right; + text-align: right; +} +{% block css %} +{% endblock %} processes diff --git a/templates/process.html b/templates/process.html index 8c219c6..8a50e15 100644 --- a/templates/process.html +++ b/templates/process.html @@ -1,5 +1,20 @@ {% extends 'base.html' %} +{% block css %} +input.btn-harmless { + color: green; +} +input.btn-dangerous { + color: red; +} +div.btn-to-right { + float: right; + text-align: right; +} +{% endblock %} + + + {% macro step_with_steps(step_id, step_node, indent) %} @@ -30,6 +45,8 @@ add step: @@ -122,8 +139,10 @@ add step: {{candidate.title.newest|e}} {% endfor %} - - + +
+ +

step of