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">
|
2015-07-08 03:31:21 +00:00
|
|
|
<li><a href="/">Dashboard</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2015-07-08 03:31:21 +00:00
|
|
|
<li class="active"><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>
|
2015-07-30 03:31:39 +00:00
|
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
|
|
|
<div id="loading">
|
|
|
|
<i class="fa fa-spinner fa-spin fa-4x"></i>
|
|
|
|
</div>
|
|
|
|
<div style="display:none;" id="campaignResults">
|
2015-06-15 21:49:16 +00:00
|
|
|
<div class="row">
|
2015-07-29 00:31:12 +00:00
|
|
|
<h1 class="page-header" id="page-title">Results for campaign.name</h1>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2015-10-04 02:46:57 +00:00
|
|
|
<!--
|
2015-06-15 21:49:16 +00:00
|
|
|
<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>
|
2015-10-04 02:46:57 +00:00
|
|
|
-->
|
2015-07-30 03:31:39 +00:00
|
|
|
<button type="button" class="btn btn-danger" data-toggle="tooltip" data-placement="right" title="Delete Campaign" onclick="deleteCampaign()">
|
|
|
|
<i class="fa fa-times fa-lg"></i>
|
2015-06-15 21:49:16 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div class="row">
|
2015-08-01 20:35:32 +00:00
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
|
|
<li class="active"><a href="#overview" aria-controls="home" role="tab" data-toggle="tab">Overview</a></li>
|
2015-08-12 02:12:09 +00:00
|
|
|
<!-- <li><a href="#plugins" aria-controls="profile" role="tab" data-toggle="tab">Plugins</a></li>
|
|
|
|
<li><a href="#demographics" aria-controls="settings" role="tab" data-toggle="tab">Demographics</a></li> -->
|
2015-08-01 20:35:32 +00:00
|
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
|
|
<div role="tabpanel" class="tab-pane active" id="overview">
|
2015-06-15 21:49:16 +00:00
|
|
|
<br/>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2015-08-01 20:35:32 +00:00
|
|
|
<p style="text-align:center;">Campaign Timeline</p>
|
|
|
|
<br/>
|
2015-07-30 03:31:39 +00:00
|
|
|
<div id="timeline_chart"></div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2015-08-01 20:35:32 +00:00
|
|
|
<p style="text-align:center;">Email Status</p>
|
2015-08-05 02:27:04 +00:00
|
|
|
<div id="email_chart" class="col-lg-7 col-md-7"></div>
|
|
|
|
<div class="col-lg-5 col-md-5">
|
|
|
|
<ul id="email_chart_legend" class="chartist-legend">
|
|
|
|
</ul>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-01 20:35:32 +00:00
|
|
|
</div>
|
2015-08-12 02:12:09 +00:00
|
|
|
<!-- <div role="tabpanel" class="tab-pane" id="plugins">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div id="resultsMap"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-01 20:35:32 +00:00
|
|
|
</div>
|
|
|
|
<div role="tabpanel" class="tab-pane" id="demographics">
|
|
|
|
Demographics here
|
2015-08-12 02:12:09 +00:00
|
|
|
</div> -->
|
2015-08-01 20:35:32 +00:00
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<h2>Details</h2>
|
2015-07-30 03:31:39 +00:00
|
|
|
<table id="resultsTable" class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>First Name</th>
|
|
|
|
<th>Last Name</th>
|
|
|
|
<th>Email</th>
|
|
|
|
<th>Position</th>
|
|
|
|
<th>Status</th>
|
2015-06-15 21:49:16 +00:00
|
|
|
</tr>
|
2015-07-30 03:31:39 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2015-06-15 21:49:16 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-30 03:31:39 +00:00
|
|
|
<div id="flashes" class="row"></div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2015-07-08 03:31:21 +00:00
|
|
|
{{define "scripts"}}
|
2015-07-30 03:31:39 +00:00
|
|
|
<script src="/js/jquery.ui.widget.js"></script>
|
2015-08-12 02:12:09 +00:00
|
|
|
<!-- d3, topojson, and datamaps for mapping -->
|
|
|
|
<script src="/js/d3.min.js"></script>
|
|
|
|
<script src="/js/topojson.min.js"></script>
|
|
|
|
<script src="/js/datamaps.min.js"></script>
|
2015-07-08 03:31:21 +00:00
|
|
|
<script src="/js/app/campaign_results.js"></script>
|
|
|
|
{{end}}
|