aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-18 00:16:10 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-18 00:16:10 +0100
commitfe53b6f3f3c49d4ad152516ed367c1005df0a50a (patch)
treea4520b416c92b1755d1da3aa57ff8b3e830da6d4 /app/templates/index.html
parent57c43e7994d1615d4d9d0d6c062239cd721f0b7b (diff)
downloadcheatdb-fe53b6f3f3c49d4ad152516ed367c1005df0a50a.tar.xz
Improve CSS and overall design
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index 43cd866..62bdb94 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -4,8 +4,9 @@
Dashboard
{% endblock %}
-{% block content %}
- <header>
+{% block container %}
+<header>
+ <div class="container">
<h1>Content DB</h1>
<p>
@@ -19,16 +20,26 @@ Dashboard
<input type="text" name="q" value="{{ query or ''}}" />
<input type="submit" value="Search" />
</form>
- </header>
+ </div>
+</header>
+<main>
<ul class="packagegrid">
{% for p in packages %}
<li><a href="{{ p.getDetailsURL() }}"
style="background-image: url({{ p.getMainScreenshotURL() or '/static/placeholder.png' }});">
- <span>{{ p.title }} by {{ p.author.display_name }}</span>
+ <div class="packagegridscrub"></div>
+ <div class="packagegridinfo">
+ <h3>{{ p.title }} by {{ p.author.display_name }}</h3>
+
+ <p>
+ {{ p.shortDesc }}
+ </p>
+ </div>
</a></li>
{% else %}
<li><i>No packages available</i></ul>
{% endfor %}
</ul>
+</main>
{% endblock %}