refactor: 🎨 auto save custom fields

This commit is contained in:
2025-12-27 22:34:18 +00:00
parent 8b001a047b
commit 7e1c4b126e
4 changed files with 179 additions and 8 deletions
+3 -6
View File
@@ -149,12 +149,6 @@
</div>
{% endfor %}
</div>
<div class="flex justify-center mt-4">
<button type="submit" class="bg-gray-200 hover:bg-gray-400 dark:bg-zinc-700 dark:hover:bg-zinc-600 hover:cursor-pointer px-4 py-2 rounded-lg flex items-center gap-2">
<i class="fas fa-save"></i>
<span>Save</span>
</button>
</div>
</form>
{% else %}
<div class="space-y-4">
@@ -243,5 +237,8 @@
<script src="/static/js/export_csv.min.js"></script>
<script src="/static/js/subnet.min.js"></script>
<script src="/static/js/ip_history.min.js"></script>
{% if can_edit_subnet %}
<script src="/static/js/subnet_custom_fields.min.js"></script>
{% endif %}
</body>
</html>