mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-23 10:58:17 +02:00
Add peer expiration
This commit is contained in:
parent
2d67540e13
commit
2ecb92eef6
94 changed files with 43258 additions and 49 deletions
|
@ -41,8 +41,17 @@ dropdownBTNs.forEach(btn => {
|
|||
document.addEventListener("DOMContentLoaded", function (event) {
|
||||
refreshSidebar();
|
||||
refreshTables();
|
||||
loadCalendarify();
|
||||
});
|
||||
|
||||
function loadCalendarify() {
|
||||
let dateInputs = document.getElementsByClassName('date-input');
|
||||
for (var i = 0; i < dateInputs.length; i++) {
|
||||
let dateInput = dateInputs.item(i);
|
||||
new tempusDominus.TempusDominus(document.getElementById(dateInput.id));
|
||||
}
|
||||
}
|
||||
|
||||
function loadServers() {
|
||||
fetch("/Servers/getAll")
|
||||
.then((response) => response.text())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue