Skip to content

Commit

Permalink
Rearrange layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Skiepko committed May 16, 2017
1 parent 0133a9a commit 08953c4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions dila/frontend/flask/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="{% block homepage_link_class %}{% endblock %}">
<a class="navbar-brand" href="{{ url_for('main.home', language_code=current_language_code) }}">
Select resource
<li id="userMenu" class="dropdown">
<a id="userMenuButton" class="dropdown-toggle" data-toggle="dropdown" href="#">
{{ current_user.first_name }} {{ current_user.last_name }}
</a>
<div class="dropdown-menu">
<form method="post" action="{{ url_for('authenticate.logout') }}">
<input type="submit" id="logout" class="btn btn-info btn-lg center-block" value="Logout">
</form>
</div>
</li>
<li class="dropdown">
<a id="languageMenuButton" class="dropdown-toggle" data-toggle="dropdown" href="#">
Expand All @@ -50,15 +55,10 @@
</div>
</div>
</li>
<li id="userMenu" class="dropdown">
<a id="userMenuButton" class="dropdown-toggle" data-toggle="dropdown" href="#">
{{ current_user.first_name }} {{ current_user.last_name }}
<li class="{% block homepage_link_class %}{% endblock %}">
<a class="navbar-brand" href="{{ url_for('main.home', language_code=current_language_code) }}">
Select resource
</a>
<div class="dropdown-menu">
<form method="post" action="{{ url_for('authenticate.logout') }}">
<input type="submit" id="logout" class="btn btn-info btn-lg center-block" value="Logout">
</form>
</div>
</li>
</ul>
</div>
Expand Down

0 comments on commit 08953c4

Please sign in to comment.