-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (107 loc) · 4.52 KB
/
index.html
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
</head>
<body onload="loadSampleData()">
<!-- <script src="js/plugins.js"></script> -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<div class="container mb-5">
<div class="row justify-content-center">
<div class="col-lg-12 m-3"></div>
<h3>Work Area</h3>
</div>
<div class="row " id="cal-box" >
<div class="col-lg-2 cal-container mr-3 rounded p-0 ">
<div class="cal-day">
<h6>MON</h6>
<div class="tile-container" id="MON"></div>
</div>
<p class="birthday-text" id="MON-birthday-text"></p>
</div>
<div class="col-lg-2 col-md-3 cal-container mr-3 rounded p-0">
<div class="cal-day">
<h6>TUE</h6>
<div class="tile-container" id="TUE"></div>
</div>
<p class="birthday-text" id="TUE-birthday-text"></p>
</div>
<div class="col-lg-2 col-md-3 cal-container mr-3 rounded p-0">
<div class="cal-day">
<h6>WED</h6>
<div class="tile-container" id="WED"></div>
</div>
<p class="birthday-text" id="WED-birthday-text"></p>
</div>
<div class="col-lg-2 col-md-3 cal-container mr-3 rounded p-0">
<div class="cal-day">
<h6>THU</h6>
<div class="tile-container" id="THU"></div>
</div>
<p class="birthday-text" id="THU-birthday-text"></p>
</div>
<div class="col-lg-2 col-md-3 cal-container mr-3 rounded p-0">
<div class="cal-day">
<h6>FRI</h6>
<div class="tile-container" id="FRI"></div>
</div>
<p class="birthday-text" id="FRI-birthday-text"></p>
</div>
<div class="col-lg-2 col-md-3 cal-container mr-3 rounded p-0">
<div class="cal-day">
<h6>SAT</h6>
<div class="tile-container" id="SAT" ></div>
</div>
<p class="birthday-text" id="SAT-birthday-text"></p>
</div>
<div class="col-lg-2 col-md-3 cal-container rounded p-0">
<div class="cal-day">
<h6>SUN</h6>
<div class="tile-container" id="SUN"></div>
</div>
<p class="birthday-text" id="SUN-birthday-text"></p>
</div>
</div>
<div class="row">
<div class="col-lg-8 pl-0 pt-5">
<label style="font-size: 12px;">Note: Date Format : MM/DD/YYYY ( eg. 08/01/1991 )</label>
<div class="alert alert-danger" role="alert" style="display:none" id="editor-error">
Please add valid input
</div>
<div class="editor rounded">
<textarea id="editor" onchange="handleEditorChange()"></textarea>
</div>
</div>
<div class="col-lg-4 pt-5" >
<div class="alert alert-danger" role="alert" style="display:none" id="year-error">
Please add valid year
</div>
<div class="form-group">
<label for="year">Year</label>
<input type="text" class="form-control" id="year" onkeyup="handleYearChange()">
<button type="button" disabled class="btn btn-primary mt-3" id="update-btn" onclick="handleUpdate()">Update</button>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
<script src="utility/constants.js"></script>
<script src="utility/helper.js"></script>
<script src="js/editor.js"></script>
<script src="js/year.js"></script>
<script src="js/calendar.js"></script>
</body>
</script>
</html>