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">
|
2017-02-13 12:07:08 +00:00
|
|
|
<li class="active"><a href="#">{{T "Dashboard"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/campaigns">{{T "Campaigns"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-14 18:18:55 +00:00
|
|
|
<li><a href="/users">{{T "Users & Groups"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/templates">{{T "Email Templates"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/landing_pages">{{T "Landing Pages"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/sending_profiles">{{T "Sending Profiles"}}</a>
|
2016-02-20 22:39:23 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/settings">{{T "Settings"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2016-02-20 22:39:23 +00:00
|
|
|
<li><hr></li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="https://gophish.gitbooks.io/user-guide/content/">{{T "User Guide"}}</a>
|
2016-02-20 22:39:23 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/api/">{{T "API Documentation"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-08 20:35:08 +00:00
|
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
2015-06-15 21:49:16 +00:00
|
|
|
<h1 class="page-header">
|
2017-02-13 12:07:08 +00:00
|
|
|
{{T "Dashboard"}}
|
2015-06-15 21:49:16 +00:00
|
|
|
</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">
|
2017-02-13 12:07:08 +00:00
|
|
|
{{T "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">
|
2017-02-13 12:07:08 +00:00
|
|
|
<p style="text-align:center;">{{T "Phishing Success Overview"}}</p>
|
2015-07-28 02:06:20 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2017-02-13 12:07:08 +00:00
|
|
|
<p style="text-align:center;">{{T "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>
|
2017-02-13 12:07:08 +00:00
|
|
|
<span style="background-color:#f05b4f;"></span> {{T "Successful Phishes"}}
|
2015-07-28 02:06:20 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<span style="background-color:#1abc9c;"></span> {{T "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">
|
2017-02-13 12:07:08 +00:00
|
|
|
<h2>{{T "Recent Campaigns"}}</h2>
|
2013-12-09 06:35:07 +00:00
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
<div class="row">
|
2017-02-13 12:07:08 +00:00
|
|
|
<a href="/campaigns"><button type="button" class="btn btn-primary">{{T "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>
|
2017-02-13 12:07:08 +00:00
|
|
|
<th>{{T "Name"}}</th>
|
|
|
|
<th>{{T "Created Date"}}</th>
|
|
|
|
<th>{{T "Status"}}</th>
|
2016-01-17 21:27:11 +00:00
|
|
|
<th class="col-md-2 col-sm-2 no-sort"></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"}}
|
2017-02-13 12:07:08 +00:00
|
|
|
<script>
|
2017-02-13 12:50:01 +00:00
|
|
|
localizedDatas = {
|
|
|
|
"In progress": "{{T "In progress"}}",
|
|
|
|
"Queued": "{{T "Queued"}}",
|
|
|
|
"Completed": "{{T "Completed"}}",
|
|
|
|
"Emails Sent": "{{T "Emails Sent"}}",
|
|
|
|
"Error": "{{T "Error"}}",
|
|
|
|
"Delete": "{{T "Delete"}}",
|
|
|
|
"View Results": "{{T "View Results"}}",
|
|
|
|
"Delete Campaign": "{{T "Delete Campaign"}}",
|
|
|
|
"Unsuccessful Phishes": "{{T "Unsuccessful Phishes"}}",
|
|
|
|
"Successful Phishes": "{{T "Successful Phishes"}}",
|
|
|
|
"Successes": "{{T "Successes"}}",
|
|
|
|
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
|
|
|
}
|
2017-02-13 12:07:08 +00:00
|
|
|
</script>
|
2017-02-14 17:09:26 +00:00
|
|
|
<script src="/js/dist/app/dashboard.min.js"></script>
|
2015-06-21 21:10:47 +00:00
|
|
|
{{end}}
|