Merge pull request #71 from ivanfilippov/dnssec_ui_fix

Fix width of DNSSEC buttons. Make Enabled button green. Fixes #68.
This commit is contained in:
Khanh Ngo 2016-07-04 09:19:57 +07:00 committed by GitHub
commit 2e68af84e9

View File

@ -155,11 +155,11 @@
</td> </td>
<td> <td>
{% if domain.dnssec %} {% if domain.dnssec %}
<button type="button" class="btn btn-flat dnssec button_dnssec" id="{{ domain.name }}"> <button type="button" class="btn btn-flat dnssec btn-success button_dnssec col-md-6" id="{{ domain.name }}">
<i class="fa fa-lock"></i>&nbsp;Enabled <i class="fa fa-lock"></i>&nbsp;Enabled
</button> </button>
{% else %} {% else %}
<button type="button" class="btn btn-flat dnssec button_dnssec" id="{{ domain.name }}"> <button type="button" class="btn btn-flat dnssec button_dnssec col-md-6" id="{{ domain.name }}">
<i class="fa fa-unlock-alt"></i>&nbsp;Disabled <i class="fa fa-unlock-alt"></i>&nbsp;Disabled
</button> </button>
{% endif %} {% endif %}