feat: improve link sizes for touchscreens
This commit is contained in:
parent
1b45a21210
commit
97df130768
3 changed files with 11 additions and 8 deletions
|
@ -13,8 +13,8 @@ nav div {
|
|||
|
||||
.thumblist-item {
|
||||
display: inline-block;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
margin: 5px 5px 10px 10px;
|
||||
padding: 15px;
|
||||
background: #f0f0f0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -18,12 +18,11 @@
|
|||
<header>
|
||||
{% block header %}
|
||||
|
||||
{# Always show a link to the home page, either a list of users or of products. #}
|
||||
<nav class="navbarbutton">
|
||||
<div class="selected"><a href="/">Home</a></div>
|
||||
{# Show a link to the settings, if a user logged in via password (authlevel 2). #}
|
||||
{% if authlevel|default(0) > 1 %}
|
||||
{% if authuser is defined %}
|
||||
<a href="/">Home</a>
|
||||
{# If a user is an admin, call the link "Administration". Otherwise, call it "Settings". #}
|
||||
{% if authuser.is_admin %}
|
||||
<a href="/admin">Administration</a>
|
||||
|
|
|
@ -22,9 +22,13 @@
|
|||
|
||||
<br/>
|
||||
{# Link to the password login #}
|
||||
<a href="/login">Password login</a>
|
||||
<div class="thumblist-item">
|
||||
<a href="/login">Password login</a>
|
||||
</div>
|
||||
{% if signup %}
|
||||
<a href="/signup">Create account</a>
|
||||
<div class="thumblist-item">
|
||||
<a href="/signup">Create account</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ super() }}
|
||||
|
|
Loading…
Reference in a new issue