mirror of https://github.com/gophish/gophish
89 lines
3.4 KiB
HTML
89 lines
3.4 KiB
HTML
{{define "body"}}
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-3 col-md-2 sidebar">
|
|
<ul class="nav nav-sidebar">
|
|
<li><a href="/">Dashboard</a>
|
|
</li>
|
|
<li class="active"><a href="/campaigns">Campaigns</a>
|
|
</li>
|
|
<li><a href="/users">Users & Groups</a>
|
|
</li>
|
|
<li><a href="/templates">Email Templates</a>
|
|
</li>
|
|
<li><a href="/landing_pages">Landing Pages</a>
|
|
</li>
|
|
<li><a href="/settings">Settings</a>
|
|
</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="CampaignResultsCtrl">
|
|
<div ng-show="campaign">
|
|
<div class="row">
|
|
<h1 class="page-header">Results for campaign.name</h1>
|
|
</div>
|
|
<div class="row">
|
|
<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>
|
|
<button type="button" class="btn btn-danger" tooltip="Delete Campaign" tooltip-placement="right" ng-click="delete(campaign)" ng-href="/dashboard"><i class="fa fa-times fa-lg"></i>
|
|
</button>
|
|
</div>
|
|
<br />
|
|
<div class="row">
|
|
<tabset>
|
|
<tab heading="Overview">
|
|
<br/>
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
<highchart config="timeline_chart"></highchart>
|
|
</div>
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
<highchart config="email_chart"></highchart>
|
|
</div>
|
|
</div>
|
|
</tab>
|
|
<tab heading="Plugins">Plugins here</tab>
|
|
<tab heading="Demographics">Demographics here</tab>
|
|
</tabset>
|
|
</div>
|
|
<div class="row">
|
|
<h2>Details</h2>
|
|
<table ng-table="mainTableParams" class="table table-hover table-striped table-bordered">
|
|
<tbody>
|
|
<tr ng-repeat="result in $data" class="editable-row">
|
|
<td data-title="'Email'" class="col-sm-1">result.email</td>
|
|
<td data-title="'Status'" class="col-sm-2">result.status</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div ng-show="!campaign">
|
|
<div class="row">
|
|
<div class="alert alert-danger">
|
|
<i class="fa fa-exclamation-circle"></i> Campaign not found!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
{{define "scripts"}}
|
|
<script src="/js/hogan.js"></script>
|
|
<script src="/js/typeahead.min.js"></script>
|
|
<script src="/js/app/campaign_results.js"></script>
|
|
{{end}}
|