Tweak icons for mobile menu
This commit is contained in:
parent
024d3c1975
commit
22c7fee0f6
|
@ -68,11 +68,11 @@
|
||||||
<ul data-role="listview">
|
<ul data-role="listview">
|
||||||
<li data-icon="home">${h.link_to("Home", url('mobile.home'))}</li>
|
<li data-icon="home">${h.link_to("Home", url('mobile.home'))}</li>
|
||||||
% if request.is_root:
|
% if request.is_root:
|
||||||
<li class="root-user" data-icon="user">${h.link_to("Stop being root", url('stop_root'), **{'data-ajax': 'false'})}</li>
|
<li class="root-user" data-icon="forbidden">${h.link_to("Stop being root", url('stop_root'), **{'data-ajax': 'false'})}</li>
|
||||||
% elif request.is_admin:
|
% elif request.is_admin:
|
||||||
<li class="root-user" data-icon="user">${h.link_to("Become root", url('become_root'), **{'data-ajax': 'false'})}</li>
|
<li class="root-user" data-icon="forbidden">${h.link_to("Become root", url('become_root'), **{'data-ajax': 'false'})}</li>
|
||||||
% endif
|
% endif
|
||||||
<li data-icon="user">${h.link_to("Logout", url('logout'), **{'data-ajax': 'false'})}</li>
|
<li data-icon="lock">${h.link_to("Logout", url('logout'), **{'data-ajax': 'false'})}</li>
|
||||||
<li data-icon="info">${h.link_to("About {}".format(capture(self.app_title)), url('mobile.about'))}</li>
|
<li data-icon="info">${h.link_to("About {}".format(capture(self.app_title)), url('mobile.about'))}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue