Skip to content

Commit

Permalink
Added a page to show all pictures.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Noé committed Feb 11, 2014
1 parent df9f7de commit 6b96c5f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 4 additions & 0 deletions website/static/css/openup.css
Expand Up @@ -64,3 +64,7 @@ h1#main_title {
padding: 20px 50px;
}

.center-content{
text-align: center;
}

2 changes: 1 addition & 1 deletion website/templates/base.html
Expand Up @@ -33,7 +33,7 @@

<hr/>
<footer>
<p>© 2012 <a href="http://www.biodiversity.be">Belgian Biodiversity Platform</a></p>
<p>© 2012-2014 <a href="http://www.biodiversity.be">Belgian Biodiversity Platform</a></p>
</footer>
</div>

Expand Down
14 changes: 11 additions & 3 deletions website/templates/index.html
Expand Up @@ -26,7 +26,14 @@
{# RBINS logo ? #}
</div>

<div class="row">
<div class="row">
<h1>View all pictures</h1>
<div class="center-content">
<form action="{% url 'website-search-view' %}">
<button type="submit" class="btn btn-large btn-success" type="button"><i class="icon-eye-open icon-white"></i> Browse all pictures on a single page</button>
</form>
</div>

<h1>Browse pictures by family</h1>

{% compute_tag_cloud families count_pictures font_size 10 55 log %}
Expand Down Expand Up @@ -61,7 +68,7 @@ <h1>Search pictures</h1>
</div>

<div class="form-actions">
<button id="submit_search" type="submit" class="btn btn-primary">Search</button>
<button id="submit_search" type="submit" class="btn btn-success">Search</button>
</div>
</fieldset>
</form>
Expand All @@ -84,9 +91,10 @@ <h1>About</h1>
{# <p>Explore this data on: <a href="#">Europeana</a> | <a href="#">GBIF</a></p> #}

{# TODO: Implement last update features... how ? #}
<p>Last updated on 21st August 2012.</p>
<p>Visits: {{ metrics.visits }}<p>
<p>Visitors: {{ metrics.visitors }}<p>

<p>Last updated on 11th February 2014.</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 6b96c5f

Please sign in to comment.