From 2c3365447f36c26f2f55cc2a1b42a1e3ad0a8db9 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 29 Apr 2024 00:07:30 +0200 Subject: [PATCH] Improve button layouts. --- templates/base.html | 12 ++++++++++++ templates/process.html | 23 +++++++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) 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