Some fixes and improve jinja2 template performance by reducing include statements

This commit is contained in:
Patrick Jentsch
2024-11-19 15:28:43 +01:00
parent 54c4295bf7
commit 99d7a8bdfc
23 changed files with 654 additions and 630 deletions

View File

@ -10,8 +10,8 @@
<div class="col s12 l4">
<h4>Profile Settings</h4>
<p>You can edit your public profile here and share it with other nopaque users.
Tell others about your (scientific) background so they can relate and network with you.
<p>You can edit your public profile here and share it with other nopaque users.
Tell others about your (scientific) background so they can relate and network with you.
You can also set what should not be visible.</p>
</div>
<div class="col s12 l8">
@ -80,7 +80,7 @@
{{ wtf.render_field(update_profile_information_form.location, material_icon='location_on') }}
<div class="right-align">
{{ wtf.render_field(update_profile_information_form.submit, material_icon='send') }}
</div>
</div>
</form>
</div>
</li>
@ -104,7 +104,7 @@
<div class="right-align">
<a class="btn red waves-effect waves-light modal-trigger" href="#delete-avatar-modal"><i class="material-icons left">delete</i>Delete</a>
{{ wtf.render_field(update_avatar_form.submit, material_icon='send') }}
</div>
</div>
</form>
</div>
</li>
@ -115,7 +115,7 @@
<div class="col s12 l4">
<h4>General Settings</h4>
<p>Make general changes to your profile here. You can change your password,
<p>Make general changes to your profile here. You can change your password,
username or email address, delete your profile and customize your notifications.</p>
</div>
<div class="col s12 l8">
@ -142,7 +142,7 @@
<div class="collapsible-header" style="justify-content: space-between;">
<span>Change Password</span>
<i class="caret material-icons">keyboard_arrow_right</i>
</div>
</div>
<div class="collapsible-body">
<form method="POST">
{{ update_password_form.hidden_tag() }}