github.com/lunarobliq/gophish@v0.8.1-0.20230523153303-93511002234d/templates/dashboard.html (about)

     1  {{define "body"}}
     2  <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
     3      <h1 class="page-header">
     4          Dashboard
     5      </h1>
     6      <div id="loading">
     7          <i class="fa fa-spinner fa-spin fa-4x"></i>
     8      </div>
     9      {{template "flashes" .Flashes}}
    10      <div id="emptyMessage" style="display:none;">
    11          <div class="alert alert-info">
    12              No campaigns created yet. Let's create one!
    13          </div>
    14      </div>
    15      <div id="dashboard" style="display:none;">
    16          <div class="row">
    17              <div id="overview_chart" style="height:200px;" class="col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
    18          </div>
    19          <div class="row">
    20              <div style="height:200px;" class="col-lg-1 col-md-1"></div>
    21              <div id="sent_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    22              <div id="opened_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    23              <div id="clicked_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    24              <div id="submitted_data_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    25              <div id="email_reported_chart" style="height:200px;" class="col-lg-2 col-md-2"></div>
    26              <div style="height:200px;" class="col-lg-1 col-md-1"></div>
    27          </div>
    28          <div class="row">
    29              <h2>Recent Campaigns</h2>
    30          </div>
    31          <div class="row">
    32              <a href="/campaigns">
    33                  <button type="button" class="btn btn-primary">View All</button>
    34              </a>
    35          </div>
    36          &nbsp;&nbsp;
    37          <div class="row">
    38              <table id="campaignTable" class="table">
    39                  <thead>
    40                      <tr>
    41                          <th class="col-md-2 col-sm-2">Name</th>
    42                          <th class="col-md-2 col-sm-2">Created Date</th>
    43                          <th class="col-md-1 col-sm-1">
    44                              <i class="fa fa-envelope-o"></i>
    45                          </th>
    46                          <th class="col-md-1 col-sm-1">
    47                              <i class="fa fa-envelope-open-o"></i>
    48                          </th>
    49                          <th class="col-md-1 col-sm-1">
    50                              <i class="fa fa-mouse-pointer"></i>
    51                          </th>
    52                          <th class="col-md-1 col-sm-1">
    53                              <i class="fa fa-exclamation-circle"></i>
    54                          </th>
    55                          <th class="col-md-1 col-sm-1">
    56                              <i class="fa fa-bullhorn"></i>
    57                          </th>
    58                          <th class="col-md-1 col-sm-1">Status</th>
    59                          <th class="col-md-2 col-sm-2 no-sort"></th>
    60                      </tr>
    61                  </thead>
    62                  <tbody>
    63                  </tbody>
    64              </table>
    65          </div>
    66      </div>
    67  </div>
    68  {{end}} {{define "scripts"}}
    69  <script src="/js/dist/app/dashboard.min.js"></script>
    70  {{end}}