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