-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recipes: cleanup dashboard and browsable interface
- Loading branch information
Guillaume Hélouis
committed
Oct 1, 2015
1 parent
ca7d8bd
commit 2e3802a
Showing
9 changed files
with
143 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends 'base.html' %} | ||
{% load staticfiles %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
|
||
<nav class="navbar navbar-default"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="{% url 'testing.views.dashboard' %}">Dashboard dev</a> | ||
</div> | ||
<a href="{% url 'testing.views.dashboard' %}"> | ||
<button class="btn btn-primary navbar-btn">Recettes</button> | ||
</a> | ||
<a href="{% url 'testing.views.dashboard_ingreds' %}"> | ||
<button class="btn btn-info navbar-btn">Ingrédients</button> | ||
</a> | ||
</div> | ||
</nav> | ||
|
||
{% block dash-content %} | ||
{% endblock %} | ||
|
||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% extends 'base_dashboard.html' %} | ||
{% load staticfiles %} | ||
|
||
{% block dash-content %} | ||
<div class="container"> | ||
|
||
<div class="row col-sm-12"> | ||
<div class="alert alert-info col-sm-4"> | ||
<b>Nombre total d'ingrédients: {{ nb_ingreds }}</b> | ||
</div> | ||
</div> | ||
<div class="row col-sm-12"> | ||
<div class="alert alert-warning col-sm-4"> | ||
<b>Nombre total de familles d'ingrédients: {{ nb_family }}</b> | ||
</div> | ||
</div> | ||
<div class="row col-sm-12"> | ||
<div class="alert alert-success col-sm-4"> | ||
<b>Nombre total de nutriments: {{ nb_nut }}</b> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters