diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-11 20:37:40 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-11 20:37:40 +0900 |
| commit | 89e42d469a48fcf5e2eb54e5fc67c8a7c38fc41a (patch) | |
| tree | 46ebba9573c6ae44a09ae13aa070bf95db35f21f /hetzner-admin/app.py | |
| parent | 5b4aee69b4c6bf295bc44aad6171e17a0d80e63c (diff) | |
UI: stack admin buttons vertically
Change button layout from inline (margin-right) to block (margin-bottom)
for better mobile/readability on hetzner-admin web interface.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'hetzner-admin/app.py')
| -rw-r--r-- | hetzner-admin/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hetzner-admin/app.py b/hetzner-admin/app.py index c3dbffc..c63da80 100644 --- a/hetzner-admin/app.py +++ b/hetzner-admin/app.py @@ -31,7 +31,7 @@ HTML = """<!DOCTYPE html> <body> <h3>Server Admin</h3> {% for label, _ in commands %} -<form method="post" action="/run" style="display:inline;margin-right:4px"> +<form method="post" action="/run" style="display:block;margin-bottom:8px"> <input type="hidden" name="cmd" value="{{ label }}"> {% if label == "Reboot Server" %} <button onclick="return confirm('Really reboot?')">{{ label }}</button> |
