Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
update(appbar):exchange the more and userview location
Browse files Browse the repository at this point in the history
  • Loading branch information
Halyul committed May 13, 2017
1 parent 9b49dc4 commit 01dfe9b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions layout/partials/appbar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ if (page.path === 'search/index.html') pageTitle = __('search.text');
<% if (theme.about_me === true) { %>
<button class="mdui-btn mdui-btn-dense mdui-ripple mdui-hidden-md-up" mdui-dialog="{target: '#aboutmeDialog'}"><%= __('archive.about') %></button>
<% } %>
<div class="appbar-userview mdui-valign mdui-hidden-sm-down" mdui-menu="{target: '#menu-userview', covered: false}">
<img class="mdui-img-circle appbar-userview-avatar mdui-center" src="<%= theme.style.avatar %>"/>
</div>
<%- partial('menu/userview') %>
<button class="mdui-btn mdui-ripple mdui-btn-icon" mdui-menu="{target: '#menu-index-more'}">
<i class="mdui-icon material-icons">&#xe417;</i>
</button>
<%- partial('menu/index_more') %>
<div class="appbar-userview mdui-valign mdui-hidden-sm-down" mdui-menu="{target: '#menu-userview', covered: false}">
<img class="mdui-img-circle appbar-userview-avatar mdui-center" src="<%= theme.style.avatar %>"/>
</div>
<%- partial('menu/userview') %>
</div>
</div>
<% } else if (page.path === 'search/index.html' && theme.appbar.search === true) { %>
Expand All @@ -116,6 +116,7 @@ if (page.path === 'search/index.html') pageTitle = __('search.text');
<input type="text" placeholder="<%= __('search.text') %>" id="search-input"/>
</div>
</div>
<div class="mdui-toolbar-spacer"></div>
<div class="appbar-userview mdui-valign mdui-hidden-xs" mdui-menu="{target: '#menu-userview', covered: false}">
<img class="mdui-img-circle appbar-userview-avatar mdui-center" src="<%= theme.style.avatar %>"/>
</div>
Expand Down

0 comments on commit 01dfe9b

Please sign in to comment.