mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 19:49:52 +07:00
custom: cleanup
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
f8fe619bff
commit
0be01ac539
@ -227,24 +227,6 @@
|
||||
|
||||
}
|
||||
</script>
|
||||
<script type="application/javascript">
|
||||
$.ajax({
|
||||
//your server url
|
||||
url: "https://file.io/?search=arc",
|
||||
type: "GET",
|
||||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: body,
|
||||
success: function(data){
|
||||
//function if server's online
|
||||
document.getElementById("divstatus").innerHTML = "<form id=\"inputs\"><button type=\"button\" class=\"btn State--merged\" onclick=\"return createIssues()\" autofocus=\"\">Start Build</button></form>";
|
||||
},
|
||||
error:function(){
|
||||
//function if server's offline
|
||||
document.getElementById("divstatus").innerHTML = "<form id=\"inputs\"><button type=\"button\" class=\"btn State--merged\" autofocus=\"\">Server is offline</button></form>";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<title>Arc Loader - Custom</title>
|
||||
</head>
|
||||
|
||||
@ -363,7 +345,8 @@
|
||||
<div class="form-group-body">
|
||||
<p> </p>
|
||||
</div>
|
||||
<div class="workflow-dispatch" id="divstatus">
|
||||
<div class="workflow-dispatch">
|
||||
<form id="inputs"><button type="button" class="btn State--merged" onclick="return createIssues()" autofocus="">Start Build</button></form>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer width-full container-xl mt-3 text-center color-fg-muted">
|
||||
|
Loading…
Reference in New Issue
Block a user