mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-10 12:16:49 +00:00
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.
This commit is contained in:
parent
1cb1f8ac6a
commit
3a4554bcbf
9 changed files with 18 additions and 27 deletions
|
|
@ -5,17 +5,13 @@
|
|||
|
||||
{% block title %}{% trans "Create new instance" %} - {% trans "Machine" %}{% endblock %}
|
||||
|
||||
{% block style %}
|
||||
<style>.create-vm { max-width: 56rem; }</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block page_heading%}
|
||||
{% blocktrans with host=compute.name %}New instance on {{ host }} {% endblocktrans %}
|
||||
{% endblock page_heading %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'pleasewaitdialog.html' %}
|
||||
<div class="create-vm mx-auto">
|
||||
<div>
|
||||
{% include "create_steps.html" with step=2 %}
|
||||
|
||||
<section class="card mb-3" aria-labelledby="machine-heading">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue