-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
137 lines (113 loc) · 6.2 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"> -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hybrid Tracker</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<link rel="stylesheet" href="./assets/style.css">
</head>
<!--style information within the head for calendar coding in the body below is from Alicia's code on Thursday-->
<header class = "header">
<h1 class="title is-1">My Hybrid Attendance Tracker</h1>
<h2 class="subtitle">Click on the date you attended work in-office to add it to your monthly 50% requirement.</h2>
</header>
<body>
<month section>
<h3 class="title is-2">June 2023</h3>
</month section>
<div id="days" class="has-text-black has-text-weight-semibold">
<div class="calendar">
<div class="column tag is-primary is-large">Sun</div>
<div class="column tag is-primary is-large">Mon</div>
<div class="column tag is-primary is-large">Tue</div>
<div class="column tag is-primary is-large">Wed</div>
<div class="column tag is-primary is-large">Thu</div>
<div class="column tag is-primary is-large">Fri</div>
<div class="column tag is-primary is-large">Sat</div>
<!--The below four div class="day" left blank to hold space for days of the week before the 1st day of the month.-->
<div class="day has-background-grey-lighter"></div>
<div class="day"></div>
<div class="day"></div>
<div class="day"></div>
<div class="day" data-number="1" data-state="off">1</div>
<div class="day" data-number="2" data-state="off">2</div>
<div class="day has-background-grey-lighter">3</div>
<div class="day has-background-grey-lighter">4</div>
<div class="day" data-number="5" data-state="off">5</div>
<div class="day" data-number="6" data-state="off">6</div>
<div class="day" data-number="7" data-state="off">7</div>
<div class="day" data-number="8" data-state="off">8</div>
<div class="day" data-number="9" data-state="off">9</div>
<div class="day has-background-grey-lighter">10</div>
<div class="day has-background-grey-lighter">11</div>
<div class="day" data-number="12" data-state="off">12</div>
<div class="day" data-number="13" data-state="off">13</div>
<div class="day" data-number="14" data-state="off">14</div>
<div class="day" data-number="15" data-state="off">15</div>
<div class="day" data-number="16" data-state="off">16</div>
<div class="day has-background-grey-lighter">17</div>
<div class="day has-background-grey-lighter">18</div>
<div class="day" data-number="19" data-state="off">19</div>
<div class="day" data-number="20" data-state="off">20</div>
<div class="day" data-number="21" data-state="off">21</div>
<div class="day" data-number="22" data-state="off">22</div>
<div class="day" data-number="23" data-state="off">23</div>
<div class="day has-background-grey-lighter">24</div>
<div class="day has-background-grey-lighter">25</div>
<div class="day" data-number="26" data-state="off">26</div>
<div class="day" data-number="27" data-state="off">27</div>
<div class="day" data-number="28" data-state="off">28</div>
<div class="day" data-number="29" data-state="off">29</div>
<div class="day" data-number="30" data-state="off">30</div>
<div class="day has-background-grey-lighter"></div>
</div>
</div>
<div id = "numbers" class = "section">
<div class="column">
<header class="card-header">
<h3 class="card-header-title is-centered is-size-3">Working Days this month</h3>
</header>
<p id ="working-days" class="card-content content is-centered is-size-3"></p>
</div>
<div class="column">
<header class="card-header">
<h3 class="card-header-title is-centered is-size-3">Days I've been in office this month</h3>
</header>
<p id="office-days" class="card-content content is-centered is-size-3"></p>
</div>
</div>
<div class="column" id="percent-working">
<header class="card-header">
<h3 class="card-header-title is-centered is-size-3">% of Working Days in-office this month</h3>
</header>
<p id="percentage" class="card-content content is-centered is-size-3"></p>
</div>
<tool section >
<ui>
<h2 class="title is-3">Federal Holidays</h2>
<div id="holidays" class = "subtitle is-4"></div>
<h2 class="title is-3" id="weather-title">Weather Report</h2>
<div class="history">
<form id="search-form">
<input type="text" id="input-box" class="input"/>
<button id="search" class="button is-primary">search</button>
</form>
</div>
<div class="five-day-wrapper">
<div class="five-day-forecast">
</div>
</div>
</ui>
</tool section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.11.8/dayjs.min.js" integrity="sha512-af90l7+r/ujCury3kqomcoZ4aNuC4JP0xUUU682bqlRCLLvGJrc9L82zONFccLWmxcMXSqO9d6C7Rr39EkbT3Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="script.js"></script>
<script src="weather.js"></script>
<script src="holidays.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.3/dayjs.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/customParseFormat.js"></script>
<script>dayjs.extend(window.dayjs_plugin_customParseFormat)</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.11.8/dayjs.min.js" integrity="sha512-af90l7+r/ujCury3kqomcoZ4aNuC4JP0xUUU682bqlRCLLvGJrc9L82zONFccLWmxcMXSqO9d6C7Rr39EkbT3Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</body>
</html>