modal restyle

This commit is contained in:
Arvind Tiwari 2017-09-19 14:29:18 +05:30
parent c53c966136
commit 445359e1ed
2 changed files with 5 additions and 1 deletions

View file

@ -139,6 +139,10 @@
.modal-text p:not(:last-of-type){ .modal-text p:not(:last-of-type){
margin-bottom: 5px; margin-bottom: 5px;
} }
.modal-title + .modal-footer {
margin-top: 5px;
}
.modal-footer { .modal-footer {
border-top: 0px solid #e5e5e5; border-top: 0px solid #e5e5e5;
width: 100%; width: 100%;

View file

@ -124,7 +124,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="modal-icon"><i class="fa fa-check" aria-hidden="true"></i></div> <div class="modal-icon"><i class="fa fa-check" aria-hidden="true"></i></div>
<h4 class="modal-title" id="ModalLabel">{% blocktrans %}Your Virtual Machine <strong>{{virtual_machine.name}}asdas</strong> is successfully terminated!{% endblocktrans %}</h4> <h4 class="modal-title" id="ModalLabel">{% blocktrans %}Your Virtual Machine <strong>{{virtual_machine.name}}</strong> is successfully terminated!{% endblocktrans %}</h4>
<div class="modal-footer"> <div class="modal-footer">
<a href="{% url 'hosting:virtual_machines' %}" class="btn btn-success btn-wide">{% trans "OK" %}</a> <a href="{% url 'hosting:virtual_machines' %}" class="btn btn-success btn-wide">{% trans "OK" %}</a>
</div> </div>