Added regiter project an cleaned te code with better cuntions and reusable html templates. it's musch cleaner now
parent
3e4863d0c6
commit
c711194b99
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
,key,devbian,23.10.2023 16:41,file:///home/key/.config/libreoffice/4;
|
@ -1 +0,0 @@
|
|||||||
,key,devbian,20.10.2023 11:27,file:///home/key/.config/libreoffice/4;
|
|
Binary file not shown.
Binary file not shown.
|
File diff suppressed because one or more lines are too long
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,65 +0,0 @@
|
|||||||
{% extends "layout.html" %}
|
|
||||||
{% block content %}
|
|
||||||
<div class="{{ theme.userInputDivClass }}" style="{{ theme.userInputFormColor }}">
|
|
||||||
<form method="POST" action="">
|
|
||||||
{{ form.hidden_tag() }}
|
|
||||||
<fieldset class="form-group"></fieldset>
|
|
||||||
<legend class="border-bottom mb-4">{{ title }}</legend>
|
|
||||||
|
|
||||||
<!-- name of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.name.label(class="form-control-label") }}
|
|
||||||
{% if form.name.errors %}
|
|
||||||
{{ form.name(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.name.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.name(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- description of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.description.label(class="form-control-label") }}
|
|
||||||
{% if form.description.errors %}
|
|
||||||
{{ form.description(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.description.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.description(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Submit Button -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.submit(class="btn btn-outline-info") }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<div class="container-fluid pt-2">
|
|
||||||
<h3> <a href="#"> {{ tableTitle }}</a> </h3>
|
|
||||||
<table class="{{ theme.tableClass }}">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th scope="col">Name</th>
|
|
||||||
<th scope="col">Description</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{% for item in dbTable %}
|
|
||||||
<tr>
|
|
||||||
<th scope="row">{{ item.name }}</th>
|
|
||||||
<td>{{ item.description}}</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
{% endblock content %}
|
|
@ -1,182 +0,0 @@
|
|||||||
{% extends "layout.html" %}
|
|
||||||
{% block content %}
|
|
||||||
<div class="{{ theme.userInputDivClass }}" style="{{ theme.userInputFormColor }}">
|
|
||||||
<form method="POST" action="">
|
|
||||||
{{ form.hidden_tag() }}
|
|
||||||
<fieldset class="form-group">
|
|
||||||
<legend class="border-bottom mb-4">Register Company</legend>
|
|
||||||
|
|
||||||
<!-- name of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.company_name.label(class="form-control-label") }}
|
|
||||||
{% if form.company_name.errors %}
|
|
||||||
{{ form.company_name(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.company_name.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.company_name(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- legal_entity_id of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.legal_entity_id.label(class="form-control-label") }}
|
|
||||||
{% if form.legal_entity_id.errors %}
|
|
||||||
{{ form.legal_entity_id(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.legal_entity_id.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.legal_entity_id(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Relation of the company to us-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.relation_id.label(class="form-control-label") }}
|
|
||||||
{% if form.relation_id.errors %}
|
|
||||||
{{ form.relation_id(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.relation_id.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.relation_id(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- industry_id of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.industry_id.label(class="form-control-label") }}
|
|
||||||
{% if form.industry_id.errors %}
|
|
||||||
{{ form.industry_id(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.industry_id.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.industry_id(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- website of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.website.label(class="form-control-label") }}
|
|
||||||
{% if form.website.errors %}
|
|
||||||
{{ form.website(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.website.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.website(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- street of the company -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.street.label(class="form-control-label") }}
|
|
||||||
{% if form.street.errors %}
|
|
||||||
{{ form.street(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.street.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.street(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- no of the company -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.no.label(class="form-control-label") }}
|
|
||||||
{% if form.no.errors %}
|
|
||||||
{{ form.no(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.no.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.no(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- city of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.city.label(class="form-control-label") }}
|
|
||||||
{% if form.city.errors %}
|
|
||||||
{{ form.city(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.city.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.city(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- state of the company-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.state.label(class="form-control-label") }}
|
|
||||||
{% if form.state.errors %}
|
|
||||||
{{ form.state(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.state.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.state(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Postal Code of the company -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.post.label(class="form-control-label") }}
|
|
||||||
{% if form.post.errors %}
|
|
||||||
{{ form.post(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.post.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.post(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Country of the company -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.country.label(class="form-control-label") }}
|
|
||||||
{% if form.country.errors %}
|
|
||||||
{{ form.country(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.country.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.country(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
<!-- Submit Button -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.submit(class="btn btn-outline-info") }}
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -1,198 +0,0 @@
|
|||||||
{% extends "layout.html" %}
|
|
||||||
{% block content %}
|
|
||||||
<div class="{{ theme.userInputDivClass }}" style="{{ theme.userInputFormColor }}">
|
|
||||||
<form method="POST" action="">
|
|
||||||
{{ form.hidden_tag() }}
|
|
||||||
<fieldset class="form-group">
|
|
||||||
<legend class="border-bottom mb-4">Register Person</legend>
|
|
||||||
|
|
||||||
<!-- name of the person-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.name.label(class="form-control-label") }}
|
|
||||||
{% if form.name.errors %}
|
|
||||||
{{ form.name(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.name.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.name(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- last_name of the person-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.last_name.label(class="form-control-label") }}
|
|
||||||
{% if form.last_name.errors %}
|
|
||||||
{{ form.last_name(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.last_name.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.last_name(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Company of the person -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.company_id.label(class="form-control-label") }}
|
|
||||||
{% if form.company_id.errors %}
|
|
||||||
{{ form.company_id(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.company_id.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.company_id(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Role on the company no of the person -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.role_id.label(class="form-control-label") }}
|
|
||||||
{% if form.role_id.errors %}
|
|
||||||
{{ form.role_id(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.role_id.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.role_id(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Competence on the company no of the person -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.competence_id.label(class="form-control-label") }}
|
|
||||||
{% if form.competence_id.errors %}
|
|
||||||
{{ form.competence_id(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.competence_id.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.competence_id(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- date_of_birth of the person to us-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.date_of_birth.label(class="form-control-label") }}
|
|
||||||
{% if form.date_of_birth.errors %}
|
|
||||||
{{ form.date_of_birth(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.date_of_birth.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.date_of_birth(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- mail_prof of the person-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.mail_prof.label(class="form-control-label") }}
|
|
||||||
{% if form.mail_prof.errors %}
|
|
||||||
{{ form.mail_prof(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.mail_prof.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.mail_prof(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- mail_priv of the person -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.mail_priv.label(class="form-control-label") }}
|
|
||||||
{% if form.mail_priv.errors %}
|
|
||||||
{{ form.mail_priv(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.mail_priv.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.mail_priv(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Fix professional tel no of the person-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.tel_prof_fix.label(class="form-control-label") }}
|
|
||||||
{% if form.tel_prof_fix.errors %}
|
|
||||||
{{ form.tel_prof_fix(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.tel_prof_fix.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.tel_prof_fix(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Mobile professional number of the person-->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.tel_prof_mobile.label(class="form-control-label") }}
|
|
||||||
{% if form.tel_prof_mobile.errors %}
|
|
||||||
{{ form.tel_prof_mobile(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.tel_prof_mobile.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.tel_prof_mobile(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Private fix Tel Number of the person -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.tel_priv_fix.label(class="form-control-label") }}
|
|
||||||
{% if form.tel_priv_fix.errors %}
|
|
||||||
{{ form.tel_priv_fix(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.tel_priv_fix.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.tel_priv_fix(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Private Tel no of the person -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.tel_priv_mobile.label(class="form-control-label") }}
|
|
||||||
{% if form.tel_priv_mobile.errors %}
|
|
||||||
{{ form.tel_priv_mobile(class="form-control form-control-lg is-invalid") }}
|
|
||||||
<div class="invalid-feedback">
|
|
||||||
{% for error in form.tel_priv_mobile.errors %}
|
|
||||||
<span>{{ error }}</span>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
{{ form.tel_priv_mobile(class="form-control form-control-lg") }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
<!-- Submit Button -->
|
|
||||||
<div class="form-group">
|
|
||||||
{{ form.submit(class="btn btn-outline-info") }}
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -0,0 +1,56 @@
|
|||||||
|
{% extends "layout.html" %}
|
||||||
|
{% block content %}
|
||||||
|
<div class="{{ theme.userInputDivClass }}" style="{{ theme.userInputFormColor }}">
|
||||||
|
<form method="POST" action="">
|
||||||
|
{{ form.hidden_tag() }}
|
||||||
|
<fieldset class="form-group">
|
||||||
|
<legend class="border-bottom mb-4">{{title}}</legend>
|
||||||
|
{% for item in form %}
|
||||||
|
<div class="form-group">
|
||||||
|
{% if item.id == "submit" %}
|
||||||
|
{% elif item.id == "csrf_token" %}
|
||||||
|
{% else %}
|
||||||
|
{{ item.label(class="form-control-label") }}
|
||||||
|
{% if item.errors %}
|
||||||
|
{{ item(class="form-control form-control-lg is-invalid") }}
|
||||||
|
<div class="invalid-feedback">
|
||||||
|
{% for error in item.errors %}
|
||||||
|
<span>{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
{{ item(class="form-control form-control-lg") }}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</fieldset>
|
||||||
|
<!-- Submit Button -->
|
||||||
|
<div class="form-group">
|
||||||
|
{{ form.submit(class="btn btn-outline-info") }}
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% if dbTable %}
|
||||||
|
<div class="container-fluid pt-2">
|
||||||
|
<h3> <a href="#"> {{ tableTitle }}</a> </h3>
|
||||||
|
<table class="{{ theme.tableClass }}">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col">Name</th>
|
||||||
|
<th scope="col">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for item in dbTable %}
|
||||||
|
<tr>
|
||||||
|
<th scope="row">{{ item.name }}</th>
|
||||||
|
<td>{{ item.description}}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endblock content %}
|
Binary file not shown.
Loading…
Reference in new issue