-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlock.php
88 lines (68 loc) · 2.23 KB
/
lock.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
//initilize the page
require_once("inc/init.php");
//require UI configuration (nav, ribbon, etc.)
require_once("inc/config.ui.php");
/*---------------- PHP Custom Scripts ---------
YOU CAN SET CONFIGURATION VARIABLES HERE BEFORE IT GOES TO NAV, RIBBON, ETC.
E.G. $page_title = "Custom Title" */
$page_title = "Session Locked";
/* ---------------- END PHP Custom Scripts ------------- */
//include header
//you can add your custom css in $page_css array.
//Note: all css files are inside css/ folder
$page_css[] = "your_style.css";
$page_css[] = "lockscreen.css";
$no_main_header = true;
include("inc/header.php");
?>
<!-- ==========================CONTENT STARTS HERE ========================== -->
<!-- MAIN PANEL -->
<div id="main" role="main">
<!-- MAIN CONTENT -->
<form class="lockscreen animated flipInY" action="<?php echo APP_URL; ?>/index.php">
<div class="logo">
<h1 class="semi-bold"><img src="<?php echo ASSETS_URL; ?>/img/logo-o.png" alt="" /> SmartAdmin</h1>
</div>
<div>
<img src="<?php echo ASSETS_URL; ?>/img/avatars/sunny-big.png" alt="" width="120" height="120" />
<div>
<h1><i class="fa fa-user fa-3x text-muted air air-top-right hidden-mobile"></i>John Doe <small><i class="fa fa-lock text-muted"></i> Locked</small></h1>
<p class="text-muted">
<a href="mailto:simmons@smartadmin">john.doe@smartadmin.com</a>
</p>
<div class="input-group">
<input class="form-control" type="password" placeholder="Password">
<div class="input-group-btn">
<button class="btn btn-primary" type="submit">
<i class="fa fa-key"></i>
</button>
</div>
</div>
<p class="no-margin margin-top-5">
Logged as someone else? <a href="<?php echo APP_URL; ?>/login.php"> Click here</a>
</p>
</div>
</div>
<p class="font-xs margin-top-5">
Copyright SmartAdmin 2014-2020.
</p>
</form>
</div>
<!-- END MAIN PANEL -->
<!-- ==========================CONTENT ENDS HERE ========================== -->
<?php
//include required scripts
include("inc/scripts.php");
?>
<!-- PAGE RELATED PLUGIN(S)
<script src="..."></script>-->
<script>
$(document).ready(function() {
// PAGE RELATED SCRIPTS
})
</script>
<?php
//include footer
include("inc/footer.php");
?>