Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | <div role="tabpanel" class="tab-pane" id="tab-config-quota"> |
| 2 | <div class="panel panel-default"> |
| 3 | <div class="panel-heading">{{ lang.admin.quota_notifications }}</div> |
| 4 | <div class="panel-body"> |
| 5 | <p>{{ lang.admin.quota_notifications_info }}</p> |
| 6 | <form class="form" role="form" data-id="quota_notification" method="post"> |
| 7 | <div class="row"> |
| 8 | <div class="col-sm-6"> |
| 9 | <div class="form-group"> |
| 10 | <label for="quota_notification_sender">{{ lang.admin.quota_notification_sender }}:</label> |
| 11 | <input type="email" class="form-control" id="quota_notification_sender" name="sender" value="{{ qn_data.sender }}" placeholder="quota-warning@localhost"> |
| 12 | </div> |
| 13 | </div> |
| 14 | <div class="col-sm-6"> |
| 15 | <div class="form-group"> |
| 16 | <label for="quota_notification_subject">{{ lang.admin.quota_notification_subject }}:</label> |
| 17 | <input type="text" class="form-control" id="quota_notification_subject" name="subject" value="{{ qn_data.subject }}" placeholder="Quota warning"> |
| 18 | </div> |
| 19 | </div> |
| 20 | </div> |
| 21 | <div class="row"> |
| 22 | <div class="col-sm-12"> |
| 23 | <legend data-target="#quota_template" style="cursor:pointer" unselectable="on" data-toggle="collapse"> |
| 24 | <i style="font-size:10pt;" class="bi bi-plus-square"></i> {{ lang.admin.quarantine_notification_html|raw }} |
| 25 | </legend> |
| 26 | <div id="quota_template" class="collapse"> |
| 27 | <!-- <small>{{ lang.admin.quota_notifications_vars }}</small><br><br>--> |
| 28 | <textarea autocorrect="off" spellcheck="false" autocapitalize="none" class="form-control textarea-code collapse in" rows="20" name="html_tmpl">{{ qn_data.html_tmpl|raw }}</textarea> |
| 29 | </div> |
| 30 | </div> |
| 31 | </div> |
| 32 | <div class="row"> |
| 33 | <div class="col-sm-10"> |
| 34 | <div class="form-group"> |
| 35 | <br> |
| 36 | <a type="button" class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-success" data-action="edit_selected" |
| 37 | data-item="quota_notification" |
| 38 | data-id="quota_notification" |
| 39 | data-api-url='edit/quota_notification' |
| 40 | data-api-attr='{}'><i class="bi bi-check-lg"></i> {{ lang.user.save_changes }}</a> |
| 41 | </div> |
| 42 | </div> |
| 43 | </div> |
| 44 | </form> |
| 45 | </div> |
| 46 | </div> |
| 47 | </div> |