This repository has been archived by the owner on Feb 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformat user settings HTML using djLint
The main branch introduced djLint formatting rules after this feature branch was created. This reformats the compounded HTML introduced in this branch to comply with the new rules.
- Loading branch information
1 parent
51c21eb
commit 46a65de
Showing
2 changed files
with
15 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
{% extends "htmx/base.html" %} | ||
|
||
{% block main %} | ||
<h1 class="sr-only">{{ page_title }}</h1> | ||
<section id="user-settings" class="card"> | ||
<h2 class="card-title">User settings</h2> | ||
<ul class="menu card-body"> | ||
<li class="menu-title"> | ||
Logged in as: <span class="text-info">{{ request.user }}</span> | ||
<div class="divider divider-secondary my-0"></div> | ||
</li> | ||
<li> | ||
{% include 'htmx/themes/theme_dropdown.html' %} | ||
</li> | ||
<li> | ||
{% include 'htmx/dateformat/_dateformat_dropdown.html' %} | ||
</li> | ||
</ul> | ||
|
||
</section> | ||
<h1 class="sr-only">{{ page_title }}</h1> | ||
<section id="user-settings" class="card"> | ||
<h2 class="card-title">User settings</h2> | ||
<ul class="menu card-body"> | ||
<li class="menu-title"> | ||
Logged in as: <span class="text-info">{{ request.user }}</span> | ||
<div class="divider divider-secondary my-0"></div> | ||
</li> | ||
<li>{% include "htmx/themes/theme_dropdown.html" %}</li> | ||
<li>{% include "htmx/dateformat/_dateformat_dropdown.html" %}</li> | ||
</ul> | ||
</section> | ||
{% endblock main %} |