diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/packages/files-list.html | 11 | ||||
-rw-r--r-- | templates/packages/files.html | 16 |
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 %} |