|
@@ -65,17 +65,20 @@
|
|
|
</div>
|
|
|
<br>
|
|
|
<div>
|
|
|
- <table class="ui sortable unstackable celled table">
|
|
|
- <thead>
|
|
|
- <tr><th>Domain</th>
|
|
|
- <th>Last Update</th>
|
|
|
- <th>Expire At</th>
|
|
|
- <th class="no-sort">Remove</th>
|
|
|
- </tr></thead>
|
|
|
- <tbody id="certifiedDomainList">
|
|
|
-
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div style="width: 100%; overflow-x: auto; margin-bottom: 1em;">
|
|
|
+ <table class="ui sortable unstackable celled table">
|
|
|
+ <thead>
|
|
|
+ <tr><th>Domain</th>
|
|
|
+ <th>Last Update</th>
|
|
|
+ <th>Expire At</th>
|
|
|
+ <th class="no-sort">Remove</th>
|
|
|
+ </tr></thead>
|
|
|
+ <tbody id="certifiedDomainList">
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
<button class="ui basic button" onclick="initManagedDomainCertificateList();"><i class="green refresh icon"></i> Refresh List</button>
|
|
|
</div>
|
|
|
<div class="ui message">
|
|
@@ -154,7 +157,7 @@
|
|
|
});
|
|
|
|
|
|
$.get("/api/acme/autoRenew/ca", function(data){
|
|
|
- $("#defaultCA").dropdown("set selected", data);
|
|
|
+ $("#defaultCA").dropdown("set value", data);
|
|
|
});
|
|
|
|
|
|
$.get("/api/acme/autoRenew/enable", function(data){
|
|
@@ -177,15 +180,25 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- $.post("/api/acme/autoRenew/email?set=" + newDefaultEmail, function(data){
|
|
|
- if (data.error != undefined){
|
|
|
- msgbox(data.error, false);
|
|
|
+ $.ajax({
|
|
|
+ url: "/api/acme/autoRenew/email",
|
|
|
+ method: "POST",
|
|
|
+ data: {"set": newDefaultEmail},
|
|
|
+ success: function(data){
|
|
|
+ if (data.error != undefined){
|
|
|
+ msgbox(data.error, false);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- $.post("/api/acme/autoRenew/ca?set=" + newDefaultCA, function(data){
|
|
|
- if (data.error != undefined){
|
|
|
- msgbox(data.error, false);
|
|
|
+ $.ajax({
|
|
|
+ url: "/api/acme/autoRenew/ca",
|
|
|
+ data: {"set": newDefaultCA},
|
|
|
+ method: "POST",
|
|
|
+ success: function(data){
|
|
|
+ if (data.error != undefined){
|
|
|
+ msgbox(data.error, false);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
|