-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (155 loc) · 8.64 KB
/
index.html
File metadata and controls
160 lines (155 loc) · 8.64 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Schoolify - Find Top Schools in Victoria | Rankings & Reviews</title>
<meta name="description"
content="Find the best schools in Victoria, Australia. Compare rankings, VCE scores, and location. Free tool for parents to make informed education decisions.">
<meta name="keywords"
content="schools victoria, school rankings, best schools melbourne, vce scores, school comparison, public schools, private schools">
<meta name="google-site-verification" content="YOUR_VERIFICATION_CODE_HERE"> <!-- Placeholder for Search Console -->
<link rel="stylesheet" href="style.css">
<!-- Add Leaflet CSS and JS -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<!-- Chart.js -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<header>
<h1>Schoolify Dashboard</h1>
</header>
<main>
<section id="search-section">
<!-- AdSense Top Banner Placeholder -->
<div id="ad-banner-top"
style="width: 100%; height: 90px; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px dashed #ccc;">
<span style="color: #888;">Advertisement Space</span>
</div>
<label for="location-input">Enter Suburb or Postcode:</label>
<input type="text" id="location-input" placeholder="e.g., Craigieburn or 3064">
<button id="search-button">Search Schools</button>
<div id="filter-section">
<label for="rank-slider">Max Rank:</label>
<input type="range" id="rank-slider" min="1" max="500" value="500"> <!-- Default to max rank -->
<span id="rank-value">500</span> <!-- Display current slider value -->
<label for="distance-slider">Max Distance (km):</label>
<input type="range" id="distance-slider" min="1" max="50" value="50"> <!-- Max distance set to 50km -->
<span id="distance-value">50 km</span> <!-- Display current distance value -->
<label for="type-filter">School Type:</label>
<select id="type-filter">
<option value="">All</option>
<option value="Public">Public</option>
<option value="Private">Private</option>
<option value="Catholic">Catholic</option>
<option value="Other">Other</option>
</select>
<label for="level-filter">School Level:</label>
<select id="level-filter">
<option value="">All</option>
<option value="Primary">Primary</option>
<option value="Secondary" selected>Secondary</option>
<option value="Combined">Combined/Other</option>
</select>
<button id="filter-button">Apply Filters</button>
<button id="toggle-advanced-metrics-button" style="margin-left: 10px;">Advanced Metrics</button>
</div>
<div id="advanced-metrics-section"
style="display: none; margin-top: 15px; padding: 10px; border: 1px solid #ccc;">
<h4>Customize Metric Weights (0-100)</h4>
<div id="advanced-metrics-sliders-container">
<!-- Sliders will be dynamically added here by JavaScript -->
</div>
<button id="apply-weights-button" style="margin-top: 10px;">Apply Custom Weights</button>
<button id="reset-weights-button" style="margin-top: 10px; margin-left: 10px;">Reset to Default
Weights</button>
</div>
</section>
<section id="results-section">
</div>
<label for="location-input">Enter Suburb or Postcode:</label>
<input type="text" id="location-input" placeholder="e.g., Craigieburn or 3064">
<button id="search-button">Search Schools</button>
<div id="filter-section">
<label for="rank-slider">Max Rank:</label>
<input type="range" id="rank-slider" min="1" max="500" value="500"> <!-- Default to max rank -->
<span id="rank-value">500</span> <!-- Display current slider value -->
<label for="distance-slider">Max Distance (km):</label>
<input type="range" id="distance-slider" min="1" max="50" value="50"> <!-- Max distance set to 50km -->
<span id="distance-value">50 km</span> <!-- Display current distance value -->
<label for="type-filter">School Type:</label>
<select id="type-filter">
<option value="">All</option>
<option value="Public">Public</option>
<option value="Private">Private</option>
<option value="Catholic">Catholic</option>
<option value="Other">Other</option>
</select>
<label for="level-filter">School Level:</label>
<select id="level-filter">
<option value="">All</option>
<option value="Primary">Primary</option>
<option value="Secondary" selected>Secondary</option>
<option value="Combined">Combined/Other</option>
</select>
<button id="filter-button">Apply Filters</button>
<button id="toggle-advanced-metrics-button" style="margin-left: 10px;">Advanced Metrics</button>
</div>
<div id="advanced-metrics-section"
style="display: none; margin-top: 15px; padding: 10px; border: 1px solid #ccc;">
<h4>Customize Metric Weights (0-100)</h4>
<div id="advanced-metrics-sliders-container">
<!-- Sliders will be dynamically added here by JavaScript -->
</div>
<button id="apply-weights-button" style="margin-top: 10px;">Apply Custom Weights</button>
<button id="reset-weights-button" style="margin-top: 10px; margin-left: 10px;">Reset to Default
Weights</button>
</div>
</section>
<section id="results-section">
<h2>Top Schools Near You</h2>
<button id="compare-button" style="display: none; margin-bottom: 10px;">Compare Selected Schools</button>
<!-- Added Compare Button -->
<button id="clear-compare-button" style="display: none; margin-bottom: 10px;">Clear Comparison</button>
<!-- Added Clear Compare Button -->
<div id="school-table-container">
<!-- School table will be generated here -->
</div>
<div id="comparison-container" style="margin-top: 20px;">
<!-- Comparison results will be displayed here -->
</div>
<!-- AdSense Middle Placeholder -->
<div id="ad-banner-middle"
style="width: 100%; height: 250px; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; margin: 20px 0; border: 1px dashed #ccc;">
<span style="color: #888;">Advertisement Space</span>
</div>
<h2>School Locations Map</h2>
<div id="map-container" style="height: 400px; width: 100%;"></div> <!-- Map container -->
<h2>Ranking Trends</h2>
<div id="charts-container">
<!-- Trend charts will be generated here -->
</div>
<h2>School Statistics</h2>
<div id="stats-container">
<!-- Statistics will be shown here -->
</div>
</section>
</main>
<footer>
<p>© 2024 Schoolify. All rights reserved.</p>
<p>
<a href="privacy.html">Privacy Policy</a> |
<a href="terms.html">Terms of Use</a> |
<a href="resources.html">Resources</a> |
<a href="mailto:info@ausdais.au">Contact</a>
</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script type="module" src="js/geocode-db.js"></script>
<script type="module" src="js/geocoding-service.js"></script>
<script type="module" src="js/script.js"></script>
</body>
</html>