summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:52:37 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 15:55:38 -0500
commit5813ec18197dc76c99f85f8fc1d1c41ed7f396e3 (patch)
treed2b73a4f47ff71591e950908dd17ac437c5b6ddf
parentc31d474f6d6720614d225da6f3683428ba85d8a3 (diff)
downloadarchweb-5813ec18197dc76c99f85f8fc1d1c41ed7f396e3.tar.gz
archweb-5813ec18197dc76c99f85f8fc1d1c41ed7f396e3.zip
Filelists: Touch up the HTML of file list views
Remove some unnecessary classes and touch up the direct and AJAX views. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/packages/files-list.html11
-rw-r--r--templates/packages/files.html16
2 files changed, 14 insertions, 13 deletions
diff --git a/templates/packages/files-list.html b/templates/packages/files-list.html
index dee18ecd..c45e0f10 100644
--- a/templates/packages/files-list.html
+++ b/templates/packages/files-list.html
@@ -1,10 +1,9 @@
-<h4>Files:</h4>
{% if files.count %}
-<ul style="font-size:small;list-style:none">
-{% for file in files %}
-<li>{{ file.path }}</li>
-{% endfor %}
+<ul>
+ {% for file in files %}
+ <li>{{ file.path }}</li>
+ {% endfor %}
</ul>
{% else %}
-<p style="padding: 10px 20px;">No filelist available.</p>
+<p>No file list available.</p>
{% endif %}
diff --git a/templates/packages/files.html b/templates/packages/files.html
index 2f951062..7dc111b4 100644
--- a/templates/packages/files.html
+++ b/templates/packages/files.html
@@ -1,14 +1,16 @@
{% extends "base.html" %}
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package File List{% endblock %}
+
{% block content %}
- <div class="box">
- <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
- <p style="padding: 10px 20px;">
- <a href="{{ pkg.get_absolute_url }}">Back to Package</a>
- </p>
- <div class="listing" id="filelist">
+<div id="pkgdetails" class="box">
+
+ <h2>Package File List: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
+ <p><a href="{{ pkg.get_absolute_url }}">Back to Package</a></p>
+
+ <div id="metadata">
{% include "packages/files-list.html" %}
- </div>
</div>
+
+</div>
{% endblock %}