2022-03-30 12:54:38 +02:00
|
|
|
<div role="tabpanel" class="tab-pane fade" id="tab-config-quota" role="tabpanel" aria-labelledby="tab-config-quota">
|
2022-06-06 20:38:24 +02:00
|
|
|
<div class="card mb-4">
|
|
|
|
<div class="card-header d-flex">
|
|
|
|
<button class="btn d-md-none flex-grow-1 text-start" data-bs-target="#collapse-tab-config-quota" data-bs-toggle="collapse" aria-controls="ollapse-tab-config-quota">
|
|
|
|
{{ lang.admin.quota_notifications }}
|
|
|
|
</button>
|
|
|
|
<span class="d-none d-md-block">{{ lang.admin.quota_notifications }}</span>
|
|
|
|
</div>
|
|
|
|
<div id="collapse-tab-config-quota" class="card-body collapse" data-bs-parent="#admin-content">
|
2021-09-22 20:47:10 +02:00
|
|
|
<p>{{ lang.admin.quota_notifications_info }}</p>
|
|
|
|
<form class="form" role="form" data-id="quota_notification" method="post">
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="row mb-4">
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="col-sm-6">
|
2022-04-13 14:07:07 +02:00
|
|
|
<div>
|
2021-09-22 20:47:10 +02:00
|
|
|
<label for="quota_notification_sender">{{ lang.admin.quota_notification_sender }}:</label>
|
|
|
|
<input type="email" class="form-control" id="quota_notification_sender" name="sender" value="{{ qn_data.sender }}" placeholder="quota-warning@localhost">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
2022-04-13 14:07:07 +02:00
|
|
|
<div>
|
2021-09-22 20:47:10 +02:00
|
|
|
<label for="quota_notification_subject">{{ lang.admin.quota_notification_subject }}:</label>
|
|
|
|
<input type="text" class="form-control" id="quota_notification_subject" name="subject" value="{{ qn_data.subject }}" placeholder="Quota warning">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
2022-03-30 13:04:54 +02:00
|
|
|
<legend data-bs-target="#quota_template" style="cursor:pointer" unselectable="on" data-bs-toggle="collapse">
|
2021-09-22 20:47:10 +02:00
|
|
|
<i style="font-size:10pt;" class="bi bi-plus-square"></i> {{ lang.admin.quarantine_notification_html|raw }}
|
|
|
|
</legend>
|
2022-03-31 12:57:33 +02:00
|
|
|
<hr />
|
2021-09-22 20:47:10 +02:00
|
|
|
<div id="quota_template" class="collapse">
|
|
|
|
<!-- <small>{{ lang.admin.quota_notifications_vars }}</small><br><br>-->
|
2022-06-06 20:38:24 +02:00
|
|
|
<textarea autocorrect="off" spellcheck="false" autocapitalize="none" class="form-control textarea-code" rows="20" name="html_tmpl">{{ qn_data.html_tmpl|raw }}</textarea>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-10">
|
2022-04-13 14:07:07 +02:00
|
|
|
<div>
|
2021-09-22 20:47:10 +02:00
|
|
|
<br>
|
2022-03-31 15:24:10 +02:00
|
|
|
<a type="button" class="btn btn-sm d-block d-sm-inline btn-success" data-action="edit_selected"
|
2021-09-22 20:47:10 +02:00
|
|
|
data-item="quota_notification"
|
|
|
|
data-id="quota_notification"
|
|
|
|
data-api-url='edit/quota_notification'
|
|
|
|
data-api-attr='{}'><i class="bi bi-check-lg"></i> {{ lang.user.save_changes }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|