Finished UI-refactoring.

This commit is contained in:
Revertron
2021-05-19 20:50:50 +02:00
parent 8bc6ca60ec
commit ebcb7174fe
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -89,7 +89,7 @@
<div style="text-align: right;" class="is-fullwidth mb-2">
<button class="button is-link is-light" onclick="showNewDomainDialog()" style="max-width: 200px;">New domain</button>
</div>
<table class="table is-hoverable is-fullwidth">
<table id="my_domains_table" class="table is-hoverable is-fullwidth">
<thead>
<tr>
<th>Domain</th>
+5
View File
@@ -163,6 +163,11 @@ function refreshMyDomains() {
rows = rows + row.replace("{title}", title).replace("{domain}", title).replace("{tags}", tags).replace("{date1}", start).replace("{date2}", expire);
});
document.getElementById("my_domains").innerHTML = rows;
if (rows != "") {
document.getElementById("my_domains_table").style.display = 'table';
} else {
document.getElementById("my_domains_table").style.display = 'none';
}
}
function editDomain(domain, event) {