mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
Refactor settings layout and include JavaScript capture script
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% capture_script %}
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
var themeConfig = {
|
||||
@@ -165,3 +166,4 @@
|
||||
checkItems()
|
||||
})
|
||||
</script>
|
||||
{% endcapture_script %}
|
||||
@@ -50,8 +50,8 @@
|
||||
|
||||
{% modals %}
|
||||
|
||||
{% include "layout/js.html" %}
|
||||
|
||||
{% include "settings.html" %}
|
||||
|
||||
{% include "layout/js.html" %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user