Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Fix header spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjacobs31 committed Jan 11, 2017
1 parent d94e58c commit 8680dce
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions oneplus/templates/core/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,27 @@

{% block header %}
<header>
<div class="header-item">
{% if user.name %}
<a href="/menu" >
{% block menu_icon %}
<li class="icon back"></li>
{% endblock %}
{% block menu_text %}
<div class="header-item">Menu</div>
{% endblock %}
</a>
{% else %}
<a href="login" class="menu-login">Sign In</a>
{% endif %}
</div>
{% block header_left %}
<div class="header-item">
{% if user.name %}
<a class="wrap-inline" href="/menu">
{% block menu_icon %}
<li class="icon back"></li>
{% endblock %}
{% block menu_text %}
<div class="header-item header-link">Menu</div>
{% endblock %}
</a>
{% else %}
<a href="login" class="menu-login">Sign in</a>
{% endif %}
</div>
{% endblock %}

{% block page_descriptor %}
<div class="header-item page-descriptor">{% block page_descriptor_text %}{% endblock %}</div>
<div class="header-item">
<span class="page-descriptor">{% block page_descriptor_text %}{% endblock %}</span>
</div>
{% endblock %}

<div class="justify-enforcer"></div>
Expand Down

0 comments on commit 8680dce

Please sign in to comment.