diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-09 18:58:09 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-09 18:58:09 +0100 |
commit | a55b4f84ff8fa9774b1aa3a0363d848b9a9bd252 (patch) | |
tree | 9eaeef4cbf16af4d1ae3834243999f4633b6788a | |
parent | 1b0dfb2acc9b2f971cf1e2102e6d4faefbc389f4 (diff) | |
download | cheatdb-a55b4f84ff8fa9774b1aa3a0363d848b9a9bd252.tar.xz |
Improve homepage header
-rw-r--r-- | app/scss/page.scss | 4 | ||||
-rw-r--r-- | app/templates/index.html | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/app/scss/page.scss b/app/scss/page.scss index 9bb71d2..2aede6f 100644 --- a/app/scss/page.scss +++ b/app/scss/page.scss @@ -60,6 +60,10 @@ header { background: #113; } +header p { + max-width: 400px; +} + /* Footer */ diff --git a/app/templates/index.html b/app/templates/index.html index 4dd1dd8..8ad9ce6 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -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"> |