Remove unnecessary spaces at the end of HTML tag.
This commit is contained in:
parent
1b85c275e2
commit
45f4e2d169
5 changed files with 16 additions and 8 deletions
|
|
@ -90,6 +90,14 @@ body {
|
|||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
|
||||
li {
|
||||
margin-bottom: calc(consts.$margin / 2);
|
||||
|
||||
a {
|
||||
padding: calc(consts.$margin / 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<span class="user-menu">
|
||||
{% match context.user %}
|
||||
{% when Some with (user) %}
|
||||
<a class="button" href="/recipe/new" >{{ context.tr.t(Sentence::CreateNewRecipe) }}</a>
|
||||
<a class="button" href="/recipe/new">{{ context.tr.t(Sentence::CreateNewRecipe) }}</a>
|
||||
{% if user.is_admin %}
|
||||
<a class="button" href="/logs">Logs</a><a class="button" href="/dev_panel">Dev panel</a>
|
||||
{% endif %}
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
{% endif %}
|
||||
</a> / <a href="/signout">{{ context.tr.t(Sentence::SignOut) }}</a>
|
||||
{% when None %}
|
||||
<a href="/{{ context.tr.current_lang_code() }}/signin" >{{ context.tr.t(Sentence::SignInMenu) }}</a> / <a href="/{{ context.tr.current_lang_code() }}/signup">{{ context.tr.t(Sentence::SignUpMenu) }}</a> / <a href="/{{ context.tr.current_lang_code() }}/ask_reset_password">{{ context.tr.t(Sentence::LostPassword) }}</a>
|
||||
<a href="/{{ context.tr.current_lang_code() }}/signin">{{ context.tr.t(Sentence::SignInMenu) }}</a> / <a href="/{{ context.tr.current_lang_code() }}/signup">{{ context.tr.t(Sentence::SignUpMenu) }}</a> / <a href="/{{ context.tr.current_lang_code() }}/ask_reset_password">{{ context.tr.t(Sentence::LostPassword) }}</a>
|
||||
{% endmatch %}
|
||||
</span>
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
{% else %}
|
||||
odd
|
||||
{% endif %}
|
||||
" >
|
||||
">
|
||||
{% let l_info = Log::split_line(l) %}
|
||||
<span class="date-time">{{ l_info.date_time }}</span>
|
||||
<span class="level {{~ l_info.level }}">{{ l_info.level }}</span>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</select>
|
||||
|
||||
<div id="container-tags">
|
||||
<label for="input-tags" >{{ context.tr.t(Sentence::RecipeTags) }}</label>
|
||||
<label for="input-tags">{{ context.tr.t(Sentence::RecipeTags) }}</label>
|
||||
<span class="tags"></span>
|
||||
<input
|
||||
id="input-tags"
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
{% block content %}
|
||||
|
||||
<div class="content" id="recipe-view">
|
||||
<h2 class="recipe-title" >{{ recipe.title }}</h2>
|
||||
<h2 class="recipe-title">{{ recipe.title }}</h2>
|
||||
|
||||
{% if let Some(user) = context.user %}
|
||||
{% if user.can_edit_recipe(recipe) %}
|
||||
<a class="edit-recipe button" href="/{{ context.tr.current_lang_code() }}/recipe/edit/{{ recipe.id }}" >Edit</a>
|
||||
<a class="edit-recipe button" href="/{{ context.tr.current_lang_code() }}/recipe/edit/{{ recipe.id }}">Edit</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
</span>
|
||||
|
||||
{% if !recipe.description.is_empty() %}
|
||||
<div class="recipe-description" >
|
||||
<div class="recipe-description">
|
||||
{{ recipe.description | markdown }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
<div id="hidden-templates">
|
||||
{# To create a modal dialog to choose a date and and servings #}
|
||||
<div class="date-and-servings" >
|
||||
<div class="date-and-servings">
|
||||
{% include "calendar.html" %}
|
||||
|
||||
<label for="input-servings">{{ context.tr.t(Sentence::RecipeServings) }}</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue