1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 15:45:23 +00:00

bootstrap4.5: fix modal headers, some glitches

This commit is contained in:
catborise 2020-05-21 16:16:21 +03:00 committed by catborise
parent 9ab776197c
commit 0461df7685
6 changed files with 11 additions and 11 deletions

View file

@ -62,7 +62,6 @@
{% ifequal compute.type 1 %} {% ifequal compute.type 1 %}
<form method="post" role="form">{% csrf_token %} <form method="post" role="form">{% csrf_token %}
<div class="modal-body"> <div class="modal-body">
<div class="form-group row"> <div class="form-group row">
<label class="col-sm-4 col-form-label">{% trans "Label" %}</label> <label class="col-sm-4 col-form-label">{% trans "Label" %}</label>
<div class="col-sm-6"> <div class="col-sm-6">
@ -101,7 +100,7 @@
<button type="button" class="btn btn-secondary" data-dismiss="modal"> <button type="button" class="btn btn-secondary" data-dismiss="modal">
{% trans "Close" %} {% trans "Close" %}
</button> </button>
<button type="submit" class="btn btn-primary" name="host_edit"> <button type="submit" class="btn btn-primary" name="host_edit" autofocus>
{% trans "Change" %} {% trans "Change" %}
</button> </button>
</div> </div>

View file

@ -53,10 +53,11 @@
</div> </div>
<!-- /.row --> <!-- /.row -->
{% include 'errors_block.html' %} {% include 'errors_block.html' %}
{% include 'messages_block.html' %}
<div class="row"> <div class="row">
{% if not all_host_vms %} {% if not all_host_vms %}
<div class="col-lg-12"> <div class="col-lg-12">
<div class="alert alert-warning alert-dismissable fade"> <div class="alert alert-warning alert-dismissable fade show">
<i class="fa fa-exclamation-triangle"></i> <strong>{% trans "Warning" %}:</strong> {% trans "Hypervisor doesn't have any Instances" %} <i class="fa fa-exclamation-triangle"></i> <strong>{% trans "Warning" %}:</strong> {% trans "Hypervisor doesn't have any Instances" %}
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
</div> </div>

View file

@ -9,8 +9,8 @@
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h5 class="modal-title">{% trans "Create Storage Pool" %}</h5> <h5 class="modal-title">{% trans "Create Storage Pool" %}</h5>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
</div> </div>
<div class="tabbable"> <div class="tabbable">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">

View file

@ -11,8 +11,8 @@
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h5 class="modal-title">{% trans "Upload ISO Image" %}</h5> <h5 class="modal-title">{% trans "Upload ISO Image" %}</h5>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<form enctype="multipart/form-data" method="post" role="form">{% csrf_token %} <form enctype="multipart/form-data" method="post" role="form">{% csrf_token %}

View file

@ -91,8 +91,8 @@
</div> </div>
</div> </div>
{% if volumes %} {% if volumes %}
<div class="table-responsive"> <div>
<table class="table table-striped sortable-theme-bootstrap" data-sortable> <table class="table table-hover sortable-theme-bootstrap" data-sortable>
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>

View file

@ -8,7 +8,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="progress"> <div class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="10" style="width:100%"> <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width:100%">
</div> </div>
</div> </div>
</div> </div>