From 3a4554bcbf11e31d38ebc8a51e3ce2fe802e7824 Mon Sep 17 00:00:00 2001 From: catborise Date: Tue, 27 Oct 2026 20:16:49 +0300 Subject: [PATCH] refactor(templates): the last inline styles that Bootstrap covers - The VM list's power forms (style="display:inline") are d-inline. - The fields scripts show and hide are d-none, and the scripts add and remove that class instead of calling jQuery's show() and hide(), which could not undo it: the custom memory boxes of the Resize tab, the ISO upload's error message and the clone dialog's metadata row. - The please-wait dialog's full bar is w-100. - The create-VM pages' own 56rem width (.create-vm) goes: pages stop at 960px now, about the same. - static/css/font-awesome.min.css goes: no page loaded it, no element used its classes and its fonts were never in the repository. --- instances/templates/create_instance_w1.html | 6 +----- instances/templates/create_instance_w2.html | 3 +-- instances/templates/instance.html | 2 +- instances/templates/instance_actions.html | 12 ++++++------ instances/templates/instances/resize_tab.html | 4 ++-- static/css/font-awesome.min.css | 4 ---- storages/templates/create_stg_vol_block.html | 2 +- storages/templates/storage.html | 10 +++++----- templates/pleasewaitdialog.html | 2 +- 9 files changed, 18 insertions(+), 27 deletions(-) delete mode 100755 static/css/font-awesome.min.css diff --git a/instances/templates/create_instance_w1.html b/instances/templates/create_instance_w1.html index 72bc2da0..002e5bc7 100644 --- a/instances/templates/create_instance_w1.html +++ b/instances/templates/create_instance_w1.html @@ -5,17 +5,13 @@ {% block title %}{% trans "Create new instance" %} - {% trans "Machine" %}{% endblock %} -{% block style %} - -{% endblock %} - {% block page_heading%} {% blocktrans with host=compute.name %}New instance on {{ host }} {% endblocktrans %} {% endblock page_heading %} {% block content %} {% include 'pleasewaitdialog.html' %} -
+
{% include "create_steps.html" with step=2 %}
diff --git a/instances/templates/create_instance_w2.html b/instances/templates/create_instance_w2.html index 399ae454..7f35cc87 100644 --- a/instances/templates/create_instance_w2.html +++ b/instances/templates/create_instance_w2.html @@ -13,7 +13,6 @@