forked from J3ranch/J3ranch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scholarship_overlay.html
74 lines (64 loc) · 2.41 KB
/
scholarship_overlay.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
<!DOCTYPE html>
<html>
<head>
<title>Scholarship Overlay</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<link rel="stylesheet" type="text/css" href="./scholarship_overlay.css">
<link href="https://fonts.googleapis.com/css?family=Economica:400,700|Open+Sans" rel="stylesheet">
<script src="https://www.gstatic.com/firebasejs/5.5.9/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.9/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.9/firebase-firestore.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDwpG2spmCwUbpEH6daawXj5Qgo4CldOr0",
authDomain: "ucscholarship-10628.firebaseapp.com",
databaseURL: "https://ucscholarship-10628.firebaseio.com",
projectId: "ucscholarship-10628",
storageBucket: "ucscholarship-10628.appspot.com",
messagingSenderId: "877779845443"
};
firebase.initializeApp(config);
</script>
</head>
<body>
<div id="scholarship-content">
<div id="loader">
<div class="loading">
<div class="loading-bar"></div>
<div class="loading-bar"></div>
<div class="loading-bar"></div>
<div class="loading-bar"></div>
</div>
<div id="long-load">The server is taking a while to respond...<br/>Thank you for your patience.</div>
</div>
<div id="no-data">Sorry, we cannot find this scholarship.<br/>Please contact the support team.</div>
<div id="scholarship-picture-container">
<img src="" id="scholarship-picture">
</div>
<div id="scholarship-name-container">
<h1 class="overlay-content" id="scholarship-name">
</h1>
<h2 class="overlay-content" id="amount">
</h2>
</div>
<div id="scholarship-summary-container">
<div class="overlay-content" id="scholarship-reqs"></div>
<p class="overlay-content" id="scholarship-summary"></p>
</div>
<div id="scholarship-tags-container">
</div>
<div id="scholarship-percent-container">
<p class="overlay-content" id="chance" style="display: none;"></p>
<p class="overlay-content">Deadline:</p>
<p class="overlay-content" id="deadline">placeholder</p>
</div>
<div id="scholarship-buttons-container">
<button id="close" class="white-button">CLOSE</button>
<button id="details" class="white-button" disabled>DETAILS</button>
<button id="apply" class="green-button" disabled>APPLY</button>
</div>
</div>
<script src="./scholarship_overlay.js"></script>
</body>
</html>