102 lines
4.1 KiB
HTML
102 lines
4.1 KiB
HTML
<h4>Digitale Accounts{% if request.user.profile.showtooltips %} <small><i data-toggle="tooltip" data-placement="top" title="Legen Sie hier Zugänge zu Webseiten, E-Mailkonten usw. für Ihre Agentur an." class="far fa-question-circle"></i></small>{% endif %}
|
|
<a class="btn btn-primary btn btn-sm mb-3" href="{% url 'rd-a4-adddigitalaccount' 8 %}" style="float: right;"><i class="fas fa-plus"></i> Account</a>
|
|
</h4>
|
|
<table class="table table-hover" id="a8_digitalaccount" >
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Link</th>
|
|
<th scope="col">Benutzername</th>
|
|
<th scope="col"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody >
|
|
{% for ele in area_8_digitalaccount %}
|
|
<tr>
|
|
<td><a href="{% url 'rd-a4-viewdigitalaccount' ele.pk %}">{{ele.name|default:""}}</a></td>
|
|
<td>{{ele.link|default:""}}</td>
|
|
<td>{{ele.username|default:""}}</td>
|
|
<td>
|
|
<a style="float: right" class="btn btn-secondary btn-sm mr-2 " href="{% url 'rd-a4-viewdigitalaccount' ele.pk %}"><i class="far fa-eye"></i></a>
|
|
<a style="float: right" class="btn btn-secondary btn-sm mr-2 " href="{% url 'rd-a4-updatedigitalaccount' ele.pk %}"><small><i class="fas fa-pen"></i></small></a>
|
|
<a style="float: right" class="btn btn-secondary btn-sm mr-2 " href="{% url 'rd-a4-deldigitalaccount' ele.pk %}"><small><i class="fas fa-trash"></i></small></a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<hr>
|
|
<h4>Dokumente{% if request.user.profile.showtooltips %} <small><i data-toggle="tooltip" data-placement="top" title="Laden Sie hier weitere Dokumente hoch." class="far fa-question-circle"></i></small>{% endif %}
|
|
<a class="btn btn-primary btn-sm btn mb-3" href="{% url 'rd-a1-adddoc' 8 %}" style="float: right;"><i class="fas fa-plus"></i> Dokument</a>
|
|
</h4>
|
|
<table class="table table-hover" id="a8_docs" >
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Datum</th>
|
|
<th scope="col">Beschreibung</th>
|
|
<th scope="col"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody >
|
|
{% for doc in area_8_doc %}
|
|
<tr>
|
|
<td><a href="{% url 'rd-a1-viewdoc' doc.pk %}" target="_blank">{{doc.document_name}}</a></td>
|
|
<td>{{doc.document_date|date:"d.m.Y"|default:""}}</td>
|
|
<td>{{doc.document_desc|default:""}}</td>
|
|
<td>
|
|
<a style="float: right" class="btn btn-secondary btn-sm mr-2 " href="{% url 'rd-a1-viewdoc' doc.pk %}"><i class="far fa-eye"></i></a>
|
|
<a style="float: right" class="btn btn-secondary btn-sm mr-2 " href="{% url 'rd-a1-updatedoc' doc.pk %}"><small><i class="fas fa-pen"></i></small></a>
|
|
<a style="float: right" class="btn btn-secondary btn-sm mr-2 " href="{% url 'rd-a1-deldoc' doc.pk %}"><small><i class="fas fa-trash"></i></small></a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function(){
|
|
|
|
$('#a8_docs').DataTable({
|
|
"language": {
|
|
"search" : "Suche",
|
|
"info": "Zeige _START_ bis _END_ von _TOTAL_ Einträgen",
|
|
"lengthMenu": "Zeige _MENU_ Einträge",
|
|
"zeroRecords": "Nichts gefunden",
|
|
"infoEmpty": "Keine Einträge",
|
|
"paginate": {
|
|
"first": "Erste",
|
|
"last": "Letzte",
|
|
"next": "Nächste",
|
|
"previous": "Zurück"
|
|
},
|
|
},
|
|
"pageLength": 50,
|
|
"buttons" : {
|
|
"className" : "btn-danger"
|
|
}
|
|
});
|
|
|
|
$('#a8_digitalaccount').DataTable({
|
|
"language": {
|
|
"search" : "Suche",
|
|
"info": "Zeige _START_ bis _END_ von _TOTAL_ Einträgen",
|
|
"lengthMenu": "Zeige _MENU_ Einträge",
|
|
"zeroRecords": "Nichts gefunden",
|
|
"infoEmpty": "Keine Einträge",
|
|
"paginate": {
|
|
"first": "Erste",
|
|
"last": "Letzte",
|
|
"next": "Nächste",
|
|
"previous": "Zurück"
|
|
},
|
|
},
|
|
"pageLength": 50,
|
|
"buttons" : {
|
|
"className" : "btn-danger"
|
|
}
|
|
});
|
|
|
|
});
|
|
</script> |