clean up html a bit

pull/3/head
lalanza808 5 years ago
parent aa46f3015c
commit dc49050b23

@ -78,14 +78,6 @@
position: 'top-right', position: 'top-right',
side: 'right', side: 'right',
width: 250 width: 250
},
navButton: {
breakpoints: 'medium',
height: '4em',
html: '<a href="{% url 'logout' %}"><i class="fa fa-2x fa-sign-out" aria-hidden="true" style="top: .7em; position: absolute; color: white;"></i></a>',
position: 'top-right',
side: 'top',
width: '6em'
} }
} }
} }
@ -111,15 +103,7 @@
<header id="header"> <header id="header">
<h1><a href="{% url 'home' %}">{{ site_meta.name }}</a></h1> <h1><a href="{% url 'home' %}">{{ site_meta.name }}</a></h1>
<nav id="nav"> <nav id="nav"></nav>
<ul>
{% if user.is_authenticated %}
<li><a href="{% url 'logout' %}">Logout ({{ request.user }})</a></li>
{% else %}
<li><a href="{% url 'login' %}">Login</a></li>
{% endif %}
</ul>
</nav>
</header> </header>
{% if messages %} {% if messages %}

@ -4,12 +4,12 @@
<section id="banner"> <section id="banner">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<h2>Home</h2> <!-- <h2>Home</h2> -->
<ul class="actions"> <ul class="actions">
<li><a href="{% url 'create_item' %}" class="button">Sell An Item</a></li> <li><a href="{% url 'create_item' %}" class="button">Sell An Item</a></li>
<li><a href="{% url 'list_items' %}" class="button">View Items</a></li> <li><a href="{% url 'list_items' %}" class="button">View Items</a></li>
<li><a href="{% url 'list_bids' %}" class="button">Your Bids</a></li> <li><a href="{% url 'list_bids' %}" class="button">View Bids</a></li>
<li><a href="{% url 'edit_shipping' %}" class="button">Edit Shipping</a></li> <li><a href="{% url 'logout' %}" class="button">Logout ({{ request.user.username }})</a></li>
</ul> </ul>
{% else %} {% else %}
<h2>Buy and sell items for digital cash.</h2> <h2>Buy and sell items for digital cash.</h2>