mirror of
https://github.com/vale981/dirkules
synced 2025-03-04 17:01:40 -05:00
fixed samba html
This commit is contained in:
parent
fbf14def93
commit
22512d154e
1 changed files with 33 additions and 30 deletions
|
@ -1,39 +1,42 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Dashboard{% endblock %}
|
||||
{% block title %}Samba{% endblock %}
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
<a href="{{ url_for('samba_global') }}">
|
||||
<div class="ui primary labeled icon button">
|
||||
<i class="plus icon"></i> Samba Global conf
|
||||
</div>
|
||||
</a>
|
||||
<a href="{{ url_for('samba_add') }}">
|
||||
<div class="ui primary labeled icon button">
|
||||
<i class="plus icon"></i> Samba add
|
||||
</div>
|
||||
</a>
|
||||
<table class="ui celled fixed table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Schreibzugriff</th>
|
||||
<th>Papierkorb</th>
|
||||
<th>BtrFS Optimierungen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for share in shares %}
|
||||
<div class="topspacer"></div>
|
||||
<div class="ui container">
|
||||
<a href="{{ url_for('samba_global') }}">
|
||||
<div class="ui primary labeled icon button">
|
||||
<i class="edit icon"></i> Samba global
|
||||
</div>
|
||||
</a>
|
||||
<a href="{{ url_for('samba_add') }}">
|
||||
<div class="ui primary labeled icon button">
|
||||
<i class="plus icon"></i> Samba add
|
||||
</div>
|
||||
</a>
|
||||
<table class="ui celled fixed table">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>{{ share.name }}</td>
|
||||
<td>{{ share.writeable }}</td>
|
||||
<td>{{ share.recycling }}</td>
|
||||
<td>{{ share.btrfs }}</td>
|
||||
<th>Name</th>
|
||||
<th>Schreibzugriff</th>
|
||||
<th>Papierkorb</th>
|
||||
<th>BtrFS Optimierungen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<tbody>
|
||||
{% for share in shares %}
|
||||
<tr>
|
||||
<td>{{ share.name }}</td>
|
||||
<td>{{ share.writeable }}</td>
|
||||
<td>{{ share.recycling }}</td>
|
||||
<td>{{ share.btrfs }}</td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Reference in a new issue