Part-DB.Part-DB-server/templates/homepage.html.twig

52 lines
3.3 KiB
Twig
Raw Normal View History

{% extends "base.html.twig" %}
{% block content %}
2022-07-24 22:48:21 +02:00
<div class="rounded p-4" style="background-color: var(--bs-gray-300);">
<h1 class="display-3">{{ partdb_title }}</h1>
<h4>
{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}
{% if git_branch is not empty or git_commit is not empty %}
({{ git_branch ?? '' }}/{{ git_commit ?? '' }})
{% endif %}
</h4>
{% if banner is not empty %}
<hr>
<div class="latex" data-controller="common--latex">
2022-09-18 17:50:25 +02:00
<h5>{{ banner | format_markdown }}</h5>
</div>
{% endif %}
</div>
<div class="card border-primary mt-3">
<div class="card-header bg-primary text-white">
<h4><i class="fa fa-book fa-fw" aria-hidden="true"></i> {% trans %}homepage.license{% endtrans %}</h4>
</div>
<div class="card-body">
2022-07-18 00:18:53 +02:00
<p>Part-DB, Copyright &copy; 2019 - 2022 of <strong>
<a class="link-external" rel="noopener" target="_blank" href="https://github.com/jbtronics/">Jan Böhmer</a>
2020-02-22 18:14:36 +01:00
</strong>. <br> Part-DB is published under the <strong>GNU Affero General Public License v3.0 (or later)</strong>, so it comes with <strong>ABSOLUTELY NO WARRANTY</strong>.
This is free software, and you are welcome to redistribute it under certain conditions.
Click <a href="https://raw.githubusercontent.com/Part-DB/Part-DB-symfony/master/LICENSE" class="link-external" rel="noopener" target="_blank">here</a> for details.<br>
</p>
<strong><i class="fab fa-github fa-fw"></i> {% trans %}homepage.github.caption{% endtrans %}:</strong> {% trans with {'%href%': 'https://github.com/Part-DB/Part-DB-symfony'}%}homepage.github.text{% endtrans %}<br>
<strong><i class="fas fa-question fa-fw"></i> {% trans %}homepage.help.caption{% endtrans %}:</strong> {% trans with {'%href%': 'https://github.com/Part-DB/Part-DB/wiki'}%}homepage.help.text{% endtrans %}<br>
<strong><i class="fas fa-comments fa-fw"></i> {% trans %}homepage.forum.caption{% endtrans %}:</strong> {% trans with {'%href%': 'https://www.mikrocontroller.net/topic/461256'}%}homepage.forum.text{% endtrans %}<br>
<strong><i class="fas fa-info fa-fw"></i> {% trans %}homepage.wiki.caption{% endtrans %}:</strong> {% trans with {'%href%': 'https://www.mikrocontroller.net/articles/Part-DB_RW_-_Lagerverwaltung'}%}homepage.wiki.text{% endtrans %}<br>
<br>
{% trans %} homepage.basedOn {% endtrans %}
<a class="link-external" rel="noopener" target="_blank" href="http://www.cl-projects.de/"><strong>Christoph Lechner</strong></a>,
<a class="link-external" rel="noopener" target="_blank" href="http://www.grautier.com/"><strong>K. Jacobs</strong></a>
{% trans %} homepage.others {% endtrans %}
</div>
</div>
{% if datatable is not null %}
<div class="card mt-3">
<div class="card-header"><i class="fas fa-fw fa-history"></i> {% trans %}homepage.last_activity{% endtrans %}</div>
<div class="card-body">
{% import "components/history_log_macros.html.twig" as log %}
{{ log.last_activity_component(datatable) }}
</div>
</div>
{% endif %}
{% endblock %}