UI redisign
This commit is contained in:
@@ -94,8 +94,8 @@ window.loadDomains = async function(){
|
||||
</div>
|
||||
</div>
|
||||
<div class="domain-actions">
|
||||
<button class="btn-small" onclick='openSubEdit(${JSON.stringify(s)})'>Edit</button>
|
||||
<button class="btn-small btn-danger" onclick="deleteSub(${s.id})">Delete</button>
|
||||
<button class="btn-small" onclick='openSubEdit(${JSON.stringify(s)})'>Bearbeiten</button>
|
||||
<button class="btn-small btn-danger" onclick="deleteSub(${s.id})">Loeschen</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="subdns-${s.id}" style="margin-top:8px">...</div>
|
||||
|
||||
@@ -37,8 +37,8 @@ window.loadResources = async function(){
|
||||
|
||||
tr.innerHTML = `
|
||||
<td>
|
||||
<button onclick="moveResource(${r.id}, 'up')">⬆</button>
|
||||
<button onclick="moveResource(${r.id}, 'down')">⬇</button>
|
||||
<button class="btn-small" onclick="moveResource(${r.id}, 'up')">⬆</button>
|
||||
<button class="btn-small" onclick="moveResource(${r.id}, 'down')">⬇</button>
|
||||
</td>
|
||||
<td>
|
||||
<span style="cursor:pointer;color:#1e3a8a;font-weight:bold"
|
||||
@@ -66,12 +66,12 @@ window.loadResources = async function(){
|
||||
<td>
|
||||
${ips}
|
||||
<br>
|
||||
<button type="button" onclick="openIPManager(${r.id})">IPs</button>
|
||||
<button class="btn-small btn-secondary" type="button" onclick="openIPManager(${r.id})">IPs</button>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<button onclick='openEdit(${JSON.stringify(r)})'>Edit</button>
|
||||
<button onclick="deleteResource(${r.id})">Delete</button>
|
||||
<button class="btn-small" onclick='openEdit(${JSON.stringify(r)})'>Bearbeiten</button>
|
||||
<button class="btn-small btn-danger" onclick="deleteResource(${r.id})">Loeschen</button>
|
||||
</td>
|
||||
`
|
||||
|
||||
@@ -291,11 +291,11 @@ window.loadIPs = async function(resourceId){
|
||||
</span>
|
||||
|
||||
<button onclick="editIP(${ip.id}, '${ip.ip}', '${ip.type || ""}', '${ip.comment || ""}')">
|
||||
Edit
|
||||
Bearbeiten
|
||||
</button>
|
||||
|
||||
<button onclick="deleteIP(${ip.id}, ${resourceId})">
|
||||
Delete
|
||||
<button class="btn-danger" onclick="deleteIP(${ip.id}, ${resourceId})">
|
||||
Loeschen
|
||||
</button>
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user