summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2017-01-06 19:00:35 +0100
committerMagnus Granberg <zorry@gentoo.org>2017-01-06 19:00:35 +0100
commitb7a478c798f525b39fc52b4b69d3863565cac377 (patch)
treead40efc5100ff21f855dfc0ef99a19dfc287dba5 /python/templates/pages
parentadd footer db updater (diff)
downloadtinderbox-cluster-www-b7a478c798f525b39fc52b4b69d3863565cac377.tar.gz
tinderbox-cluster-www-b7a478c798f525b39fc52b4b69d3863565cac377.tar.bz2
tinderbox-cluster-www-b7a478c798f525b39fc52b4b69d3863565cac377.zip
add categories, logs and build_req
Diffstat (limited to 'python/templates/pages')
-rw-r--r--python/templates/pages/build_req/index.html16
-rw-r--r--python/templates/pages/categories/index.html61
-rw-r--r--python/templates/pages/categories/packages/index.html63
-rw-r--r--python/templates/pages/categories/packages/versions/ebuild/index.html75
-rw-r--r--python/templates/pages/categories/packages/versions/index.html233
-rw-r--r--python/templates/pages/logs/all/build/index.html103
-rw-r--r--python/templates/pages/logs/build/index.html114
-rw-r--r--python/templates/pages/logs/build/submitbug/index.html8
-rw-r--r--python/templates/pages/logs/index.html42
9 files changed, 715 insertions, 0 deletions
diff --git a/python/templates/pages/build_req/index.html b/python/templates/pages/build_req/index.html
new file mode 100644
index 0000000..979921c
--- /dev/null
+++ b/python/templates/pages/build_req/index.html
@@ -0,0 +1,16 @@
+{% 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>
+ <a href="/packages/added">New Build Requst On Packages</a>
+ </h3>
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% include "includes/frontpage/new_build_req" %}
+ </table>
+ </div>
+</div>
+{% endblock %}
diff --git a/python/templates/pages/categories/index.html b/python/templates/pages/categories/index.html
new file mode 100644
index 0000000..f9463e9
--- /dev/null
+++ b/python/templates/pages/categories/index.html
@@ -0,0 +1,61 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="col-xs-12">
+ <ol class="breadcrumb">
+ <li><a href="/home/">Home</a></li>
+ <li class="active">Packages</li>
+</ol>
+
+<h1>Packages</h1>
+
+<div class="row">
+ <div class="col-md-9">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Browse Categories</h3>
+ </div>
+ <div class="panel-body">
+ <ul class="kk-col-list kk-4col-list kk-category-listing">
+ {% for C_list in CM_tmp %}
+ <li class="kk-col-list-header"><span class="kk-group-header">{{ C_list.letter }}</span></li>
+ {% for CM in C_list.CM_list %}
+ <li><a title="{{ CM.Descriptions }}" data-toggle="tooltip" data-placement="right" href="/categories/packages/{{ CM.CategoryId }}/">{{CM.Category }}</a></li>
+ {% endfor %}
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-3">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Update Feeds</h3>
+ </div>
+ <div class="list-group">
+ <a href="/packages/added" class="list-group-item">
+ <span class="fa fa-fw fa-history"></span>
+ Added Packages
+ </a>
+ <a href="/packages/updated" class="list-group-item">
+ <span class="fa fa-fw fa-asterisk"></span>
+ Updated Packages
+ </a>
+ <a href="/packages/stable" class="list-group-item">
+ <span class="fa fa-fw fa-check-circle-o"></span>
+ Newly Stable Packages
+ </a>
+ <a href="/packages/keyworded" class="list-group-item">
+ <span class="fa fa-fw fa-circle-o"></span>
+ <span class="translation_missing" title="translation missing: en.keyworded_packages">Keyworded Packages</span>
+ </a>
+ </div>
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+</div>
+{% endblock %}
diff --git a/python/templates/pages/categories/packages/index.html b/python/templates/pages/categories/packages/index.html
new file mode 100644
index 0000000..0e5678d
--- /dev/null
+++ b/python/templates/pages/categories/packages/index.html
@@ -0,0 +1,63 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="col-xs-12">
+ <ol class="breadcrumb">
+ <li><a href="/home/">Home</a></li>
+ <li><a href="/categories">Packages</a></li>
+ <li class="active">{{ C.CategoryId.Category }}</li>
+</ol>
+
+<div class="row">
+ <div class="col-md-4">
+ <h1 class="stick-top">
+ <span class="fa fa-fw fa-cubes"></span>
+ {{ C.CategoryId.Category }}
+ </h1>
+ </div>
+ <div class="col-md-8">
+ <p class="lead" style="margin: 0;">
+ {{ C.Descriptions }}
+ </p>
+ </div>
+</div>
+<hr>
+
+<div class="row">
+ <div class="col-md-9">
+ <!--<p>
+ <input type="text" class="form-control form-control-xl" placeholder="Search packages in app-accessibility">
+ </p>-->
+
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">All packages</h3>
+ </div>
+ <table class="table">
+{% for PM in PM_tmp %}
+ <tr>
+ <th class="kk-nobreak-cell"><a href="/categories/packages/versions/{{ PM.PackageId.PackageId }}">{{ PM.PackageId.Package }}</a></th>
+ <td>{{ PM.Descriptions }}</td>
+ </tr>
+{% endfor %}
+
+ </table>
+ </div>
+ </div>
+ <div class="col-md-3">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Statistics</h3>
+ </div>
+ <div class="panel-body">
+ {{ PM_tmp|length }} Packages
+ </div>
+ </div>
+ </div>
+</div>
+
+ </div>
+ </div>
+</div>
+{% endblock %}
diff --git a/python/templates/pages/categories/packages/versions/ebuild/index.html b/python/templates/pages/categories/packages/versions/ebuild/index.html
new file mode 100644
index 0000000..49ad3e5
--- /dev/null
+++ b/python/templates/pages/categories/packages/versions/ebuild/index.html
@@ -0,0 +1,75 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="row">
+ <div class="col-xs-12 col-md-9">
+ <h2>{{ E.PackageId.CategoryId.Category }}/{{ E.PackageId.Package }}</h2>
+ <table class="table table-striped frontpage-table">
+ {% for EM in EM_tmp %}
+ <tr>
+ <td class="frontpage-table-package-atom">
+ <p" title="{{ E.PackageId.CategoryId.Category }}/{{ E.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.PackageId.RepoId.Repo }}">{{ E.PackageId.Package }}-{{ E.Version }}::{{ E.PackageId.RepoId.Repo }}</p>
+ <a class="btn btn-default btn-xs" href="/buildpackage/{{ E.EbuildId.EbuildId }}/">Build</a>
+ </td>
+ <td>
+ {% for K in EK_tmp %}
+ {% if K.EbuildId.EbuildId == E.EbuildId and K.KeywordId.Keyword != '*' %}
+ {% if K.Status == 'Stable' %}<span class="label label-success">{{ K.KeywordId.Keyword }}</span>{% endif %}
+ {% if K.Status == 'Unstable' %}<span class="label label-warning">{{ K.KeywordId.Keyword }}</span>{% endif %}
+ {% if K.Status == 'Negative' %}{{ K.KeywordId.Keyword }}{% endif %}
+ {% endif %}
+ {% endfor %}
+ <p>
+ {% for U in EU_tmp %}
+ {% if U.Status %}
+ <span class="label label-info">{{ U.UseId.Flag }}</span>
+ {% else %}
+ <span class="label label-default">{{ U.UseId.Flag }}</span>
+ {% endif %}
+ {% endfor %}
+ </p><p>
+ {% for R in ER_tmp %}
+ <span class="label label-warning">{{ R.RestrictionId.Restriction }}</span>
+ {% endfor %}
+ </p>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+ <div class="col-xs-12 col-md-9">
+ <table class="table table-striped frontpage-table">
+ {% for BL in BL_tmp %}
+ <tr>
+ <td class="frontpage-table-package-atom">
+ {% for FI in fi_tmp %}
+ {% if FI.BuildLogId == BL.BuildLogId %}
+ {% 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 %}
+ {% endif %}
+ {% endfor %}
+ <a class="btn btn-default btn-xs" href="/new/logs/build/{{ BL.BuildLogId }}/">More info</a>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file
diff --git a/python/templates/pages/categories/packages/versions/index.html b/python/templates/pages/categories/packages/versions/index.html
new file mode 100644
index 0000000..7300f07
--- /dev/null
+++ b/python/templates/pages/categories/packages/versions/index.html
@@ -0,0 +1,233 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="kk-header-container">
+ <div class="container">
+ <div class="row">
+ <div class="col-xs-12">
+ <ol class="breadcrumb">
+ <li><a href="/">Home</a></li>
+ <li><a href="/categories">Packages</a></li>
+ <li><a href="/categories/packages/P.PackageId.PackageId">{{ P.PackageId.CategoryId.Category }}</a></li>
+ <li class="active">{{ P.PackageId.Package }}</li>
+ </ol>
+
+ <div class="row">
+ <div class="col-md-4">
+ <h1 class="stick-top kk-package-title" id="package-title" data-atom="{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}" data-category="{{ P.PackageId.CategoryId.Category }}" data-name="{{ P.PackageId.Package }}">
+ <small class="kk-package-cat">{{ P.PackageId.Package }}/</small>
+ <div>
+ <svg height="32" class="octicon octicon-package right left kk-package-icon" aria-label="Package icon" viewBox="0 0 16 16" version="1.1" width="32" role="img"><path d="M1 4.27v7.47c0 .45.3.84.75.97l6.5 1.73c.16.05.34.05.5 0l6.5-1.73c.45-.13.75-.52.75-.97V4.27c0-.45-.3-.84-.75-.97l-6.5-1.74a1.4 1.4 0 0 0-.5 0L1.75 3.3c-.45.13-.75.52-.75.97zm7 9.09l-6-1.59V5l6 1.61v6.75zM2 4l2.5-.67L11 5.06l-2.5.67L2 4zm13 7.77l-6 1.59V6.61l2-.55V8.5l2-.53V5.53L15 5v6.77zm-2-7.24L6.5 2.8l2-.53L15 4l-2 .53z"></path></svg>
+ <div class="kk-package-name">{{ P.PackageId.Package }}</div>
+ </div>
+ </h1>
+ </div>
+ <div class="col-md-8">
+ <p class="lead kk-package-maindesc">
+ {{ P.Descriptions }}
+ </p>
+
+ <p class="kk-package-homepage">
+ <a href="https://wiki.gnome.org/Accessibility" rel="nofollow">https://wiki.gnome.org/Accessibility</a>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+
+
+<div class="container">
+ <div class="row">
+ <div class="col-xs-12">
+
+<div class="row">
+ <div class="col-md-9">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">
+ Available Versions
+ </h3>
+ </div>
+ {% for E in EM_info %}
+ <table class="table table-bordered kk-versions-table">
+<tr>
+ <td>
+ <strong>{{ E.Version }}</strong><span class="kk-slot"> :{{ E.Slot }}:</span>{{ P.PackageId.RepoId.Repo }}
+ {% for R in E.ER_tmp %}
+ <span class="label label-danger kk-restrict-label" titel="The following feature are restricted: {{ R.RestrictionId.Restriction}}">{{ R.RestrictionId.Restriction|first|upper }}</span>
+ {% endfor %}
+ <small class="text-muted pull-right">
+ <span>{{ E.TimeStamp|date:"D d b Y G i" }}</span>
+ </small>
+ </td>
+</tr>
+<tr>
+ <td>
+ {% for K in E.EK_tmp %}
+ {% if K.EbuildId.EbuildId == E.EbuildId and K.KeywordId.Keyword != '*' and '-' not in K.KeywordId.Keyword %}
+ {% if K.Status == 'Stable' %}<span class="label kk-keyword-stable" title="{{ E.V }} is stable on {{ K.KeywordId.Keyword }}">{{ K.KeywordId.Keyword }}</span>{% endif %}
+ {% if K.Status == 'Unstable' %}<span class="label kk-keyword-testing" title="{{ E.V }} is testing on {{ K.KeywordId.Keyword }}">~{{ K.KeywordId.Keyword }}</span>{% endif %}
+ {% if K.Status == 'Negative' %}<span class="label kk-keyword-negative" title="{{ E.V }} is negative on {{ K.KeywordId.Keyword }}">-{{ K.KeywordId.Keyword }}{% endif %}
+ {% endif %}
+ {% endfor %}
+ </td>
+</tr>
+<tr>
+ <td>
+ {% for U in E.EU_tmp %}
+ {% if U.Status %}
+ <span class="label label-info">{{ U.UseId.Flag }}</span>
+ {% endif %}
+ {% endfor %}
+ </td>
+</tr>
+<tr>
+ <td>
+ {% for BL in E.BL_tmp %}
+ {% for FI in E.fi_tmp %}
+ {% if FI.BuildLogId == BL.BuildLogId %}
+ {% 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 %}
+ {% endif %}
+ {% endfor %}
+ <a class="btn btn-default btn-xs" href="/new/logs/build/{{ BL.BuildLogId }}/">More info</a>
+ {% endfor %}
+ </td>
+</tr>
+</table>
+{% endfor %}
+</div>
+
+
+
+
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Package Metadata</h3>
+ </div>
+ <ul class="list-group kk-metadata-list">
+ <li class="kk-metadata-item list-group-item">
+ <div class="row">
+ <div class="col-xs-12 col-md-3 kk-metadata-key">
+ <span class="fa fa-fw fa-sliders"></span>
+ USE flags
+ </div>
+ <div class="col-xs-12 col-md-9">
+
+
+
+ </div>
+ </div>
+ </li>
+ <li class="kk-metadata-item list-group-item">
+ <div class="row">
+ <div class="col-xs-12 col-md-3 kk-metadata-key">
+ <span class="fa fa-fw fa-legal"></span>
+ License
+ </div>
+ <div class="col-xs-12 col-md-9">
+ <a href="https://gitweb.gentoo.org/repo/gentoo.git/plain/licenses/LGPL-2+">LGPL-2+</a>
+ </div>
+ </div>
+ </li>
+ <li class="kk-metadata-item list-group-item">
+ <div class="row">
+ <div class="col-xs-12 col-md-3 kk-metadata-key">
+ <span class="fa fa-fw fa-user"></span>
+ Maintainer(s)
+ </div>
+ <div class="col-xs-12 col-md-9">
+ <a title="gnome@gentoo.org" href="mailto:gnome@gentoo.org">Gentoo GNOME Desktop</a>
+ </div>
+ </div>
+ </li>
+ </ul>
+</div>
+
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Changelog</h3>
+ </div>
+ <ul class="list-group" id="changelog-container">
+ <li class="list-group-item kk-panel-content-sorry">
+ <span class="fa fa-refresh fa-spin fa-3x"></span>
+ <noscript>
+ <br><br>
+ Inline Changelog cannot be displayed.
+ <br><br>
+ <a href="https://gitweb.gentoo.org/repo/gentoo.git/log/{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}?showmsg=1" class="btn btn-default">
+ <span class="fa fa-fw fa-history"></span>
+ View Git Changelog
+ </a>
+ </noscript>
+ </li>
+ </ul>
+</div>
+
+ </div>
+ <div class="col-md-3">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Resources</h3>
+ </div>
+ <div class="list-group">
+ <a href="https://bugs.gentoo.org/buglist.cgi?quicksearch={{ P.PackageId.CategoryId.Category }}%2{{ P.PackageId.Package }}" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-bug"></span>
+ Related bugs
+ </a>
+ <a href="https://wiki.gentoo.org/index.php?title=Special%3ASearch&fulltext=Search&search={{ P.PackageId.Package }}" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-book"></span>
+ Documentation
+ </a>
+ <a href="https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&search_keywords={{ P.PackageId.Package }}&mode=results" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-comments-o"></span>
+ Forums posts
+ </a>
+ <a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-code-fork"></span>
+ Git repository browser
+ </a>
+ <a href="https://gitweb.gentoo.org/repo/gentoo.git/log/{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}?showmsg=1" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-history"></span>
+ Git log
+ </a>
+ <a href="https://gitweb.gentoo.org/repo/gentoo.git/atom/{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}?h=master" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-rss"></span>
+ Changes feed
+ </a>
+ <a href="http://www.portagefilelist.de/site/query/listPackageVersions/?category={{ P.PackageId.CategoryId.Category }}&package={{ P.PackageId.Package }}&do#result" class="list-group-item" target="_blank">
+ <span class="fa fa-fw fa-files-o"></span>
+ Installed files <small>(via PFL<span class="fa fa-fw fa-external-link-square"></span>)</small>
+ </a>
+ </div>
+</div>
+
+ </div>
+</div>
+
+<script src="https://packages.gentoo.org/assets/packages/show-c78475ea4f81a974351958c07ed5c4892c04b77054506dec44f177cd8cb9271d.js"></script>
+
+ </div>
+ </div>
+</div>
+
+{% endblock %}
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 %}
diff --git a/python/templates/pages/logs/build/index.html b/python/templates/pages/logs/build/index.html
new file mode 100644
index 0000000..0bbc96b
--- /dev/null
+++ b/python/templates/pages/logs/build/index.html
@@ -0,0 +1,114 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="row">
+ <h2>{{ BLI.C }}/{{ BLI.P }}-{{ BLI.V }}::{{ BLI.R }}
+ {% if FI.others %}
+ <span class="label label-info">Others</span>
+ {% else %}
+ {% if FI.qa %}
+ <span class="label label-warning">
+ {% else %}
+ <span class="label label-success">
+ {% endif %}
+ Qa</span>
+ {% if FI.repoman %}
+ <span class="label label-warning">
+ {% else %}
+ <span class="label label-success">
+ {% endif %}
+ Repoman</span>
+ {% if FI.TestRun %}
+ {% if FI.test %}
+ <span class="label label-danger">
+ {% else %}
+ <span class="label label-success">
+ {% endif %}
+ Test</span>
+ {% endif %}
+ {% if FI.build %}
+ <span class="label label-danger">{{ FI.builderror }}
+ {% else %}
+ <span class="label label-success">Build
+ {% endif %}
+ </span>
+ {% endif %}
+ </h2>
+ {% if BLI.BugId %}
+ <span class="label label-info">
+ <a href="https://bugs.gentoo.org/show_bug.cgi?id={{ BLI.BugId}}" target=_blank>Bug Gentoo {{ BLI.BugId }}</a>
+ </span>
+ {% endif %}
+</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 />
+ {% if user.is_authenticated %}
+ {% if bugzillalogin %}
+ <a href="/logs/build/submitlog/{{BLI.BuildLogId}}/">
+ {% else %}
+ <a href="/user/bugzillalogin/">
+ {% endif %}
+ Summit log to Gentoo's bugzilla</a>
+ {% endif %}
+ {% endif %}
+ </div>
+ </div>
+{% endblock %}
diff --git a/python/templates/pages/logs/build/submitbug/index.html b/python/templates/pages/logs/build/submitbug/index.html
new file mode 100644
index 0000000..4f1458f
--- /dev/null
+++ b/python/templates/pages/logs/build/submitbug/index.html
@@ -0,0 +1,8 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<form action="/logs/build/submitlog/{{B.BuildLogId}}/" method="post">
+{% csrf_token %}
+{{ form.as_p }}
+<input type="submit" value="Submit" />
+</form>
+{% endblock %}
diff --git a/python/templates/pages/logs/index.html b/python/templates/pages/logs/index.html
new file mode 100644
index 0000000..ff5f354
--- /dev/null
+++ b/python/templates/pages/logs/index.html
@@ -0,0 +1,42 @@
+{% 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>
+ <a href="/packages/added">New Build Logs On Packages</a>
+ </h3>
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% include "includes/frontpage/new_logs" %}
+ </table>
+ </div>
+</div>
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">
+ <span class="fa fa-fw fa-history"></span>
+ <a href="/packages/added">New Repoman Logs On Packages</a>
+ </h3>
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% include "includes/frontpage/new_repoman" %}
+ </table>
+ </div>
+</div>
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">
+ <span class="fa fa-fw fa-history"></span>
+ <a href="/packages/added">New Qa Logs On Packages</a>
+ </h3>
+ </div>
+ <div class="table-responsive">
+ <table class="table table-striped">
+ {% include "includes/frontpage/new_qa" %}
+ </table>
+ </div>
+</div>
+{% endblock %}