diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-05-07 11:23:04 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-05-07 11:26:45 +0800 |
commit | b6f1c6d1e2fe24808501b9e9b2f8ac948782c814 (patch) | |
tree | 93ebbef007c206eefa45340a347ea24ce2bc8bb0 /templates | |
parent | d1b9cdb4c54f4b5081c877794a66b2a9fb753328 (diff) | |
download | patchwork-b6f1c6d1e2fe24808501b9e9b2f8ac948782c814.tar patchwork-b6f1c6d1e2fe24808501b9e9b2f8ac948782c814.tar.gz |
templates: display projects as inline-block elements
... rather than one long list.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/patchwork/projects.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/patchwork/projects.html b/templates/patchwork/projects.html index 5ccae9b..8c727ad 100644 --- a/templates/patchwork/projects.html +++ b/templates/patchwork/projects.html @@ -6,19 +6,20 @@ {% block body %} {% if projects %} - <dl> + <div class="project-set"> {% for p in projects %} - <dt> + <div class="project"> + <h2 class="project-title"> <a href="{% url 'patchwork.views.patch.list' project_id=p.linkname %}" >{{p.linkname}}</a> - </dt> - <dd>{{p.name}} + </h2> + <div class="project-name">{{p.name}}</div> {% if p.web_url %} - (<a href="{{p.web_url}}">website</a>) + <div class="project-url"><a href="{{p.web_url}}">website</a></div> {% endif %} - </dd> + </div> {% endfor %} - </dl> + </div> {% else %} <p>Patchwork doesn't have any projects to display!</p> {% endif %} |