2013-11-12 06:01:44 +08:00
|
|
|
<div class="popups">
|
|
|
|
<div class="modal hide b-folder-create-content" 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, valueUpdate: 'afterkeydown', onEnter: createFolder, hasfocus: focusTrigger" />
|
|
|
|
</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-add-to-list"></i>
|
|
|
|
|
|
|
|
<span class="i18n" data-i18n-text="POPUPS_CREATE_FOLDER/BUTTON_CREATE"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|