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:
@@ -103,6 +103,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% capture_script %}
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
var themeConfig = {
|
var themeConfig = {
|
||||||
@@ -165,3 +166,4 @@
|
|||||||
checkItems()
|
checkItems()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
{% endcapture_script %}
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
{% modals %}
|
{% modals %}
|
||||||
|
|
||||||
{% include "layout/js.html" %}
|
|
||||||
|
|
||||||
{% include "settings.html" %}
|
{% include "settings.html" %}
|
||||||
|
|
||||||
|
{% include "layout/js.html" %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ layout: settings
|
|||||||
permalink: settings.html
|
permalink: settings.html
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h2 class="mb-4">My Account</h2>
|
<h2 class="mb-4">My Account</h2>
|
||||||
|
|
||||||
@@ -46,14 +45,12 @@ permalink: settings.html
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3 class="card-title mt-4">Password</h3>
|
<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>
|
<p class="card-subtitle">You can set a permanent password if you don't want to use temporary login codes.</p>
|
||||||
<div>
|
<div>
|
||||||
{% include "ui/button.html" text="Set new password" %}
|
{% include "ui/button.html" text="Set new password" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h3 class="card-title mt-4">Public profile</h3>
|
<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
|
<p class="card-subtitle">Making your profile public means that anyone on the Dashkit network will be able to find
|
||||||
you.</p>
|
you.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user