init
Some checks are pending
CI / Tests (push) Waiting to run
CI / Docker Lint (push) Waiting to run

This commit is contained in:
2025-02-13 13:39:42 +03:00
parent a8ba145c3f
commit e1937c9e82
58 changed files with 8754 additions and 5 deletions

17
templates/base.html.twig Normal file
View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
{% block stylesheets %}
{% endblock %}
{% block javascripts %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>

View File

@@ -0,0 +1,18 @@
{% extends 'base.html.twig' %}
{% block title %}{{ branch.name }}{% endblock %}
{% block body %}
<h1>{{ branch.name }}</h1>
<div class="list">
{% for message in branch.messages %}
<span class="block">
{{ message.text }}
</span>
{% endfor %}
</div>
<h2>{% trans %}words.message{% endtrans %}</h2>
{{ form(create_message_form) }}
{% endblock %}

View File

@@ -0,0 +1,17 @@
{% extends 'base.html.twig' %}
{% block title %}{% trans %}titles.themes{% endtrans %}{% endblock %}
{% block body %}
<h1>{% trans %}titles.themes{% endtrans %}</h1>
<ul>
{% for theme in themes %}
<li>
<a href="{{ path('theme', { id: theme.id }) }}">
{{ theme.name }}
</a>
</li>
{% endfor %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}{% trans %}titles.theme{% endtrans %} {{ theme.name }}{% endblock %}
{% block body %}
<h1>{{ theme.name }}</h1>
<ul>
{% for branch in theme.branches %}
<li><a href="{{ path('branch', { id: branch.id }) }}">{{ branch.name }}</a></li>
{% endfor %}
</ul>
{% endblock %}