ssh list modal and table paddings
This commit is contained in:
parent
87dc273c4b
commit
3560eede37
3 changed files with 15 additions and 11 deletions
|
@ -73,7 +73,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-header {
|
.modal-header {
|
||||||
min-height: 25px;
|
min-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-header .close {
|
.modal-header .close {
|
||||||
|
@ -82,8 +82,12 @@
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 15px;
|
right: 11px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
line-height: 60px;
|
||||||
|
}
|
||||||
|
.modal-header .close span {
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-header .close:focus {
|
.modal-header .close:focus {
|
||||||
|
@ -98,8 +102,8 @@
|
||||||
.modal-body {
|
.modal-body {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0px 30px 15px 30px;
|
padding: 0px 40px 15px 30px;
|
||||||
}
|
}
|
||||||
.modal-body .modal-icon i {
|
.modal-body .modal-icon i {
|
||||||
font-size: 80px;
|
font-size: 80px;
|
||||||
|
@ -145,7 +149,7 @@
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
/* top: 30%; */
|
/* top: 30%; */
|
||||||
width: 90%;
|
width: 95%;
|
||||||
margin: 0 auto !important;
|
margin: 0 auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 420px) {
|
||||||
|
.ssh-keys-table {table-layout: fixed;}
|
||||||
|
}
|
||||||
|
|
||||||
.ssh-keys-table thead tr th,
|
.ssh-keys-table thead tr th,
|
||||||
.ssh-keys-table tbody tr td{
|
.ssh-keys-table tbody tr td{
|
||||||
color: #717274;
|
color: #717274;
|
||||||
|
|
|
@ -53,10 +53,6 @@
|
||||||
<form method="post" action="{% url 'hosting:delete_ssh_key' user_key.id %}">
|
<form method="post" action="{% url 'hosting:delete_ssh_key' user_key.id %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default"
|
|
||||||
data-dismiss="modal">
|
|
||||||
{% trans "Close" %}
|
|
||||||
</button>
|
|
||||||
<button type="submit" class="btn btn-primary">{% trans "Delete" %}
|
<button type="submit" class="btn btn-primary">{% trans "Delete" %}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -78,10 +74,10 @@
|
||||||
aria-label="Confirm"><span
|
aria-label="Confirm"><span
|
||||||
aria-hidden="true">×</span>
|
aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
<h4 class="modal-title" id="ModalLabel_Public_Key">{% trans "Public ssh key" %}</h4>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>{{ user_key.public_key }}</p>
|
<h4 class="modal-title" id="ModalLabel_Public_Key">{% trans "Public ssh key" %}</h4>
|
||||||
|
<p style="margin-top: 10px;">{{ user_key.public_key }}</p>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default"
|
<button type="button" class="btn btn-default"
|
||||||
data-dismiss="modal">
|
data-dismiss="modal">
|
||||||
|
|
Loading…
Reference in a new issue