diff options
Diffstat (limited to 'juick-spring-www/src')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html | 6 | ||||
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html | 20 |
2 files changed, 14 insertions, 12 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html index 4d05b7fb..28ccadea 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html @@ -1,3 +1,3 @@ -{% for tag in tags %} - <a href="/tag/{{ tag | urlencode }}" title="{{ tag }}">{{ tag }}</a> -{% endfor %}
\ No newline at end of file +<th:block th:each="tag:${tags}"> + <a th:href="|/tag/${tag}|" th:title="${tag}" th:text="${tag}">Tag</a> +</th:block>
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html index d1e7e075..c76363e5 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html @@ -8,15 +8,17 @@ <body> <section id="content"> - <fieldset> - <legend>Changing your password</legend> - <form action="/settings" method="post"> - <input type="hidden" name="page" value="password"/> - <p>Change password: <input type="password" name="password" size="8"/> <input type="submit" - value=" Update "/><br/> - <i>(max. length - 16 symbols)</i></p> - </form> - </fieldset> + <article layout:fragment="content"> + <fieldset> + <legend>Changing your password</legend> + <form action="/settings" method="post"> + <input type="hidden" name="page" value="password"/> + <p>Change password: <input type="password" name="password" size="8"/> <input type="submit" + value=" Update "/><br/> + <i>(max. length - 16 symbols)</i></p> + </form> + </fieldset> + </article> </section> <aside id="column"> <p layout:fragment="column" th:replace="views/partial/settings_tabs">Settings navigation</p> |