mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 17:28:04 +08:00
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
|
<div class="b-settings-templates g-ui-user-select-none">
|
||
|
<div class="form-horizontal">
|
||
|
<div class="legend">
|
||
|
<span class="i18n" data-i18n-text="SETTINGS_TEMPLATES/LEGEND_TEMPLATES"></span>
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="btn" data-bind="click: addNewTemplate">
|
||
|
<i class="icon-user-add"></i>
|
||
|
|
||
|
<span class="i18n" data-i18n-text="SETTINGS_TEMPLATES/BUTTON_ADD_TEMPLATE"></span>
|
||
|
</a>
|
||
|
<div class="process-place" data-bind="style: {'visibility': visibility }">
|
||
|
<i class="icon-spinner animated"></i>
|
||
|
|
||
|
<span data-bind="text: processText"></span>
|
||
|
</div>
|
||
|
<table class="table table-hover list-table templates-list" data-bind="i18nUpdate: templates">
|
||
|
<colgroup>
|
||
|
<col />
|
||
|
<col style="width: 150px" />
|
||
|
<col style="width: 1%" />
|
||
|
</colgroup>
|
||
|
<tbody data-bind="sortable: {data: templates, options: scrollableOptions()}">
|
||
|
<tr class="template-item">
|
||
|
<td class="e-action">
|
||
|
<span class="template-img icon-user"></span>
|
||
|
<i class="icon-braille drag-handle"></i>
|
||
|
|
||
|
<span class="template-name" data-bind="text: name"></span>
|
||
|
</td>
|
||
|
<td>
|
||
|
<a class="btn btn-small btn-small-small btn-danger pull-right button-delete button-delete-transitions" data-bind="css: {'delete-access': deleteAccess}, click: function(oTemplate) { $root.deleteTemplate(oTemplate); }">
|
||
|
<span class="i18n" data-i18n-text="SETTINGS_TEMPLATES/DELETING_ASK"></span>
|
||
|
</a>
|
||
|
</td>
|
||
|
<td>
|
||
|
<span class="delete-template" data-bind="visible: !deleteAccess(), click: function (oTemplate) { $root.templateForDeletion(oTemplate); }">
|
||
|
<i class="icon-trash"></i>
|
||
|
</span>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|