Improve homepage header

This commit is contained in:
rubenwardy 2018-05-09 18:58:09 +01:00
parent 1b0dfb2acc
commit a55b4f84ff
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
2 changed files with 10 additions and 10 deletions

@ -60,6 +60,10 @@ header {
background: #113;
}
header p {
max-width: 400px;
}
/* Footer */

@ -8,21 +8,17 @@ Dashboard
<header>
<h1>Content DB</h1>
<p>Minetest's official content repository</p>
<p>
Minetest's official content repository.
Browse {{ packages | length }} packages,
all available under a free and open source
license.
</p>
<form method="get" action="/packages/">
<input type="text" name="q" value="{{ query or ''}}" />
<input type="submit" value="Search" />
</form>
<p>
{% if current_user.is_authenticated %}
<a href="{{ url_for('user_profile_page', username=current_user.username) }}"
class="button button-primary">My Packages</a>
{% else %}
<a href="{{ url_for('user.login') }}" class="button button-primary">Join</a>
{% endif %}
</p>
</header>
<ul class="packagegrid">