-
Notifications
You must be signed in to change notification settings - Fork 0
/
sent-leave.php
41 lines (34 loc) · 1.02 KB
/
sent-leave.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
<?php
require_once "importance.php";
if(!User::loggedIn()){
Config::redir("login.php");
}
?>
<html>
<head>
<title><?php echo CONFIG::SYSTEM_NAME; ?> : Leave</title>
<?php require_once "inc/head.inc.php"; ?>
</head>
<body>
<?php require_once "inc/header.inc.php"; ?>
<div class='container-fluid'>
<div class='row'>
<div class='col-md-2'><?php require_once "inc/sidebar.inc.php"; ?></div> <!-- this should be a sidebar -->
<div class='col-md-10'>
<div class='content-area'>
<div class='content-header'>
<?php echo "Leaves" ; ?> <small><?php echo "List of leaves requested"; ?></small>
</div>
<?php require_once "inc/alerts.inc.php"; ?>
<div class='content-body'>
<p align="right">
<button class="btn btn-primary" onclick="location.href='add-leave.php'" type="button"></span>New Leave</button>
</p>
<?php Leave::loadsentleave($token);?>
</div><!-- end of the content area -->
</div>
</div><!-- col-md-7 -->
</div>
</div>
</body>
</html>