diff options
Diffstat (limited to 'python/bb_dashboard/www/templates')
-rw-r--r-- | python/bb_dashboard/www/templates/www/index.html | 42 | ||||
-rw-r--r-- | python/bb_dashboard/www/templates/www/news.html | 20 |
2 files changed, 62 insertions, 0 deletions
diff --git a/python/bb_dashboard/www/templates/www/index.html b/python/bb_dashboard/www/templates/www/index.html new file mode 100644 index 0000000..18ecc63 --- /dev/null +++ b/python/bb_dashboard/www/templates/www/index.html @@ -0,0 +1,42 @@ +{% extends "layout/base.html" %} +{% block content %} +{% include "includes/container/start" %} +<div class="row"> + <div class="col-xs-12 col-sm-8 col-md-9"> + <p> + Welcome to Gentoo Ci Dashboard. + </p> + </div> + <div class="col-xs-12 col-sm-4 col-md-3 buttons"> + <a href="/get-started/about/" class="btn btn-default btn-block">Learn more</a> + <a href="/get-started/" class="btn btn-primary btn-block"><i class="fa fa-fw fa-rocket"></i> Get started now</a> + </div> +</div> +{% include "includes/container/end" %} +{% include "www/news.html" %} + +<div class="row"> + <div class="col-xs-12 col-md-6"> + <h2>New Commits <small>more at the <a href="/new_packages/">New Commits</a></small></h2> + + </div> + <div class="col-xs-12 col-md-6"> + <h2>New Builds <small>more at the <a href="/new_logs/">New Builds</a></small></h2> + + </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> + + </div> + <div class="col-xs-12 col-md-6"> + <h2>New Pkgcheck or QA checks <small>on the <a href="/new/repomanqa/">New Pkgcheck or QA checks</a></small></h2> + + </div> +</div> + +<hr> + +{% endblock %} diff --git a/python/bb_dashboard/www/templates/www/news.html b/python/bb_dashboard/www/templates/www/news.html new file mode 100644 index 0000000..b722f51 --- /dev/null +++ b/python/bb_dashboard/www/templates/www/news.html @@ -0,0 +1,20 @@ +<section id="news"> +{% for post in posts %} +<article class="newsitem"> +<h2 class="stick-top newsitem-bullet"> + <span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span> + </h2> + <h2 class="stick-top newsitem-headline"> + <a href="{{ post.url }}">{{ post.title }}</a> <small>{{ post.created_at }}</small> + </h2> + <div class="newsitem-content"> + <p>{{ post.text|safe|escape }}</p> + </div> +</article> +{% endfor %} +</section> + +<div class="news-more"> + <a href="/news" class="btn btn-xs">All news items <span class="fa fa-fw fa-chevron-right"></span></a> +<hr> +</div> |