Moved API refresh to click on username instead of separate button.

This commit is contained in:
neviyn 2015-10-21 20:10:31 +01:00
parent 6e0ceb9f9e
commit 4e17a20c26

View File

@ -40,12 +40,7 @@
<li><span id="vocab-num"></span> Vocabulary</li>
</ul>
</li>
<li>
<button id="api-refresh" type="submit" class="btn btn-default navbar-btn" aria-label="Refresh API">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
</button>
</li>
<li class="navbar-text" data-toggle="tooltip" data-placement="bottom" title="Last API Refresh: {{ current_user.last_updated }}"><span><img alt="avatar" src="http://www.gravatar.com/avatar/{{ current_user.gravatar }}?s=24"></span> {{ current_user.username }}</li>
<li id="api-refresh" class="navbar-text" data-toggle="tooltip" data-placement="bottom" title="Last API Refresh: {{ current_user.last_updated }}. Click to refresh."><span><img alt="avatar" src="http://www.gravatar.com/avatar/{{ current_user.gravatar }}?s=24"></span> {{ current_user.username }}</li>
<li><a href="{{ url_for('logout') }}">Logout</a></li>
</ul>
</div>