mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2025-07-04 03:13:16 -07:00
initial commit
This commit is contained in:
35
tp/templates/base_heading.html
Normal file
35
tp/templates/base_heading.html
Normal file
@ -0,0 +1,35 @@
|
||||
<div class="container">
|
||||
<div class="row justify-content-center my-2 mx-0">
|
||||
<h1 class="">
|
||||
{% url 'accounts:login' as login_url %}
|
||||
{% url 'accounts:edit_profile' as edit_profile_url %}
|
||||
{% url 'accounts:password_change' as password_change_url %}
|
||||
{% url 'accounts:enable_totp' as enable_totp_url %}
|
||||
{% url 'accounts:disable_totp' as disable_totp_url %}
|
||||
{% url 'audio:new_feed' as new_feed_url %}
|
||||
{% url 'audio:feeds' as feeds_url %}
|
||||
{% url 'audio:home' as home_url %}
|
||||
|
||||
{% if request.path == login_url %}
|
||||
Login?
|
||||
{% elif request.path == edit_profile_url %}
|
||||
Edit Profile?
|
||||
{% elif request.path == password_change_url %}
|
||||
Change Password?
|
||||
{% elif request.path == enable_totp_url %}
|
||||
Enable 2fa?
|
||||
{% elif request.path == disable_totp_url %}
|
||||
Disable 2fa?
|
||||
{% elif request.path == new_feed_url %}
|
||||
New Feed?
|
||||
{% elif request.path == feeds_url %}
|
||||
Feeds
|
||||
{% elif request.path == home_url %}
|
||||
Home
|
||||
{% endif %}
|
||||
|
||||
{{ heading }}
|
||||
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user