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 class="active"><a href="#">Dashboard</a>
|
|
|
|
</li>
|
2015-06-17 04:09:27 +00:00
|
|
|
<li><a href="/campaigns">Campaigns</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</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="DashboardCtrl">
|
|
|
|
<h1 class="page-header">
|
|
|
|
Dashboard
|
|
|
|
</h1>
|
|
|
|
<div ng-show="!campaigns.length">
|
2014-05-27 01:29:12 +00:00
|
|
|
<div class="row">
|
2015-06-15 21:49:16 +00:00
|
|
|
<div class="alert alert-info">
|
|
|
|
No campaigns yet.
|
2014-05-27 01:29:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
<div>
|
2014-03-28 05:21:42 +00:00
|
|
|
<div class="row">
|
2015-06-15 21:49:16 +00:00
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
|
|
<highchart config="overview_chart"></highchart>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
|
|
<highchart config="average_chart"></highchart>
|
2014-03-28 05:21:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-09 06:35:07 +00:00
|
|
|
<div class="row">
|
2015-06-15 21:49:16 +00:00
|
|
|
<h2>Recent Campaigns</h2>
|
2013-12-09 06:35:07 +00:00
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
<div class="row">
|
|
|
|
<a href="#/campaigns"><button type="button" class="btn btn-primary">View All</button></a>
|
|
|
|
</div>
|
|
|
|
|
2013-12-09 06:35:07 +00:00
|
|
|
<div class="row">
|
2014-02-18 20:22:16 +00:00
|
|
|
<table ng-table="mainTableParams" class="table table-hover table-striped table-bordered">
|
2013-12-09 06:35:07 +00:00
|
|
|
<tbody>
|
2014-02-10 15:44:15 +00:00
|
|
|
<tr ng-repeat="campaign in $data" class="editable-row">
|
2015-06-15 21:49:16 +00:00
|
|
|
<td data-title="'Created Date'" class="col-sm-1">campaign.created_date | date:'medium'</td>
|
|
|
|
<td data-title="'Name'" class="col-sm-2">campaign.name
|
2014-02-07 03:36:00 +00:00
|
|
|
<div class="btn-group" style="float: right;">
|
|
|
|
<button type="button" class="btn btn-primary dropdown-toggle edit-button" data-toggle="dropdown">
|
|
|
|
<span class="caret" style="border-top-color:#FFFFFF"></span>
|
|
|
|
<span class="sr-only">Toggle Dropdown</span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" style="left:auto; right:0;" role="menu">
|
2015-06-15 21:49:16 +00:00
|
|
|
<li><a ng-href="#/campaigns/campaign.id">View</a>
|
2014-02-07 03:36:00 +00:00
|
|
|
</li>
|
2015-06-15 21:49:16 +00:00
|
|
|
<li><a href="/campaigns/campaign.id/relaunch">Relaunch</a>
|
2014-02-07 03:36:00 +00:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2014-02-18 20:22:16 +00:00
|
|
|
<li><a ng-click="deleteCampaign(campaign)" ng-href="#">Delete</a>
|
2014-02-07 03:36:00 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</td>
|
2015-06-15 21:49:16 +00:00
|
|
|
<td data-title="'Status'" class="col-sm-1">campaign.status</td>
|
2013-12-09 06:35:07 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|