mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-07 17:24:02 +00:00
webapp: added refresh link for zone viewer. minor ui changes done.
This commit is contained in:
@@ -300,7 +300,7 @@
|
||||
<div id="divViewZones" style="margin-top: 10px;">
|
||||
<div>
|
||||
<div style="float: right;">
|
||||
<button type="button" class="btn btn-primary" onclick="showAddZoneModal();">Add Zone</button>
|
||||
<button type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showAddZoneModal();">Add Zone</button>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
@@ -336,14 +336,14 @@
|
||||
</ul>
|
||||
|
||||
<div style="padding: 10px 0px;">
|
||||
<h3 style="margin: 4px 0;"><span id="titleEditZone" style="margin-right: 10px;">example.com</span><a href="#" onclick="showEditZone(); return false;"><span class="glyphicon glyphicon-refresh" style="font-size: 20px;" aria-hidden="true"></span></a></h3>
|
||||
<div style="float: left;">
|
||||
<h3 id="titleEditZone" style="margin: 4px 0;">example.com</h3>
|
||||
<span id="titleEditZoneType" class="label label-default">Primary</span>
|
||||
<span id="titleEditZoneStatus" class="label label-success">Enabled</span>
|
||||
<span id="titleEditZoneExpiry" style="font-size: 10px; font-weight: bold;">Expiry: 01 Jan 2020 00:00:00</span>
|
||||
</div>
|
||||
<div style="float: right; padding: 2px 0px;">
|
||||
<button id="btnEditZoneAddRecord" type="button" class="btn btn-primary" onclick="showAddRecordModal();">Add Record</button>
|
||||
<button id="btnEditZoneAddRecord" type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showAddRecordModal();">Add Record</button>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
@@ -1052,7 +1052,7 @@
|
||||
<div id="divDhcpViewScopes" style="margin-top: 10px;">
|
||||
|
||||
<div style="float: right; padding: 2px 0px;">
|
||||
<button type="button" class="btn btn-primary" onclick="showAddDhcpScope();">Add Scope</button>
|
||||
<button type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showAddDhcpScope();">Add Scope</button>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
|
||||
@@ -295,6 +295,9 @@ function addZone() {
|
||||
}
|
||||
|
||||
function showEditZone(domain) {
|
||||
if (domain == null)
|
||||
domain = $("#titleEditZone").text();
|
||||
|
||||
var divViewZonesLoader = $("#divViewZonesLoader");
|
||||
var divViewZones = $("#divViewZones");
|
||||
var divEditZone = $("#divEditZone");
|
||||
|
||||
Reference in New Issue
Block a user