summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/pages/new/repoman/index.html')
-rw-r--r--python/templates/pages/new/repoman/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/python/templates/pages/new/repoman/index.html b/python/templates/pages/new/repoman/index.html
new file mode 100644
index 0000000..7df33e9
--- /dev/null
+++ b/python/templates/pages/new/repoman/index.html
@@ -0,0 +1,25 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="row">
+ <h2>New Repoman's</h2>
+ <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
+ {% for PR in PR_tmp %}
+ <div class="panel panel-default">
+ <div class="panel-heading" role="tab" id="heading{{ PR.Id }}">
+ <h4 class="panel-title">
+ <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{ PR.Id }}" aria-expanded="false" aria-controls="collapse{{ PR.Id }}">
+ {{ PR.PackageId.CategoryId.Category }}/{{ PR.PackageId.Package }}::{{ PR.PackageId.RepoId.Repo }}
+ {{ PR.RepomanText|truncatewords:6 }}
+ </a>
+ </h4>
+ </div>
+ <div id="collapse{{ PR.Id }}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{ PR.Id }}">
+ <div class="panel-body">
+ {{ PR.RepomanText|linebreaksbr }}
+ </div>
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+</div>
+{% endblock %}