fix webpack build system

This commit is contained in:
TuxCoder 2022-02-19 10:21:00 +01:00
parent 032cd8d963
commit c15be406ea
53 changed files with 498 additions and 19204 deletions

View file

@ -17,6 +17,7 @@
<div class="sidebar-sticky active">
<li class="nav-item"><a class="nav-link" href="{{ url_for('admin.users') }}">{{ gettext('users') }}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ url_for('admin.registrations') }}">{{ gettext('registrations') }}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ url_for('admin.clients') }}">{{ gettext('clients') }}</a></li>
</div>
</nav>

View file

@ -0,0 +1,14 @@
{% extends 'admin/base.html.j2' %}
{% block title %}{{ gettext('client') }}{% endblock %}
{% block content %}
<p>
created at: {{ client.created_at }}<br />
update at: {{ client.updated_at }}
</p>
{{ render_form(form) }}
{% endblock%}

View file

@ -0,0 +1,39 @@
{% extends 'admin/base.html.j2' %}
{% block title %}{{ gettext('clients') }}{% endblock %}
{% block content %}
<table class="table">
<thead>
<tr>
<th>id</th>
<th>name</th>
<th>created_at</th>
<th>modified_at</th>
<th>contact</th>
<th>client_uri</th>
<th>audience</th>
<th>action</th>
</tr>
</thead>
<tbody>
{% for client in clients %}
<tr>
<td>{{ client['client_id'] }}</td>
<td>{{ client['client_name'] }}</td>
<td>{{ client['created_at'] }}</td>
<td>{{ client['updated_at'] }}</td>
<td>{{ client['contacts'] }}</td>
<td>{{ client['client_uri'] }}</td>
<td>{{ client['audience'] }}</td>
<td>
<a title="{{ gettext('Edit')}}" href="{{ url_for('.client', client_id=client['client_id']) }}" ><i class="fas fa-edit"></i></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock%}