snappymail/rainloop/v/0.0.0/app/templates/Views/Admin/PopupsActivate.html

51 lines
2.2 KiB
HTML
Raw Normal View History

2013-12-07 06:32:02 +08:00
<div class="popups">
<div class="modal hide b-activate-content" data-bind="modal: modalVisibility">
2013-12-07 06:32:02 +08:00
<div>
<div class="modal-header">
<button type="button" class="close" data-bind="command: cancelCommand">&times;</button>
<h3>
2015-03-28 06:06:56 +08:00
<span data-bind="visible: !activateProcess()" data-i18n="POPUPS_ACTIVATE/TITLE_ACTIVATE"></span>
<span data-bind="visible: activateProcess" data-i18n="POPUPS_ACTIVATE/TITLE_ACTIVATION"></span>
2013-12-07 06:32:02 +08:00
</h3>
</div>
<div class="modal-body">
<div class="form-horizontal">
<div class="control-group">
2015-03-28 06:06:56 +08:00
<label class="control-label" data-i18n="POPUPS_ACTIVATE/LABEL_DOMAIN"></label>
2013-12-07 06:32:02 +08:00
<div class="controls">
<h4 class="help-inline" data-bind="text: domain" style="margin-top: 5px;"></h4>
</div>
</div>
<div class="control-group" data-bind="css: {'error': '' !== activateText() && activateText.isError(), 'success': '' !== activateText() && !activateText.isError() }">
2015-03-28 06:06:56 +08:00
<label class="control-label" data-i18n="POPUPS_ACTIVATE/LABEL_SUB_KEY"></label>
2013-12-07 06:32:02 +08:00
<div class="controls ">
2014-04-29 23:31:49 +08:00
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
2014-08-19 18:33:59 +08:00
data-bind="visible: !activateProcess() && !activationSuccessed(), textInput: key, hasFocus: key.focus"></input>
2013-12-07 06:32:02 +08:00
<h4 class="help-inline" style="margin-top: 5px;" data-bind="text: key, visible: activateProcess() || activationSuccessed()"></h4>
<div class="help-block" data-bind="text: activateText"></div>
</div>
</div>
</div>
<br />
<div class="alert">
2015-03-28 06:06:56 +08:00
<p data-bind="html: htmlDescription" style="margin-bottom: 0"></p>
2013-12-07 06:32:02 +08:00
</div>
</div>
<div class="modal-footer">
<a class="btn buttonActivate" data-bind="visible: !activationSuccessed(), command: activateCommand">
2013-12-15 06:42:32 +08:00
<i class="icon-key" data-bind="css: {'icon-key': !activateProcess(), 'icon-spinner animated': activateProcess()}" ></i>
2013-12-07 06:32:02 +08:00
&nbsp;&nbsp;
2015-03-28 06:06:56 +08:00
<span data-i18n="POPUPS_ACTIVATE/BUTTON_ACTIVATE"></span>
2013-12-07 06:32:02 +08:00
</a>
<span style="color: green" data-bind="visible: activationSuccessed">
&nbsp;&nbsp;&nbsp;
<i class="icon-ok"></i>
&nbsp;&nbsp;
2015-03-28 06:06:56 +08:00
<span data-i18n="POPUPS_ACTIVATE/LABEL_ACTIVATED"></span>
2013-12-07 06:32:02 +08:00
</span>
</div>
</div>
</div>
</div>