2015-06-15 21:49:16 +00:00
|
|
|
{{define "body"}}
|
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">
|
2016-01-21 05:37:49 +00:00
|
|
|
<a href="/campaigns" class="btn btn-default">
|
2016-01-21 04:31:39 +00:00
|
|
|
<i class="fa fa-arrow-circle-o-left fa-lg"></i> Back
|
2016-01-21 05:37:49 +00:00
|
|
|
</a>
|
2017-08-06 02:11:50 +00:00
|
|
|
<div class="btn-group">
|
2018-10-11 17:06:36 +00:00
|
|
|
<button type="button" id="exportButton" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"
|
|
|
|
aria-haspopup="true" aria-expanded="true">
|
2017-08-06 02:11:50 +00:00
|
|
|
<i class="fa fa-file-excel-o"></i> Export CSV
|
|
|
|
<i class="fa fa-caret-down"></i>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="exportButton">
|
2018-03-19 03:03:00 +00:00
|
|
|
<li>
|
|
|
|
<a href="#" onclick="exportAsCSV('results')">Results</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#" onclick="exportAsCSV('events')">Raw Events</a>
|
|
|
|
</li>
|
2017-08-06 02:11:50 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2016-07-12 03:11:40 +00:00
|
|
|
<button id="complete_button" type="button" class="btn btn-blue" data-toggle="tooltip" onclick="completeCampaign()">
|
|
|
|
<i class="fa fa-flag-checkered"></i> Complete
|
|
|
|
</button>
|
2016-01-21 00:45:53 +00:00
|
|
|
<button type="button" class="btn btn-danger" data-toggle="tooltip" onclick="deleteCampaign()">
|
|
|
|
<i class="fa fa-trash-o fa-lg"></i> Delete
|
2015-06-15 21:49:16 +00:00
|
|
|
</button>
|
2017-04-06 03:20:00 +00:00
|
|
|
<button id="refresh_btn" type="button" class="btn btn-blue" data-toggle="tooltip" onclick="refresh()">
|
|
|
|
<i class="fa fa-refresh fa-lg"></i> Refresh
|
|
|
|
</button>
|
2017-08-06 02:11:50 +00:00
|
|
|
<span id="refresh_message">
|
|
|
|
<i class="fa fa-spin fa-spinner"></i> Refreshing
|
2016-02-22 02:55:27 +00:00
|
|
|
</span>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div class="row">
|
2017-09-09 03:52:54 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
|
|
|
<div id="timeline_chart"></div>
|
2017-08-06 02:11:50 +00:00
|
|
|
</div>
|
2016-01-04 06:04:10 +00:00
|
|
|
</div>
|
2017-09-09 03:52:54 +00:00
|
|
|
<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="reported_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
|
2020-08-08 19:34:38 +00:00
|
|
|
<!--<div id="opened_word_document_chart" style="height:200px;" class="col-lg-2 col-md-2" hidden></div>-->
|
2018-03-19 03:03:00 +00:00
|
|
|
<div style="height:200px;" class="col-lg-1 col-md-1"></div>
|
2017-09-09 03:52:54 +00:00
|
|
|
</div>
|
2020-08-08 19:34:38 +00:00
|
|
|
|
|
|
|
<!-- Add additional rows for arb events here: -->
|
2020-08-12 11:02:13 +00:00
|
|
|
<div id="custompie"></div>
|
2020-08-08 19:34:38 +00:00
|
|
|
|
|
|
|
|
2017-09-17 04:30:04 +00:00
|
|
|
<div class="row" id="resultsMapContainer">
|
2017-08-06 02:11:50 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<p style="text-align:center;">Targets Map</p>
|
|
|
|
<div id="resultsMap"></div>
|
|
|
|
</div>
|
2015-08-01 20:35:32 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
2018-04-21 01:47:29 +00:00
|
|
|
<div class="row">
|
|
|
|
<h2>Details</h2>
|
|
|
|
<table id="resultsTable" class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Result ID</th>
|
|
|
|
<th class="no-sort"></th>
|
|
|
|
<th>First Name</th>
|
|
|
|
<th>Last Name</th>
|
|
|
|
<th>Email</th>
|
|
|
|
<th>Position</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th class="text-center">Reported</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
2018-04-21 01:47:29 +00:00
|
|
|
<div id="flashes" class="row"></div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
2017-08-06 02:11:50 +00:00
|
|
|
{{end}} {{define "scripts"}}
|
2017-01-08 20:35:08 +00:00
|
|
|
<script src="/js/dist/app/campaign_results.min.js"></script>
|
2017-08-06 02:11:50 +00:00
|
|
|
{{end}}
|