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>
|
2015-08-12 02:12:09 +00:00
|
|
|
<div id="loading">
|
|
|
|
<i class="fa fa-spinner fa-spin fa-4x"></i>
|
|
|
|
</div>
|
|
|
|
<div id="emptyMessage" class="row" 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>
|
2015-08-12 02:12:09 +00:00
|
|
|
<div id="dashboard" style="display:none;">
|
2014-03-28 05:21:42 +00:00
|
|
|
<div class="row">
|
2015-07-29 00:31:12 +00:00
|
|
|
<div id="overview_chart" class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2015-07-28 02:06:20 +00:00
|
|
|
<p style="text-align:center;">Phishing Success Overview</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
|
|
<p style="text-align:center;">Average Phishing Results</p>
|
2015-08-05 02:27:04 +00:00
|
|
|
<div id="average_chart" class="col-lg-7 col-md-7"></div>
|
2015-07-28 02:06:20 +00:00
|
|
|
<div id="average_chart_legend" class="col-lg-5 col-md-5">
|
|
|
|
<ul class="chartist-legend">
|
|
|
|
<li>
|
|
|
|
<span style="background-color:#f05b4f;"></span> Successful Phishes
|
|
|
|
</li>
|
|
|
|
<li>
|
2015-07-29 00:31:12 +00:00
|
|
|
<span style="background-color:#1abc9c;"></span> Unsuccessful Phishes
|
2015-07-28 02:06:20 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</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">
|
2015-07-07 03:26:08 +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>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Created Date</th>
|
|
|
|
<th>Status</th>
|
2015-08-12 02:12:09 +00:00
|
|
|
<th class="col-md-2 col-sm-2"></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>
|
|
|
|
{{end}}
|
2015-06-21 21:10:47 +00:00
|
|
|
{{define "scripts"}}
|
2015-06-24 04:02:29 +00:00
|
|
|
<script src="/js/app/dashboard.js"></script>
|
2015-06-21 21:10:47 +00:00
|
|
|
{{end}}
|