snappymail/rainloop/v/1.3.4.455/app/templates/Views/PopupsPlugin.html
RainLoop Team 026c38e5d3 v1.3.4.455
2013-10-25 23:43:38 +04:00

37 lines
No EOL
1.3 KiB
HTML

<div class="popups">
<div class="modal hide b-plugin-content" data-bind="modal: modalVisibility">
<div class="modal-header">
<button type="button" class="close" data-bind="command: cancelCommand">&times;</button>
<h4>
Plugin "<span data-bind="text: name"></span>"
</h4>
</div>
<div class="modal-body">
<form class="form-horizontal plugin-form" action="#/" onsubmit="return false;">
<div class="well" data-bind="text: readme, visible: hasReadme()"></div>
<div class="well" data-bind="visible: !hasReadme() && !hasConfiguration()">
Nothing to configure
</div>
<div class="alert" data-bind="visible: '' !== saveError()">
<button type="button" class="close" data-bind="click: function () { saveError('') }">&times;</button>
<span data-bind="text: saveError"></span>
</div>
<div data-bind="foreach: configures, visible: hasConfiguration">
<div data-bind="template: { name: 'AdminPluginProperty' }"></div>
</div>
</form>
</div>
<div class="modal-footer">
<a class="btn buttonClose" data-bind="command: cancelCommand">
<i class="icon-remove"></i>
&nbsp;&nbsp;
Close
</a>
<a class="btn buttonClear" data-bind="command: saveCommand, visible: hasConfiguration">
<i class="icon-ok"></i>
&nbsp;&nbsp;
Save
</a>
</div>
</div>
</div>