Additional layout changes for better phone usability
This commit is contained in:
parent
8bc418ebb2
commit
96adf1e87d
|
|
@ -1,28 +1,29 @@
|
|||
{% 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="/cottagecalendar">Cottage Calendar</a></li>
|
||||
<li><a href="/wishlists">Wish lists</a></li>
|
||||
</ul>
|
||||
{% for user_role in user_roles %}
|
||||
{% if user_role.role_name == "admin" %}
|
||||
<li><a href="/useradmin">User Administration</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="col-8">
|
||||
{% block center %}{% endblock center %}
|
||||
</div>
|
||||
<div id="events" class="col-2 bg-light">
|
||||
<!-- events -->
|
||||
<h2>Events</h2>
|
||||
</div>
|
||||
<div class="row align-items-stretch">
|
||||
<!-- Left panel -->
|
||||
<div id="menu" class="col-md-2 bg-light">
|
||||
<h2>Menu</h2>
|
||||
<ul>
|
||||
<li><a href="/dashboard">Web links</a></li>
|
||||
<li><a href="/cottagecalendar">Cottage Calendar</a></li>
|
||||
<li><a href="/wishlists">Wish lists</a></li>
|
||||
</ul>
|
||||
{% for user_role in user_roles %}
|
||||
{% if user_role.role_name == "admin" %}
|
||||
<li><a href="/useradmin">User Administration</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<!-- Center panel -->
|
||||
<div class="col-8">
|
||||
{% block center %}{% endblock center %}
|
||||
</div>
|
||||
|
||||
<!-- Right panel -->
|
||||
<div id="events" class="col-md-2 bg-light">
|
||||
<h2>Events</h2>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
{% 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>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,11 @@
|
|||
{% else %}
|
||||
<td>{{ user_wishlist_item.item }}</td>
|
||||
{% endif %}
|
||||
<td><a href="{{ user_wishlist_item.item_url }}">URL</a></td>
|
||||
{% if user_wishlist_item.item_url.len() > 0 %}
|
||||
<td><a href="{{ user_wishlist_item.item_url }}">URL</a></td>
|
||||
{% else %}
|
||||
<td></td>
|
||||
{% endif %}
|
||||
{% if user_wishlist_item.received_at > 0 %}
|
||||
<td>Got it!</td>
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue