mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 23:17:37 +01:00
Improve homepage header
This commit is contained in:
parent
1b0dfb2acc
commit
a55b4f84ff
@ -60,6 +60,10 @@ header {
|
|||||||
background: #113;
|
background: #113;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header p {
|
||||||
|
max-width: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
|
|
||||||
|
@ -8,21 +8,17 @@ Dashboard
|
|||||||
<header>
|
<header>
|
||||||
<h1>Content DB</h1>
|
<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/">
|
<form method="get" action="/packages/">
|
||||||
<input type="text" name="q" value="{{ query or ''}}" />
|
<input type="text" name="q" value="{{ query or ''}}" />
|
||||||
<input type="submit" value="Search" />
|
<input type="submit" value="Search" />
|
||||||
</form>
|
</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>
|
</header>
|
||||||
|
|
||||||
<ul class="packagegrid">
|
<ul class="packagegrid">
|
||||||
|
Loading…
Reference in New Issue
Block a user