diff options
author | Magnus Granberg <zorry@gentoo.org> | 2017-01-06 18:38:55 +0100 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2017-01-06 18:38:55 +0100 |
commit | 8075fca3b427cdedb19c50bf8c8ede5476aaf7ad (patch) | |
tree | 6065bda87ed2ee727cb79f614e57714b0a0f2aa2 /python/templates/pages/home/index.html | |
parent | Update for django 1.10 and fix links for css and js (diff) | |
download | tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.tar.gz tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.tar.bz2 tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.zip |
Redone the layout
Diffstat (limited to 'python/templates/pages/home/index.html')
-rw-r--r-- | python/templates/pages/home/index.html | 82 |
1 files changed, 62 insertions, 20 deletions
diff --git a/python/templates/pages/home/index.html b/python/templates/pages/home/index.html index 570202e..2d91149 100644 --- a/python/templates/pages/home/index.html +++ b/python/templates/pages/home/index.html @@ -1,28 +1,70 @@ {% extends "layout/base.html" %} {% block content %} -<hr> -<div class="row"> - <div class="col-xs-12 col-md-6"> - <h2>New or updated packages<small>more at the<a href="/new_packages/">New packages</a></small></h2> - {% include "includes/frontpage/new_packages" %} +<div class="jumbotron"> + <h2 class="site-welcome stick-top">Welcome to the Home of <span class="text-primary">19,363</span> Gentoo Packages</h2> + <form action="/packages/search" method="get"> + <div class="typeahead-container"> + <div class="typeahead-field"> + <span class="typeahead-query"> + <input id="q" name="q" type="search" autocomplete="off" placeholder="Find Packages" aria-label="Find Packages" autofocus> + </span> + <span class="typeahead-button"> + <button type="submit" title="Find" aria-label="Find"> + <span class="typeahead-search-icon"></span><span class="sr-only">Find</span> + </button> + </span> + </div> + </div> + </form> +</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">Added Packages</a> + </h3> + </div> + <div class="table-responsive"> + <table class="table table-striped"> + {% include "includes/frontpage/new_packages" %} + </table> + </div> +</div> +<div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title"> + <span class="fa fa-fw fa-asterisk"></span> + <a href="/packages/updated">Updated Packages</a> + </h3> + </div> + <ul class="list-group"> + {% include "includes/frontpage/updated_packages" %} + </ul> +</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 Build Requst On Packages</a> + </h3> </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 class="table-responsive"> + <table class="table table-striped"> + {% include "includes/frontpage/new_build_req" %} + </table> </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 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="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 class="table-responsive"> + <table class="table table-striped"> + {% include "includes/frontpage/new_logs" %} + </table> </div> </div> - -<hr> - -{% endblock %}
\ No newline at end of file +{% endblock %} |