-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdashboard.php
54 lines (53 loc) · 2.62 KB
/
dashboard.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<div class="ssp-title hd">
<h3><i class="fa fa-dashboard fa-2x pull-left"> </i>Dashboard<br><small>Welcome back, <?= $authenticator->UserFullName() ?>!</small></h3>
</div>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-6 col-xs-12">
<!-- Widget: user widget style 1 -->
<div class="box box-widget widget-user-2">
<!-- Add the bg color to the header using any of the bg-* classes -->
<div class="widget-user-header bg-aqua">
<div class="widget-user-image">
<img class="img-circle" src="dist/img/avatar5.png" alt="User Avatar">
</div><!-- /.widget-user-image -->
<h3 class="widget-user-username"><?= $authenticator->UserFullName() ?></h3>
<h5 class="widget-user-desc"><?= $myACL->getRole($_SESSION['userID']) //$dal->getVerbatimUserAccessLevel() ?></h5>
</div>
<div class="box-footer no-padding">
<ul class="nav nav-stacked">
<li><a href="ServiceRecord.php?sr=all">Assigned Service Records <span class="pull-right badge bg-blue"><?= $dali->getAssignedRecords($_SESSION['userID']) ?></span></a></li>
<li><a href="Mailbox.php">Emails <span class="pull-right badge bg-aqua">5</span></a></li>
<li><a href="#">Completed Service Records <span class="pull-right badge bg-green"><?= $dali->getCompleteRecords($_SESSION['userID']) ?></span></a></li>
</ul>
</div>
</div><!-- /.widget-user -->
</div><!-- /.col -->
<div class="col-md-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-envelope-o"></i></span>
<div class="info-box-content">
<span class="info-box-text">Messages</span>
<span class="info-box-number">5</span>
</div><!-- /.info-box-content -->
</div><!-- /.info-box -->
<div class="info-box">
<span class="info-box-icon bg-green"><i class="fa fa-files-o"></i></span>
<div class="info-box-content">
<span class="info-box-text">Assigned Tickets</span>
<span class="info-box-number"><?= $dali->getAssignedRecords($_SESSION['userID']) ?></span>
</div><!-- /.info-box-content -->
</div><!-- /.info-box -->
</div>
</div>
<div class="row">
<?php
include_once "modules/hd_portal/recent_act.php";
include_once "modules/hd_portal/act_user.php";
?>
</div>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->