1. Refactoring form objects and database objects to use inheritance and abstract base class for consistency and reduced redundancy.\n2. Contact us page button links updated to resolve error of missing link causing page refresh instead of expected functionality.
This commit is contained in:
31
templates/pages/user/_user.html
Normal file
31
templates/pages/user/_user.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!-- v2a -->
|
||||
|
||||
{% extends 'layouts/layout.html' %}
|
||||
|
||||
{% block page_body %}
|
||||
<!-- Include Stylesheet -->
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/user.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/user.css') }}" />
|
||||
|
||||
<!-- HTML content -->
|
||||
<div>
|
||||
{% set firstname = 'new user' if user.firstname is none else user.firstname %}
|
||||
<h2 style="font-size: 24px; color: white; font-weight: normal;">Welcome, {{ firstname }}</h2>
|
||||
{% set block_id = 'button_get_in_touch' %}
|
||||
{% include 'layouts/_shared.html' %}
|
||||
</div>
|
||||
|
||||
<!-- Include JavaScript -->
|
||||
<script type="module" src="{{ url_for('static', filename='js/sections/user.js') }}"></script>
|
||||
<script type="module" src="{{ url_for('static', filename='js/pages/user.js') }}"></script>
|
||||
|
||||
<!--
|
||||
<script>
|
||||
var hashPageCurrent = "{{ model.HASH_PAGE_USER_ACCOUNT }}";
|
||||
|
||||
$(document).ready(function() {
|
||||
hookupPageUserAccount();
|
||||
});
|
||||
</script>
|
||||
-->
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user