summaryrefslogtreecommitdiff
path: root/templates/packages/files.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-11 22:16:58 -0600
committerDan McGee <dan@archlinux.org>2010-02-27 13:36:58 -0600
commit08f67821d1c2002711f519b2f7a09c7a8b5c8c2e (patch)
tree1991720bf8de7a7eb0e191185526d13aa8c0e1e4 /templates/packages/files.html
parenta0cd93c1d528fbb1c5919fed0a52b09bbe84933d (diff)
Make the package files view look better
Make it look more like the dependencies and required-by panes on the main package details page. Some day you might even find it shows up below there too via an AJAX call or something. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/files.html')
-rw-r--r--templates/packages/files.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/templates/packages/files.html b/templates/packages/files.html
index 145bcf24..dc0c64b7 100644
--- a/templates/packages/files.html
+++ b/templates/packages/files.html
@@ -1,11 +1,16 @@
{% extends "base.html" %}
-{% block title %}Pkg: {{ pkg.pkgname }} - Arch Linux Package File List{% endblock %}
+{% block title %}Arch Linux - Package File List - {{ pkg.pkgname }}{% endblock %}
{% block content %}
<div class="box">
- <h3>Viewing Files: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h3>
- {% for file in files %}
- {{ file.path }}<br />
- {% endfor %}
+ <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
+ <div class="listing">
+ <h4>Files:</h4>
+ <ul style="font-size:small;list-style:none">
+ {% for file in files %}
+ <li>{{ file.path }}</li>
+ {% endfor %}
+ </ul>
+ </div>
</div>
{% endblock %}