Add authorized template

This commit is contained in:
Chris Jean-Marie 2024-10-05 03:59:53 +00:00
parent ef9951fcbe
commit 9870b11664
3 changed files with 46 additions and 42 deletions

View File

@ -0,0 +1,22 @@
{% extends "base.html" %}
{% block content %}
<div class="container-fluid">
<div class="row align-items-stretch">
<div id="menu" class="col-md-2 bg-light">
<!-- internal menu -->
<h2>Menu</h2>
<ul>
<li><a href="/dashboard">Web links</a></li>
<li><a href="/useradmin">User Administration</a></li>
</ul>
</div>
<div class="col-8">
{% block center %}{% endblock center %}
</div>
<div id="events" class="col-2 bg-light">
<!-- events -->
<h2>Events</h2>
</div>
</div>
</div>
{% endblock content %}

View File

@ -1,18 +1,7 @@
{% extends "base.html" %}
{% block content %}
<div class="container-fluid">
<div class="row align-items-stretch">
<div id="menu" class="col-md-2 bg-light">
<!-- internal menu -->
<h2>Menu</h2>
<ul>
<li>Web links</li>
<li><a href="/useradmin">User Administration</a></li>
</ul>
</div>
<div class="col-8">
<p>This will be the private information area for the extended Jean-Marie family.</p>
<div>
{% extends "authorized.html" %}
{% block center %}
<p>This will be the private information area for the extended Jean-Marie family.</p>
<div>
<h2>Web links</h2>
<h3>TLC Creations</h3>
<ul>
@ -28,12 +17,5 @@
<li><a href="https://www.ancestry.com">Ancestry</a></li>
<li><a href="https://www.geni.com">Geni</a></li>
</ul>
</div>
</div>
<div id="events" class="col-2 bg-light">
<!-- events -->
<h2>Events</h2>
</div>
</div>
</div>
{% endblock content %}
{% endblock center %}

View File

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block title %}User Profile{% endblock %}
{% block content %}
{% extends "authorized.html" %}
{% block title %}User Administration{% endblock %}
{% block center %}
<h1>Users</h1>
<table class="table table-striped">
<thead>
@ -20,4 +20,4 @@
{% endfor %}
</tbody>
</table>
{% endblock %}
{% endblock center %}