Show dialog when disabling email

This commit is contained in:
Girish Ramakrishnan
2018-05-06 23:36:40 -07:00
parent 1b1d4ee431
commit a07848164c
2 changed files with 26 additions and 8 deletions

View File

@@ -10,8 +10,8 @@
No DNS provider is setup. The DNS records listed below have to be setup manually.<br/>
</div>
<div class="modal-body" ng-hide="selectedDomain.provider === 'noop' || selectedDomain.provider === 'manual'">
Cloudron will setup Email related DNS records automatically. Status of DNS Records below will show an error
while DNS is propagating (~5 minutes).
Cloudron will setup Email related DNS records automatically for {{selectedDomain.domain}}. Status of DNS Records below
may show an error while DNS is propagating (~5 minutes).
<br/><br/>
If this domain is already configured to handle email with some other provider, it will overwrite those records.
</div>
@@ -23,6 +23,25 @@
</div>
</div>
<!-- Modal disable email -->
<div class="modal fade" id="disableEmailModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Cloudron Email Server</h4>
</div>
<div class="modal-body">
This will disable the Cloudron Email Server for {{selectedDomain.domain}}.
<br/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-success" ng-click="disableEmail()">Disable</button>
</div>
</div>
</div>
</div>
<!-- Modal add mailbox -->
<div class="modal fade" id="mailboxAddModal" tabindex="-1" role="dialog">
<div class="modal-dialog">