2015-06-15 21:49:16 +00:00
|
|
|
{{define "body"}}
|
2017-01-08 20:35:08 +00:00
|
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
2015-06-15 21:49:16 +00:00
|
|
|
<h1 class="page-header">
|
|
|
|
Dashboard
|
|
|
|
</h1>
|
2015-08-12 02:12:09 +00:00
|
|
|
<div id="loading">
|
|
|
|
<i class="fa fa-spinner fa-spin fa-4x"></i>
|
|
|
|
</div>
|
2020-06-20 03:03:51 +00:00
|
|
|
{{template "flashes" .Flashes}}
|
|
|
|
<div id="emptyMessage" style="display:none;">
|
2015-07-07 03:26:08 +00:00
|
|
|
<div class="alert alert-info">
|
|
|
|
No campaigns created yet. Let's create one!
|
2014-05-27 01:29:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-27 02:37:22 +00:00
|
|
|
<div id="dashboard" style="display:none;">
|
2014-03-28 05:21:42 +00:00
|
|
|
<div class="row">
|
2017-08-06 02:11:50 +00:00
|
|
|
<div id="overview_chart" style="height:200px;" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-03-19 03:03:00 +00:00
|
|
|
<div style="height:200px;" class="col-lg-1 col-md-1"></div>
|
|
|
|
<div id="sent_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
|
|
|
|
<div id="opened_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
|
|
|
|
<div id="clicked_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
|
|
|
|
<div id="submitted_data_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
|
|
|
|
<div id="email_reported_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
|
|
|
|
<div style="height:200px;" class="col-lg-1 col-md-1"></div>
|
2014-03-28 05:21:42 +00:00
|
|
|
</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">
|
2018-05-27 02:37:22 +00:00
|
|
|
<a href="/campaigns">
|
|
|
|
<button type="button" class="btn btn-primary">View All</button>
|
|
|
|
</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
|
2013-12-09 06:35:07 +00:00
|
|
|
<div class="row">
|
2015-08-12 02:12:09 +00:00
|
|
|
<table id="campaignTable" class="table">
|
2015-07-07 03:26:08 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-08-06 02:11:50 +00:00
|
|
|
<th class="col-md-2 col-sm-2">Name</th>
|
|
|
|
<th class="col-md-2 col-sm-2">Created Date</th>
|
2021-08-11 19:54:31 +00:00
|
|
|
<th class="col-md-2 col-sm-2">Completed Date</th>
|
2018-05-27 02:37:22 +00:00
|
|
|
<th class="col-md-1 col-sm-1">
|
|
|
|
<i class="fa fa-envelope-o"></i>
|
|
|
|
</th>
|
|
|
|
<th class="col-md-1 col-sm-1">
|
|
|
|
<i class="fa fa-envelope-open-o"></i>
|
|
|
|
</th>
|
|
|
|
<th class="col-md-1 col-sm-1">
|
|
|
|
<i class="fa fa-mouse-pointer"></i>
|
|
|
|
</th>
|
|
|
|
<th class="col-md-1 col-sm-1">
|
|
|
|
<i class="fa fa-exclamation-circle"></i>
|
|
|
|
</th>
|
|
|
|
<th class="col-md-1 col-sm-1">
|
|
|
|
<i class="fa fa-bullhorn"></i>
|
|
|
|
</th>
|
2017-08-06 02:11:50 +00:00
|
|
|
<th class="col-md-1 col-sm-1">Status</th>
|
2018-05-27 02:37:22 +00:00
|
|
|
<th class="col-md-2 col-sm-2 no-sort"></th>
|
2015-07-07 03:26:08 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
2013-12-09 06:35:07 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
2018-05-27 02:37:22 +00:00
|
|
|
{{end}} {{define "scripts"}}
|
2017-01-08 20:35:08 +00:00
|
|
|
<script src="/js/dist/app/dashboard.min.js"></script>
|
2018-05-27 02:37:22 +00:00
|
|
|
{{end}}
|