diff options
-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"> |