github.com/topsteplocal/gophish@v0.6.0/templates/dashboard.html (about)

     1  {{define "body"}}
     2  <div class="container-fluid">
     3      <div class="row">
     4          <div class="col-sm-3 col-md-2 sidebar">
     5              <ul class="nav nav-sidebar">
     6                  <li class="active"><a href="/">Dashboard</a>
     7                  </li>
     8                  <li><a href="/campaigns">Campaigns</a>
     9                  </li>
    10                  <li><a href="/users">Users &amp; Groups</a>
    11                  </li>
    12                  <li><a href="/templates">Email Templates</a>
    13                  </li>
    14                  <li><a href="/landing_pages">Landing Pages</a>
    15                  </li>
    16                  <li><a href="/sending_profiles">Sending Profiles</a>
    17                  </li>
    18                  <li><a href="/settings">Settings</a>
    19                  </li>
    20                  <li><hr></li>
    21                  <li><a href="https://gophish.gitbooks.io/user-guide/content/">User Guide</a>
    22                  </li>
    23                  <li><a href="/api/">API Documentation</a>
    24                  </li>
    25              </ul>
    26          </div>
    27      </div>
    28  </div>
    29  <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    30      <h1 class="page-header">
    31          Dashboard
    32      </h1>
    33      <div id="loading">
    34          <i class="fa fa-spinner fa-spin fa-4x"></i>
    35      </div>
    36      <div id="emptyMessage" class="row" style="display:none;">
    37          <div class="alert alert-info">
    38              No campaigns created yet. Let's create one!
    39          </div>
    40      </div>
    41      <div id="dashboard">
    42          <div class="row">
    43              <div id="overview_chart" style="height:200px;" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
    44          </div>
    45          <div class="row">
    46              <div style="height:200px;" class="col-lg-1 col-md-1"></div>
    47              <div id="sent_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    48              <div id="opened_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    49              <div id="clicked_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    50              <div id="submitted_data_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    51              <div id="email_reported_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    52              <div style="height:200px;" class="col-lg-1 col-md-1"></div>
    53          </div>
    54          <div class="row">
    55              <h2>Recent Campaigns</h2>
    56          </div>
    57          <div class="row">
    58              <a href="/campaigns"><button type="button" class="btn btn-primary">View All</button></a>
    59          </div>
    60          &nbsp;&nbsp;
    61          <div class="row">
    62              <table id="campaignTable" class="table">
    63                  <thead>
    64                      <tr>
    65                          <th class="col-md-2 col-sm-2">Name</th>
    66                          <th class="col-md-2 col-sm-2">Created Date</th>
    67                          <th class="col-md-1 col-sm-1"><i class="fa fa-envelope-o"></i></th>
    68                          <th class="col-md-1 col-sm-1"><i class="fa fa-envelope-open-o"></i></th>
    69                          <th class="col-md-1 col-sm-1"><i class="fa fa-mouse-pointer"></i></th>
    70                          <th class="col-md-1 col-sm-1"><i class="fa fa-exclamation-circle"></i></th>
    71                          <th class="col-md-1 col-sm-1"><i class="fa fa-bullhorn"></i></th>
    72                          <th class="col-md-1 col-sm-1">Status</th>
    73                          <th class="col-md-2 col-sm-2 no-sort"></i></th>
    74                      </tr>
    75                  </thead>
    76                  <tbody>
    77                  </tbody>
    78              </table>
    79          </div>
    80      </div>
    81  </div>
    82  {{end}}
    83  {{define "scripts"}}
    84  <script src="/js/dist/app/dashboard.min.js"></script>
    85  {{end}}