-
Notifications
You must be signed in to change notification settings - Fork 12
/
time-out-afternoon.php
executable file
·66 lines (61 loc) · 1.94 KB
/
time-out-afternoon.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
<?php
$timezone = 'Asia/Manila';
date_default_timezone_set($timezone);
?>
<!doctype html>
<html lang="en" dir="ltr">
<head>
<?php require_once('admin/includes/script.php') ?>
<title>Profiling and Payroll Management System</title>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<!-- Dashboard Core -->
<link href="./assets/css/dashboard.css" rel="stylesheet" />
<script src="js/vue.js"></script>
</head>
<body class="" >
<div class="page" id="app">
<div class="page-single">
<div class="container">
<div style="padding-bottom: 20px;" class="text-center">
<h1 id="date"></h1>
<h1 class="text" id="time"></h1>
</div>
<div class="">
<center>
<div>
<h4 class="timein">Time Out Afternoon</h4>
</div>
<div class="col-md-4">
<div class="form-group">
<form v-on:submit.prevent="TimeOutAfternoon">
<input type="text" required="true" v-model="time_out_afternoon" class="form-control" id="employee-id" placeholder="Employee Identification" autofocus="true">
</form>
</div>
</div>
</center>
</center>
</div>
</div>
</div>
<a href="admin" target="_blank" class="btn">Go to Dashboard Panel</a>
</div>
</div>
</div>
<!-- jQuery 3 -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Moment JS -->
<script src="bower_components/moment/moment.js"></script>
<script src="js/model.js"></script>
<script type="text/javascript">
$(function() {
var interval = setInterval(function() {
var momentNow = moment();
$('#date').html(momentNow.format('dddd').substring(0,3).toUpperCase() + ' - ' + momentNow.format('MMMM DD, YYYY'));
$('#time').html(momentNow.format('hh:mm:ss A'));
}, 100);
});
</script>
</body>
</html>