2015-06-15 21:49:16 +00:00
|
|
|
{{define "body"}}
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-3 col-md-2 sidebar">
|
|
|
|
<ul class="nav nav-sidebar">
|
|
|
|
<li><a href="#">Dashboard</a>
|
|
|
|
</li>
|
|
|
|
<li class="active"><a href="#/campaigns">Campaigns</a>
|
|
|
|
</li>
|
2015-06-17 04:09:27 +00:00
|
|
|
<li><a href="/users">Users & Groups</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2015-06-17 04:09:27 +00:00
|
|
|
<li><a href="/templates">Email Templates</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2015-06-17 04:09:27 +00:00
|
|
|
<li><a href="/landing_pages">Landing Pages</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2015-06-17 04:09:27 +00:00
|
|
|
<li><a href="/settings">Settings</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
|
|
|
<li><a href="/api/">API Documentation</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" ng-controller="CampaignResultsCtrl">
|
|
|
|
<div ng-show="campaign">
|
|
|
|
<div class="row">
|
|
|
|
<h1 class="page-header">Results for {{campaign.name}}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<i class="fa fa-cogs fa-lg"></i>
|
|
|
|
<span class="caret"></span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="#">Export</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Relaunch</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<button type="button" class="btn btn-danger" tooltip="Delete Campaign" tooltip-placement="right" ng-click="delete(campaign)" ng-href="#/dashboard"><i class="fa fa-times fa-lg"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div class="row">
|
|
|
|
<tabset>
|
|
|
|
<tab heading="Overview">
|
|
|
|
<br/>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
|
|
<highchart config="timeline_chart"></highchart>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
|
|
<highchart config="email_chart"></highchart>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</tab>
|
|
|
|
<tab heading="Plugins">Plugins here</tab>
|
|
|
|
<tab heading="Demographics">Demographics here</tab>
|
|
|
|
</tabset>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<h2>Details</h2>
|
|
|
|
<table ng-table="mainTableParams" class="table table-hover table-striped table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="result in $data" class="editable-row">
|
|
|
|
<td data-title="'Email'" class="col-sm-1">{{result.email}}</td>
|
|
|
|
<td data-title="'Status'" class="col-sm-2">{{result.status}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div ng-show="!campaign">
|
|
|
|
<div class="row">
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<i class="fa fa-exclamation-circle"></i> Campaign not found!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|