mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 01:07:39 +08:00
41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
<div class="popups">
|
|
<div class="modal hide b-folder-create-content g-ui-user-select-none" data-bind="modal: modalVisibility">
|
|
<div>
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-bind="command: cancelCommand">×</button>
|
|
<h3>
|
|
<span class="i18n" data-i18n-text="POPUPS_CREATE_FOLDER/TITLE_CREATE_FOLDER"></span>
|
|
</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-horizontal">
|
|
<br />
|
|
<div class="control-group">
|
|
<label class="control-label">
|
|
<span class="i18n" data-i18n-text="POPUPS_CREATE_FOLDER/LABEL_NAME"></span>
|
|
</label>
|
|
<div class="controls">
|
|
<input class="uiInput inputName" type="text" data-bind="value: folderName, hasfocus: folderName.focused, valueUpdate: 'afterkeydown', onEnter: createFolder" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">
|
|
<span class="i18n" data-i18n-text="POPUPS_CREATE_FOLDER/LABEL_PARENT"></span>
|
|
</label>
|
|
<div class="controls">
|
|
<select data-bind="options: parentFolderSelectList, value: selectedParentValue,
|
|
optionsText: 'name', optionsValue: 'id', optionsAfterRender: defautOptionsAfterRender"></select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<a class="btn buttonCreate" data-bind="command: createFolder">
|
|
<i class="icon-folder-add"></i>
|
|
|
|
<span class="i18n" data-i18n-text="POPUPS_CREATE_FOLDER/BUTTON_CREATE"></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|