diff options
Diffstat (limited to 'budget/templates')
| -rw-r--r-- | budget/templates/home.html | 45 | ||||
| -rw-r--r-- | budget/templates/layout.html | 3 |
2 files changed, 31 insertions, 17 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html index 7cead45..f29ae30 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -1,26 +1,37 @@ {% extends "layout.html" %} -{% block sidebar %} -{% include "recent_projects.html" %} + +{% block sidebar_wrapper %}{% endblock %} + +{% block header %} +<div id="header"> + <div class="slide"> + <h1><span>Manage your shared <br>expenses easily</span></h1> + <a href="about.html" class="about_link">Try out the demo</a> + </div> +</div> {% endblock %} -{% block content %} +{% block container %} +<div class="container-fluid"> + <div class="content"> -<h2>Welcome on your budget manager</h2> -<p>You're sharing a house? are going on holidays with friends? are simply sharing money with others? We can help!</p> -<div class="row"> - <div class="span8 columns"> - <form action="{{ url_for('authenticate') }}" method="post"> - <h3>Log to an existing project...</h3> - {{ forms.authenticate(auth_form) }} - </form> + <h2>Welcome on your budget manager</h2> + <p>You're sharing a house? are going on holidays with friends? are simply sharing money with others? We can help!</p> + <div class="row"> + <div class="span8 columns"> + <form action="{{ url_for('authenticate') }}" method="post"> + <h3>Log to an existing project...</h3> + {{ forms.authenticate(auth_form) }} + </form> + </div> + <div class="span8 columns"> + <form action="{{ url_for('create_project') }}" method="post"> + <h3>...or create a new one</h3> + {{ forms.create_project(project_form) }}</div> + </form> + </div> </div> - <div class="span8 columns"> - <form action="{{ url_for('create_project') }}" method="post"> - <h3>...or create a new one</h3> - {{ forms.create_project(project_form) }}</div> - </form> </div> </div> - {% endblock %} diff --git a/budget/templates/layout.html b/budget/templates/layout.html index d1b63a9..328b392 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -67,6 +67,8 @@ </ul> {% endif %} </div> +{% block header %}{% endblock %} +{% block container %} <div class="container-fluid" style="margin-top: 40px"> <div class="sidebar">{% block sidebar %}{% endblock %}</div> <div class="content"> @@ -77,6 +79,7 @@ {% endblock %} </div> </div> +{% endblock %} </body> </html> |
