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>
This commit is contained in:
Thayer Williams 2010-03-16 11:52:37 -07:00 committed by Dan McGee
parent c31d474f6d
commit 5813ec1819
2 changed files with 14 additions and 13 deletions

View File

@ -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 %}

View File

@ -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 %}