fixed external notification email modal
This commit is contained in:
parent
6b54279bb7
commit
5a963873cf
2 changed files with 40 additions and 30 deletions
|
@ -67,3 +67,9 @@
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#authorizeEmailModal .loading-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
|
|
@ -191,30 +191,29 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Authorize email dialog -->
|
<!-- Authorize email dialog -->
|
||||||
<div class="modal" tabindex="-1" role="dialog" id="authorizeEmailModal">
|
<div class="modal" tabindex="-1" role="dialog" id="authorizeEmailModal">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-header">
|
|
||||||
<h4 class="modal-title">E-mail authorization</h4>
|
|
||||||
</div>
|
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-body" style="padding: 4px; padding-left: 20px;">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" ng-click="cancelEmailAuth()" style="padding: 4px;">
|
<button type="button" class="close" ng-click="cancelEmailAuth()">
|
||||||
×
|
×
|
||||||
</button>
|
</button>
|
||||||
|
<h4 class="modal-title">E-mail authorization</h4>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-body" style="padding: 4px; padding-left: 20px;">
|
||||||
<!-- Authorize e-mail view -->
|
<!-- Authorize e-mail view -->
|
||||||
<div ng-show="status == 'authorizing-email-sent'">
|
<div ng-if="status == 'authorizing-email-sent'">
|
||||||
An e-mail has been sent to <code>{{ currentConfig.email }}</code>. Please click the link contained
|
An e-mail has been sent to <code>{{ ::currentConfig.email }}</code>. Please click the link contained
|
||||||
in the e-mail.
|
in the e-mail.
|
||||||
<br><br>
|
|
||||||
<span class="cor-loader-inline"></span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Authorize e-mail view -->
|
<!-- Authorize e-mail view -->
|
||||||
<div ng-show="status == 'unauthorized-email'">
|
<div ng-if="status == 'unauthorized-email'">
|
||||||
The e-mail address <code>{{ currentConfig.email }}</code> has not been authorized to receive
|
The e-mail address <code>{{ ::currentConfig.email }}</code> has not been authorized to receive
|
||||||
notifications from this repository. Please click "Send Authorization E-mail" below to start
|
notifications from this repository. Please click "Send Authorization E-mail" below to start
|
||||||
the authorization process.
|
the authorization process.
|
||||||
</div>
|
</div>
|
||||||
|
@ -227,6 +226,11 @@
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-default" ng-click="cancelEmailAuth()" ng-disabled="creating">Cancel</button>
|
<button type="button" class="btn btn-default" ng-click="cancelEmailAuth()" ng-disabled="creating">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Loading -->
|
||||||
|
<div ng-if="status != 'unauthorized-email'"
|
||||||
|
class="loading-container">
|
||||||
|
<span class="cor-loader-inline"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue