1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Refactor settings layout and include JavaScript capture script

This commit is contained in:
codecalm
2025-03-23 22:36:26 +01:00
parent 3fc7b84fc4
commit 9c368702b4
3 changed files with 5 additions and 6 deletions

View File

@@ -103,6 +103,7 @@
</form>
</div>
{% capture_script %}
<script>
document.addEventListener("DOMContentLoaded", function () {
var themeConfig = {
@@ -165,3 +166,4 @@
checkItems()
})
</script>
{% endcapture_script %}

View File

@@ -49,9 +49,9 @@
{{ content }}
{% modals %}
{% include "layout/js.html" %}
{% include "settings.html" %}
{% include "layout/js.html" %}
</body>
</html>

View File

@@ -3,7 +3,6 @@ layout: settings
permalink: settings.html
---
<div class="card-body">
<h2 class="mb-4">My Account</h2>
@@ -46,14 +45,12 @@ permalink: settings.html
</div>
</div>
<h3 class="card-title mt-4">Password</h3>
<p class="card-subtitle">You can set a permanent password if you don't want to use temporary login codes.</p>
<div>
{% include "ui/button.html" text="Set new password" %}
</div>
<h3 class="card-title mt-4">Public profile</h3>
<p class="card-subtitle">Making your profile public means that anyone on the Dashkit network will be able to find
you.</p>