-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
136 lines (121 loc) · 6.1 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
<!DOCTYPE html>
<html>
<head>
<meta name="google-signin-client_id" content=520056906118-sl31902v8ulmuktmg74olcdne4l3uq5c.apps.googleusercontent.com>
<meta charset="UTF-8">
<title>The Big Pineapple</title>
<link rel="shortcut icon" type='image/x-icon' href="/favicon.ico"/>
<script src="http://code.jquery.com/jquery-3.3.1.js"integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<link rel='stylesheet' href='fullcalendar/fullcalendar.css' />
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="style/main.css">
<script src="moment.min.js"></script>
<script src="scripts/hourLogging.js"></script>
</head>
<canvas id="canvas"></canvas>
<div id="site-wrapper">
<header>
<div class="center-content">
<h1>The Big Pineapple
<img src="media/logo.png" class="logo-img">
</h1>
</div>
</header>
<div id="background">
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Save New Hours</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Do you want to log hours for this event?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="confirmLoggedHours()">Yes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">No</button>
</div>
</div>
</div>
</div>
<main>
<div id="landing-content" class="center-content">
<h2>
Welcome to the Big Pineapple
</h2>
<p>
The fun and interactive way to log volunteer time
</p>
<!-- <div id='display-for-debugging'> <h1>Events</h1> <ul id='events'></ul></div> -->
<div class="g-signin2" data-onsuccess="onSignIn" style="margin: auto; width: 120px">Google Sign In</div>
</div>
<div id="habitica-container">
<div id="habitica-bar">
<div id="profile-picture">
<img id="profile-picture-img"/>
</div>
<div id="user-stats">
<div>
<span id="username-field">USERNAME</span>
</div>
<div id="about-character-bar">
Level <span id="level-field">0</span> <span id="class-field">CLASS</span>
</div>
<div id="stats-bars">
<div id="hp-bar">
<img src="media/heart.png" class="icon" /> <span id="hp-field">100</span>
</div>
<div id="exp-bar">
<img src="media/sparkles.png" class="icon" /> <span id="exp-field">0/100</span>
</div>
</div>
</div>
<div id="habitica-right">
<button class="btn btn-light" onclick="openHabitica()" >
<img src="media/habitica-logo.png"/>
</button>
<div id="hours">
<h4 style="margin-bottom: 0px;"><span id="hours-field">0</span> hours</h4>
</div>
</div>
</div>
</div>
<div id="calendar-container" class="center-content">
<div id='content'>
<h2>Events</h2>
<ul id='events'></ul>
</div>
<!-- <a href='addEvents' id='authorize-button' onclick='magicalNonExistantFeature()'>Click Here To Update Your BigPineapple Calendar</a> -->
<div id='calendar'></div>
</div>
</main>
<!-- <footer>
<div class="center-content">
Check out the project on <a href="https://github.com/TheBigPineapple" target="_blank">GitHub</a>
</div>
</footer>-->
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src='fullcalendar/lib/moment.min.js'></script>
<script src='fullcalendar/fullcalendar.js'></script>
<script type='text/javascript' src='fullcalendar/gcal.js'></script>
<script src="https://apis.google.com/js/client.js?"></script>
<script src="https://apis.google.com/js/platform.js"></script>
<script type="text/javascript" src="google_client_secret.json"></script>
<script type="text/javascript" src="eventbrite_client_secret.json"></script>
<script src="scripts/utils.js"></script>
<script src="scripts/charityCalendar.js"></script>
<script src="scripts/userCalendar.js"></script>
<script src="scripts/statsCONFIG.js"></script>
<script src="scripts/processAddedHours.js"></script>
<script src="scripts/UIFunctions.js"></script>
<script src="scripts/signOn.js"></script>
<script src="scripts/confetti.js"></script>
</body>
</html>