templates/homepage.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block content %}
  3.     <div class="jumbotron">
  4.         <h1 class="display-3">{{ partdb_title }}</h1>
  5.         <h4>
  6.             {% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}
  7.             {% if git_branch is not empty or git_commit is not empty %}
  8.                 ({{ git_branch ?? '' }}/{{ git_commit ?? '' }})
  9.             {% endif %}
  10.         </h4>
  11.         {% if banner is not empty %}
  12.             <hr>
  13.             <div class="latex">
  14.                 <h5>{{ banner | markdown }}</h5>
  15.             </div>
  16.         {% endif %}
  17.     </div>
  18.     <div class="card border-primary mt-3">
  19.         <div class="card-header bg-primary text-white">
  20.             <h4><i class="fa fa-book fa-fw" aria-hidden="true"></i> {% trans %}homepage.license{% endtrans %}</h4>
  21.         </div>
  22.         <div class="card-body">
  23.             <p>Part-DB, Copyright &copy; 2019 - 2020 of <strong>
  24.                     <a class="link-external" rel="noopener" target="_blank" href="https://github.com/jbtronics/">Jan Böhmer</a>
  25.                 </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>.
  26.                 This is free software, and you are welcome to redistribute it under certain conditions.
  27.                 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>
  28.             </p>
  29.             <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>
  30.             <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>
  31.             <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>
  32.             <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>
  33.             <br>
  34.             {% trans %} homepage.basedOn {% endtrans %}
  35.             <a class="link-external" rel="noopener" target="_blank" href="http://www.cl-projects.de/"><strong>Christoph Lechner</strong></a>,
  36.             <a class="link-external" rel="noopener" target="_blank" href="http://www.grautier.com/"><strong>K. Jacobs</strong></a>
  37.             {% trans %} homepage.others {% endtrans %}
  38.         </div>
  39.     </div>
  40.     {% if datatable is not null %}
  41.     <div class="card mt-3">
  42.         <div class="card-header"><i class="fas fa-fw fa-history"></i> {% trans %}homepage.last_activity{% endtrans %}</div>
  43.         <div class="card-body">
  44.             {% include "LogSystem/_log_table.html.twig" %}
  45.         </div>
  46.     </div>
  47.     {% endif %}
  48. {% endblock %}