summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/pages/new')
-rw-r--r--python/templates/pages/new/index.html25
-rw-r--r--python/templates/pages/new/logs/build/index.html90
-rw-r--r--python/templates/pages/new/logs/index.html46
-rw-r--r--python/templates/pages/new/repoman/index.html25
4 files changed, 0 insertions, 186 deletions
diff --git a/python/templates/pages/new/index.html b/python/templates/pages/new/index.html
deleted file mode 100644
index 085f180..0000000
--- a/python/templates/pages/new/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends "layout/base.html" %}
-{% block content %}
-<div class="row">
- <div class="col-xs-12 col-md-6">
- <h2>New Packages <small>more at the <a href="/new_packages/">New Packages</a></small></h2>
- {% include "includes/frontpage/new_packages" %}
- </div>
- <div class="col-xs-12 col-md-6">
- <h2>New Logs <small>more at the <a href="/new/logs/">New Logs</a></small></h2>
- {% include "includes/frontpage/new_logs" %}
- </div>
-</div>
-
-<div class="row">
- <div class="col-xs-12 col-md-6">
- <h2>New Build Requests <small>more at the <a href="/new_build_req">New Build Requests</a></small></h2>
- {% include "includes/frontpage/new_build_req" %}
- </div>
- <div class="col-xs-12 col-md-6">
- <h2>New Repoman's <small>on the <a href="/new/repoman/">New Repoman's</a></small></h2>
- {% include "includes/frontpage/new_repoman" %}
- </div>
-</div>
-
-{% endblock %} \ No newline at end of file
diff --git a/python/templates/pages/new/logs/build/index.html b/python/templates/pages/new/logs/build/index.html
deleted file mode 100644
index a79e54a..0000000
--- a/python/templates/pages/new/logs/build/index.html
+++ /dev/null
@@ -1,90 +0,0 @@
-{% extends "layout/base.html" %}
-{% block content %}
-<div class="row">
- <h2>{{ BLI.C }}/{{ BLI.P }}-{{ BLI.V }}::{{ BLI.R }}
- {% if FI.Blo %}
- <span class="label label-info">Others</span>
- {% else %}
- {% if FI.qa %}
- <span class="label label-warning">Qa</span>
- {% else %}
- <span class="label label-success">Qa</span>
- {% endif %}
- {% if FI.repoman %}
- <span class="label label-warning">Repoman</span>
- {% else %}
- <span class="label label-success">Repoman</span>
- {% endif %}
- {% if FI.Blb %}
- <span class="label label-danger">Build</span>
- {% else %}
- <span class="label label-success">Build</span>
- {% endif %}
- {% endif %}
- </h2>
-</div>
-<div class="row-fluid">
- <div class=span3>
- <p class="lead">Host information</p>
- Host: {{ BLI.hostname }}<br />
- Config: {{BLI.config }}<br />
- Profile: {{BLI.profile }}<br/>
- Emerge options :
- </div>
- {% if BLI.use_enable %}
- <div class="span3 ">
- <p class="lead">Enabled useflags</p>
- {% for use in BLI.use_enable %}
- {{ use }}
- {% endfor %}
- </div>
- {% endif %}
- {% if BLI.use_disable %}
- <div class=span3>
- <p class="lead">Disabled useflags</p>
- {% for use in BLI.use_disable %}
- {{ use }}
- {% endfor %}
- </div>
-{% endif %}
- </div>
- <div class="row-fluid">
- <div class=span12>
- {% if BLI.Summery_text %}
- <p class="lead">Summery: </p>
- {{ BLI.Summery_text|linebreaks }}
- {% endif %}
- </div>
- </div>
- <div class="row-fluid">
- <div class=span12>
- {% if BLI.Repoman %}
- <p class="lead">Repoman Summery: </p>
- {{ BLI.Repoman|linebreaks }}
- {% endif %}
- </div>
- </div>
- <div class="row-fluid">
- <div class=span12>
- {% if BLI.QA %}
- <p class="lead">QA Summery: </p>
- {{ BLI.QA|linebreaks }}
- {% endif %}
- </div>
- </div>
- <div class="row-fluid">
- <div class=span12>
- <p class="lead">Emerge Info: </p>
- {{ BLI.emerge_info_text|linebreaks }}
- </div>
- </div>
- <div class="row-fluid">
- <div class="span12">
- {% if BLI.logname %}
- <br />
- Log file name:{{ BLI.logname }}<br />
- <a href="{{ STATIC_URL }}logs/{{BLI.hostname}}/{{BLI.config}}/{{ BLI.logname }}">Raw log<a/><br />
- {% endif %}
- </div>
- </div>
-{% endblock %} \ No newline at end of file
diff --git a/python/templates/pages/new/logs/index.html b/python/templates/pages/new/logs/index.html
deleted file mode 100644
index 656ad7e..0000000
--- a/python/templates/pages/new/logs/index.html
+++ /dev/null
@@ -1,46 +0,0 @@
-{% extends "layout/base.html" %}
-{% block content %}
-<div class="row">
- <h2>New Logs's</h2>
- <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
- {% for BL in BL_tmp %}
- <div class="panel panel-default">
- <div class="panel-heading" role="tab" id="heading{{ BL.BuildLogId }}">
- <h4 class="panel-title">
- <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{ BL.BuildLogId }}" aria-expanded="false" aria-controls="collapse{{ BL.BuildLogId }}">
- {{ BL.C}}/{{ BL.P }}-{{ BL.V }}::{{ BL.R }}
- {{ BL.SummeryText|truncatewords:6 }}
- </a>
- <td class="text-right">
- {% if BL.Fail %}
- {% for BE in BL.BE_tmp %}
- {% if BE.BuildLogId.BuildLogId == BL.BuildLogId %}
- {% if BE.ErrorId.ErrorId == 1 or BE.ErrorId.ErrorId == 2 %}
- <span class="label label-warning">{{ BE.ErrorId.ErrorName|upper }}</span>
- {% elif BE.ErrorId.ErrorId == 3 %}
- <span class="label label-info">OTHERS</span>
- {% else %}
- <span class="label label-danger">{{ BE.ErrorId.ErrorName|upper }}</span>
- {% endif %}
- {% endif %}
- {% endfor %}
- {% else %}
- <span class="label label-success">OK</span>
- {% endif %}
- <a class="btn btn-default btn-xs" href="/new/logs/build/{{ BL.BuildLogId }}/">More info</a>
- </td>
- </h4>
- </div>
- <div id="collapse{{ BL.BuildLogId }}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{ BL.BuildLogId }}">
- <div class="panel-body">
- {{ BL.SummeryText|linebreaksbr }}
- {% if BL.PR %}
- {{ BL.PR|linebreaksbr }}
- {% endif %}
- </div>
- </div>
- </div>
- {% endfor %}
- </div>
-</div>
-{% endblock %} \ No newline at end of file
diff --git a/python/templates/pages/new/repoman/index.html b/python/templates/pages/new/repoman/index.html
deleted file mode 100644
index 7df33e9..0000000
--- a/python/templates/pages/new/repoman/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% 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 %}