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