Add DNSSEC information into domain list. Adjustemnt in domain list table

This commit is contained in:
Khanh Ngo
2016-03-24 20:01:08 +07:00
parent 7c46c149f8
commit 990bbe5260
4 changed files with 95 additions and 6 deletions

View File

@ -69,12 +69,15 @@
</div>
</div>
{% endif %}
<table class="table table-striped table-bordered table-hover" id="tb_vps_list">
<table class="table table-striped table-bordered table-hover" id="tb_domain_list">
<thead>
<tr>
<th>
Name
</th>
<th>
DNSSEC
</th>
<th>
Kind
</th>
@ -95,6 +98,13 @@
<td>
<a href="{{ url_for('domain', domain_name=domain.name) }}"><strong>{{ domain.name }}</strong></a>
</td>
<td>
{% if domain.dnssec %}
<a href="javascript:;" class="btn default btn-xs blue dnssec"><i class="fa fa-lock"></i>Enabled</a>
{% else %}
<a href="javascript:;" class="btn default btn-xs gray dnssec"><i class="fa fa-unlock-alt"></i>Disabled</a>
{% endif %}
</td>
<td>
{{ domain.type }}
</td>
@ -135,6 +145,7 @@
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script>
<script src="{{ url_for('static', filename='admin/layout2/scripts/layout.js') }}" type="text/javascript"></script>
<script src="{{ url_for('static', filename='global/plugins/bootbox/bootbox.min.js') }}" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<!-- TABLE PLUGINS -->
<script type="text/javascript" src="{{ url_for('static', filename='global/plugins/select2/select2.min.js') }}"></script>