This commit is contained in:
8
main.go
8
main.go
@@ -409,7 +409,7 @@ func handleGUI(w http.ResponseWriter, r *http.Request) {
|
||||
<meta charset="UTF-8">
|
||||
<title>IP Checker GUI</title>
|
||||
<style>
|
||||
body { font-family: sans-serif; max-width: 600px; margin: auto; padding: 2em; background: #f9fafb; }
|
||||
body { font-family: sans-serif; max-width: 1000px; margin: auto; padding: 2em; background: #f9fafb; }
|
||||
h1 { font-size: 1.5em; margin-bottom: 1em; }
|
||||
input, button { padding: 0.7em; margin: 0.3em 0; width: 100%; border-radius: 0.4em; border: 1px solid #ccc; }
|
||||
button { background: #2563eb; color: white; border: none; cursor: pointer; }
|
||||
@@ -426,11 +426,13 @@ func handleGUI(w http.ResponseWriter, r *http.Request) {
|
||||
<h2>Ergebnis</h2>
|
||||
<div id="result">No Request</div>
|
||||
|
||||
<h2>Check History</h2>
|
||||
<div id="history">No history</div>
|
||||
|
||||
<h2>Prometheus Metrics</h2>
|
||||
<div id="metrics">Loading...</div>
|
||||
|
||||
<h2>Check History</h2>
|
||||
<div id="history">No history</div>
|
||||
|
||||
|
||||
<script>
|
||||
async function checkIP() {
|
||||
|
Reference in New Issue
Block a user