<html>
<head>
<link rel="stylesheet" href="{{css}}"/>
- <link rel="stylesheet" href="phorkie.css" />
+ <link rel="stylesheet" href="/phorkie.css" />
<title>{% block title %}{% endblock %} - Phorkie</title>
</head>
<body>
{% extends "base.htm" %}
-{% block title %}{{description}}{% endblock %}
+{% block title %}
+ {%if repo.getDescription %}
+ {{repo.getDescription}}
+ {%else%}
+ {{repo.id}}
+ {%endif%}
+{% endblock %}
{% block content %}
<h1>{{repo.getDescription}}</h1>
{% block title %}List of all pastes{% endblock %}
{% block content %}
-<ul class="list">
+<ul class="nav nav-pills nav-stacked">
{% for repo in repos %}
<li>
- <h2><a href="{{repo.getLink('display')}}">{{repo.id}}</a></h2>
- <p>{{repo.getDescription}}</p>
+ <a href="{{repo.getLink('display')}}">
+ {{repo.id}}
+ {{repo.getDescription}}
+ </a>
</li>
{% endfor %}
</ul>
+
<ul class="pager">
{% if links.prev %}
<li class="previous">
}
.file .code {
margin-left: 2em;
+}
+ul.pager {
+ margin-top: 2ex;
}
\ No newline at end of file