salvi/templates/home.jinja2

27 lines
619 B
Text
Raw Normal View History

2023-03-16 14:24:29 +01:00
{% extends "base.jinja2" %}
{% block title %}{{ T('homepage') }} - {{ app_name }}{% endblock %}
{% block content %}
2023-12-12 19:29:43 +01:00
<main class="homepage">
2023-04-06 23:02:07 +02:00
<h1 id="firstHeading">{{ T('welcome').format(app_name) }}</h1>
2023-12-12 19:29:43 +01:00
<div class="inner-content">
<div class="nl-new">
<a href="/create/">
<button class="submit-primary"><span class="material-icons">create</span> {{ T('new-note') }}</button>
</a>
</div>
2021-07-27 21:41:41 +02:00
2023-12-12 19:29:43 +01:00
<h2>{{ T('latest-notes') }}</h2>
2023-12-12 19:29:43 +01:00
<br style="clear:both">
{% from "macros/nl.jinja2" import nl_list with context %}
{{ nl_list(new_notes) }}
</div>
2023-05-17 20:52:33 +02:00
2023-12-12 19:29:43 +01:00
</main>
{% endblock %}