mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-01 16:54:32 +02:00
Added an simple admin page for users.
This commit is contained in:
parent
0826f5e6aa
commit
8a4d665d2a
12 changed files with 276 additions and 30 deletions
|
@ -65,7 +65,9 @@
|
|||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="home_common">
|
||||
{{ form_row(form.name) }}
|
||||
{{ form_row(form.parent) }}
|
||||
{% if form.parent%}
|
||||
{{ form_row(form.parent) }}
|
||||
{% endif %}
|
||||
|
||||
{% block additional_controls %}{% endblock %}
|
||||
|
||||
|
@ -101,6 +103,7 @@
|
|||
<label class="col-form-label col-md-3">{% trans %}createdAt{% endtrans %}</label>
|
||||
<div class="col-md-9">
|
||||
<p class="form-control-plaintext">
|
||||
|
||||
{% if date(entity.addedDate) > date('1900/01/01') %}
|
||||
{{ entity.addedDate | localizeddate("long") }}
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue