Switched to MySQL database

This commit is contained in:
2025-05-30 22:58:35 +00:00
parent 34e1917abd
commit a04612005f
10 changed files with 195 additions and 239 deletions
-9
View File
@@ -40,15 +40,6 @@
<i class="fas fa-trash fa-lg"></i>
</button>
</form>
<hr class="border-t-2 border-gray-600 rounded-lg mb-4">
<h1 class="text-2xl font-bold mb-6 text-center">Database Management</h1>
<div class="mb-6 flex justify-center">
<a href="/download_db" class="bg-gradient-to-r from-gray-500 to-gray-700 hover:from-gray-600 hover:to-gray-800 text-white px-4 py-2 rounded-lg">Download Database</a>
</div>
<form action="/admin" method="POST" enctype="multipart/form-data" class="flex flex-col space-y-4">
<input type="file" name="file" class="border p-3 rounded-lg bg-gray-800 text-gray-100 border-gray-600" required>
<button type="submit" class="bg-gradient-to-r from-gray-500 to-gray-700 hover:from-gray-600 hover:to-gray-800 text-white px-4 py-2 rounded-lg">Upload Database</button>
</form>
</div>
</div>
<script src="/static/js/add_subnet.js"></script>