This commit is contained in:
devdatt 2026-01-08 07:33:03 +05:30
parent 0679d64287
commit 46cbdfd484
1 changed files with 60 additions and 56 deletions

View File

@ -77,11 +77,13 @@ if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["action"]) && $_POST["
padding: 10px;
}
</style>
<div class="containerindex">
<div class="grid">
<h2>Service List</h2>
<button onclick="openPopup()">Add Service</button>
<h2>Service List</h2>
<button onclick="openPopup()">Add Service</button>
<table>
<table>
<tr>
<th>ID</th>
<th>Input UDP</th>
@ -108,13 +110,13 @@ if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["action"]) && $_POST["
</tr>
<?php endforeach; ?>
</table>
</table>
<!-- Overlay -->
<div id="overlay"></div>
<!-- Overlay -->
<div id="overlay"></div>
<!-- Popup form -->
<div id="popup">
<!-- Popup form -->
<div id="popup">
<h3>Add Service</h3>
<input type="text" id="in_udp" name="input_udp" placeholder="Input UDP">
@ -146,6 +148,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["action"]) && $_POST["
<button onclick="saveService()">Save</button>
<button onclick="closePopup()">Close</button>
</div>
</div>
</div>
<script>