projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add frontend tests and other stuff
[recipes.git]
/
backend
/
templates
/
base_with_header.html
diff --git
a/backend/templates/base_with_header.html
b/backend/templates/base_with_header.html
index
04cdd9f
..
e8ed659
100644
(file)
--- a/
backend/templates/base_with_header.html
+++ b/
backend/templates/base_with_header.html
@@
-2,13
+2,17
@@
{% block body_container %}
<div class="header-container">
{% block body_container %}
<div class="header-container">
- <h1><a href="/">~~ Recettes de cuisine ~~</a></h1>
+ <a class="title" href="/">~~ Recettes de cuisine ~~</a>
+
+ <span class="create-recipe">Create a new recipe</span>
+
{% match user %}
{% when Some with (user) %}
{% match user %}
{% when Some with (user) %}
- <
div>{{ user.email }} / <a href="/signout" />Sign out</a></div
>
+ <
span>{{ user.email }} / <a href="/signout" />Sign out</a></span
>
{% when None %}
{% when None %}
- <
div><a href="/signin" >Sign in</a> / <a href="/signup">Sign up</a></div
>
+ <
span><a href="/signin" >Sign in</a> / <a href="/signup">Sign up</a></span
>
{% endmatch %}
{% endmatch %}
+
</div>
<div class="main-container">
{% block main_container %}{% endblock %}
</div>
<div class="main-container">
{% block main_container %}{% endblock %}