This commit is contained in:
devdatt 2026-01-08 07:17:44 +05:30
parent a61e452acd
commit acb4bcde24
1 changed files with 60 additions and 60 deletions

View File

@ -53,15 +53,13 @@
} }
</style> </style>
</head> </head>
<br> <div class="containerindex">
<br> <div class="grid">
<br> <h2>Service List</h2>
<br> <button onclick="openPopup()">Add Service</button>
<h2>Service List</h2>
<button onclick="openPopup()">Add Service</button>
<!-- TABLE LIST --> <!-- TABLE LIST -->
<table class="table"> <table class="table">
<tr> <tr>
<th>ID</th> <th>ID</th>
<th>Input UDP</th> <th>Input UDP</th>
@ -87,12 +85,12 @@
<td><?= htmlspecialchars($row["status"]) ?></td> <td><?= htmlspecialchars($row["status"]) ?></td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</table> </table>
<!-- POPUP --> <!-- POPUP -->
<div id="overlay"></div> <div id="overlay"></div>
<div id="popup"> <div id="popup">
<h3>Add Service</h3> <h3>Add Service</h3>
<input type="text" id="in_udp" placeholder="Input UDP"> <input type="text" id="in_udp" placeholder="Input UDP">
@ -124,6 +122,8 @@
<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>