modal title font-weight and capitalization fix

This commit is contained in:
ARvind Tiwari 2017-08-08 23:01:19 +05:30
parent cc58c49457
commit ac0787bdd5
3 changed files with 6 additions and 3 deletions

View file

@ -393,7 +393,7 @@ msgstr ""
msgid "Delete SSH Key" msgid "Delete SSH Key"
msgstr "SSH Key löschen" msgstr "SSH Key löschen"
msgid "Do You want to delete this key?" msgid "Do you want to delete this key?"
msgstr "Möchtest Du den Schlüssel löschen?" msgstr "Möchtest Du den Schlüssel löschen?"
msgid "Show" msgid "Show"

View file

@ -110,13 +110,16 @@
font-weight: 100; font-weight: 100;
color: #999; color: #999;
} }
.modal-body .modal-icon {
margin-bottom: 10px;
}
.modal-title { .modal-title {
margin: 0; margin: 0;
line-height: 1.42857143; line-height: 1.42857143;
font-size: 25px; font-size: 25px;
padding: 0; padding: 0;
/*font-family: 'Lato', sans-serif;*/ /*font-family: 'Lato', sans-serif;*/
font-weight: normal; font-weight: 300;
} }
.modal-text { .modal-text {
padding-top: 15px; padding-top: 15px;

View file

@ -50,7 +50,7 @@
<div class="modal-body"> <div class="modal-body">
<div class="modal-icon"><i class="fa fa-trash" aria-hidden="true"></i></div> <div class="modal-icon"><i class="fa fa-trash" aria-hidden="true"></i></div>
<h4 class="modal-title" id="ModalLabel">{% trans "Delete SSH Key"%}</h4> <h4 class="modal-title" id="ModalLabel">{% trans "Delete SSH Key"%}</h4>
<p class="modal-text">{% trans "Do You want to delete this key?"%}</p> <p class="modal-text">{% trans "Do you want to delete this key?"%}</p>
<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">