diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-04 01:05:32 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-04 01:08:34 +0100 |
| commit | 7813c766acb44a328e2a79bc95d8b949b0c1c205 (patch) | |
| tree | 364bf58c6789e002cd93b723ba28a2f39ebbd1dc /app/templates | |
| parent | 9fc9826d3012b2551e1f36baf2ad4ad78be2cd14 (diff) | |
| download | cheatdb-7813c766acb44a328e2a79bc95d8b949b0c1c205.tar.xz | |
Add package scores and split homepage into new and popular
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/admin/list.html | 1 | ||||
| -rw-r--r-- | app/templates/index.html | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/templates/admin/list.html b/app/templates/admin/list.html index c565fe0..d307293 100644 --- a/app/templates/admin/list.html +++ b/app/templates/admin/list.html @@ -21,6 +21,7 @@ <option value="importscreenshots" selected>Import screenshots from VCS</option> <option value="importdepends">Import dependencies from downloads</option> <option value="modprovides">Set provides to mod name</option> + <option value="recalcscores">Recalc pakage scores</option> </select> <input type="submit" value="Perform" /> </form> diff --git a/app/templates/index.html b/app/templates/index.html index 46be684..5691f12 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -25,6 +25,10 @@ Welcome <main> {% from "macros/packagegridtile.html" import render_pkggrid %} - {{ render_pkggrid(packages) }} + <h2>Newly Added</h2> + {{ render_pkggrid(new) }} + + <h2>Popular</h2> + {{ render_pkggrid(popular) }} </main> {% endblock %} |
