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-07-07 03:26:08 +00:00
|
|
|
<div id="emptyMessage" class="row">
|
|
|
|
<div class="alert alert-info">
|
|
|
|
No campaigns created yet. Let's create one!
|
2014-05-27 01:29:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
<div>
|
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-07-07 03:26:08 +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>
|
2015-07-07 03:26:08 +00:00
|
|
|
</table> -->
|
|
|
|
<table id="campaignTable" class="table" style="display:none;">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Created Date</th>
|
|
|
|
<th>Status</th>
|
|
|
|
</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}}
|