2020-02-12 14:51:06 +01:00
|
|
|
|
|
|
|
|
<!-- Test email -->
|
|
|
|
|
<div class="modal fade" id="testEmailModal" tabindex="-1" role="dialog">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Send test email for <b>{{ testEmail.domain.domain }}</b></h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<form name="testEmailForm" role="form" novalidate ng-submit="testEmail.submit()" autocomplete="off">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<p class="has-error text-center" ng-show="testEmail.error">{{ testEmail.error.generic }}</p>
|
|
|
|
|
|
|
|
|
|
<p>This will send a test email from <b>no-reply@{{testEmail.domain.domain}}</b> to the address below.</p>
|
|
|
|
|
<br/>
|
|
|
|
|
<div class="form-group" ng-class="{ 'has-error': testEmail.error.key }">
|
|
|
|
|
<label class="control-label" for="inputTestEmailKey">Email to</label>
|
|
|
|
|
<input type="text" class="form-control" ng-model="testEmail.mailTo" id="inputTestMailTo" name="mailTo" ng-disabled="testEmail.busy" placeholder="Email address" autofocus>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<input class="ng-hide" type="submit" ng-disabled="testEmailForm.$invalid"/>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer ">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
|
|
|
|
<button type="submit" class="btn btn-outline btn-success pull-right" ng-click="testEmail.submit()" ng-disabled="testEmail.$invalid || testEmail.busy">
|
|
|
|
|
<i class="fa fa-circle-notch fa-spin" ng-show="testEmail.busy"></i><span>Send</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-02-11 21:06:34 +01:00
|
|
|
<div class="content">
|
|
|
|
|
<div class="text-left">
|
|
|
|
|
<h1>
|
2020-02-11 22:07:58 -08:00
|
|
|
Mail Server
|
2020-02-11 21:06:34 +01:00
|
|
|
</h1>
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-02-11 22:07:58 -08:00
|
|
|
<div class="text-left">
|
|
|
|
|
<h3>Domains</h3>
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-02-11 21:06:34 +01:00
|
|
|
<div class="card" style="margin-bottom: 15px;">
|
|
|
|
|
<div class="row ng-hide" ng-hide="ready">
|
|
|
|
|
<div class="col-lg-12 text-center">
|
|
|
|
|
<h2><i class="fa fa-circle-notch fa-spin"></i></h2>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row animateMeOpacity ng-hide" ng-show="ready">
|
|
|
|
|
<div class="col-xs-12">
|
|
|
|
|
<table class="table table-hover" style="margin: 0;">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2020-02-12 14:10:21 +01:00
|
|
|
<th style="width: 5%"></th>
|
|
|
|
|
<th style="width: 85%">Domain</th>
|
2020-02-11 21:06:34 +01:00
|
|
|
<th style="width: 10%">Actions</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="domain in domains">
|
2020-02-12 14:10:21 +01:00
|
|
|
<td>
|
|
|
|
|
<i class="fa fa-circle" ng-style="{ color: domain.statusOk ? '#27CE65' : '#d9534f' }" ng-show="domain.status"></i>
|
|
|
|
|
<i class="fa fa-circle-notch fa-spin" ng-hide="domain.status"></i>
|
|
|
|
|
</td>
|
2020-02-11 21:06:34 +01:00
|
|
|
<td class="elide-table-cell no-padding">
|
|
|
|
|
<a href="/#/email/{{ domain.domain }}" class="email-domain-list-item">{{ domain.domain }}</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="text-right no-wrap">
|
2020-02-12 14:51:06 +01:00
|
|
|
<button class="btn btn-xs btn-default" ng-click="testEmail.show(domain)" uib-tooltip="Send Test Email"><i class="fa fa-paper-plane"></i></button>
|
|
|
|
|
<a href="/#/email/{{ domain.domain }}" class="btn btn-xs btn-default"><i class="fa fa-pencil-alt"></i></a>
|
2020-02-11 21:06:34 +01:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
<div class="text-left">
|
2020-02-11 22:07:58 -08:00
|
|
|
<h3>Event Log</h3>
|
2020-02-11 21:06:34 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="card" style="margin-bottom: 15px;">
|
|
|
|
|
<div class="row ng-hide" ng-hide="ready">
|
|
|
|
|
<div class="col-lg-12 text-center">
|
|
|
|
|
<h2><i class="fa fa-circle-notch fa-spin"></i></h2>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row animateMeOpacity ng-hide" ng-show="ready">
|
|
|
|
|
<div class="col-xs-12">
|
2020-02-11 22:07:58 -08:00
|
|
|
<table class="table table-hover" style="margin: 0;">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="col-md-2">Time</th>
|
|
|
|
|
<th class="col-md-3">Type</th>
|
|
|
|
|
<th class="col-md-7">Details</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="eventlog in activity.eventlogs">
|
|
|
|
|
<tr ng-click="showEventLogDetails(eventLog)" class="hand">
|
|
|
|
|
<td><span uib-tooltip="{{ eventlog.ts }}" class="arrow">{{ eventlog.ts }}</span></td>
|
|
|
|
|
<td>{{ eventlog.type }}</td>
|
|
|
|
|
<td ng-bind-html="eventlog.details"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr ng-show="activeEventLog === eventlog">
|
|
|
|
|
<td colspan="4"><pre class="eventlog-details">{{ eventlog.raw.data | json }}</pre></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2020-02-11 21:06:34 +01:00
|
|
|
</div>
|
|
|
|
|
|
2020-02-11 22:07:58 -08:00
|
|
|
<br/>
|
|
|
|
|
<a class="btn btn-primary pull-right" href="/logs.html?id=mail" target="_blank">Show Logs</a>
|
2020-02-11 21:06:34 +01:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-02-11 22:07:58 -08:00
|
|
|
|
2020-02-11 21:06:34 +01:00
|
|
|
</div>
|