summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/pages/logs/all/build/index.html')
-rw-r--r--python/templates/pages/logs/all/build/index.html103
1 files changed, 103 insertions, 0 deletions
diff --git a/python/templates/pages/logs/all/build/index.html b/python/templates/pages/logs/all/build/index.html
new file mode 100644
index 0000000..efac3b3
--- /dev/null
+++ b/python/templates/pages/logs/all/build/index.html
@@ -0,0 +1,103 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">
+ <span class="fa fa-fw fa-history"></span>
+ Build Logs On Packages
+ </h3>
+ {% if BL_tmp.has_other_pages %}
+ <ul class="pagination">
+ {% if BL_tmp.has_previous %}
+ <li><a href="?page={{ BL_tmp.previous_page_number }}">&laquo;</a></li>
+ {% else %}
+ <li class="disabled"><span>&laquo;</span></li>
+ {% endif %}
+ {% for i in BL_tmp.paginator.page_range %}
+ {% if BL_tmp.number == i %}
+ <li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
+ {% else %}
+ <li><a href="?page={{ i }}">{{ i }}</a></li>
+ {% endif %}
+ {% endfor %}
+ {% if BL_tmp.has_next %}
+ <li><a href="?page={{ BL_tmp.next_page_number }}">&raquo;</a></li>
+ {% else %}
+ <li class="disabled"><span>&raquo;</span></li>
+ {% endif %}
+ </ul>
+{% endif %}
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% for BL in BL_tmp %}
+<tr>
+ <td>
+ <a href="/logs/build/{{ BL.BuildLogId }}/">
+ <span class="text-muted">{{ BL.C }}/</span>/<strong>{{ BL.P }}-{{ BL.V }}::{{ BL.R }}</strong>
+ </a>
+ </td>
+ <td>
+ <p title="{{ BL.SummeryText }}">{{ BL.SummeryText|truncatewords:5 }}</p>
+ {% if BL.Fail %}
+ {% if BL.FI.others %}
+ <span class="label label-info">Others</span>
+ {% else %}
+ {% if BL.FI.qa %}
+ <span class="label label-warning">
+ {% else %}
+ <span class="label label-success">
+ {% endif %}
+ Qa</span>
+ {% if BL.FI.repoman %}
+ <span class="label label-warning">
+ {% else %}
+ <span class="label label-success">
+ {% endif %}
+ Repoman</span>
+ {% if BL.FI.TestRun %}
+ {% if BL.FI.test %}
+ <span class="label label-danger">
+ {% else %}
+ <span class="label label-success">
+ {% endif %}
+ Test</span>
+ {% endif %}
+ {% if BL.FI.build %}
+ <span class="label label-danger">{{ BL.FI.builderror }}
+ {% else %}
+ <span class="label label-success">Build
+ {% endif %}
+ </span>
+ {% endif %}
+ {% else %}
+ <span class="label label-success">Ok</span>
+ {% endif %}
+ </td>
+</tr>
+{% endfor %}
+ </table>
+ </div>
+</div>
+{% if BL_tmp.has_other_pages %}
+ <ul class="pagination">
+ {% if BL_tmp.has_previous %}
+ <li><a href="?page={{ BL_tmp.previous_page_number }}">&laquo;</a></li>
+ {% else %}
+ <li class="disabled"><span>&laquo;</span></li>
+ {% endif %}
+ {% for i in BL_tmp.paginator.page_range %}
+ {% if BL_tmp.number == i %}
+ <li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
+ {% else %}
+ <li><a href="?page={{ i }}">{{ i }}</a></li>
+ {% endif %}
+ {% endfor %}
+ {% if BL_tmp.has_next %}
+ <li><a href="?page={{ BL_tmp.next_page_number }}">&raquo;</a></li>
+ {% else %}
+ <li class="disabled"><span>&raquo;</span></li>
+ {% endif %}
+ </ul>
+{% endif %}
+{% endblock %}