50 lines
1.1 KiB
HTML
50 lines
1.1 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<script src="/assets/jquery.min.js"></script>
|
|
<link rel="stylesheet" href="/assets/jquery-ui.css">
|
|
<script src="/assets/jquery-ui.js"></script>
|
|
<script src="/assets/distLogo.js"></script>
|
|
<link rel="stylesheet" href="/assets/picluster-iframe.css">
|
|
<script>
|
|
function exec() {
|
|
$.get("/reloadconfig?token=" + parent.token, function (data) {
|
|
var output = data.replace(/(?:\r\n|\r|\n)/g, '<br />');
|
|
var div = document.getElementById('config-reload-modal-body');
|
|
div.innerHTML = data;
|
|
});
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="output" class="modal">
|
|
<div class="modal-content modal-small">
|
|
<div class="modal-header">
|
|
<span class="close">×</span>
|
|
<h2>Reloading Configuration File</h2>
|
|
</div>
|
|
|
|
<div id="config-reload-modal-body" class="modal-body">
|
|
<div id="submit_button_div"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
var output_modal = document.getElementById('output');
|
|
var output_span = document.getElementsByClassName("close")[0];
|
|
|
|
output_span.onclick = function () {
|
|
output_modal.style.display = "none";
|
|
}
|
|
|
|
output_modal.style.display = "block";
|
|
|
|
exec();
|
|
|
|
</script>
|
|
|
|
</html>
|