-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
145 lines (145 loc) · 8.02 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
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WACE Database</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/png" href="favicon.png">
</head>
<body>
<header></header>
<nav id="nav" class="navBar">
</nav>
<div id="search" class="search">
<h2>Advanced Search</h2>
<div class="filter" style="display: none;">
<div class="filterLabel">Page is Duplicated: (used by script not user)</div>
<select id="isDuplicated" class="filterSelect">
<option value="no">NO</option>
<option value="yes">YES</option>
</select>
</div>
<div class="filter">
<div class="filterLabel">Subject: </div>
<select id="subjectSelect" class="filterSelect">
<option value="spec">Mathematics Specialist</option>
<option value="meth">Mathematics Methods</option>
<option value="apps">Mathematics Applications</option>
<option value="chem">Chemistry</option>
<option value="phys">Physics</option>
<option value="econs">Economics</option>
</select>
</div>
<div class="filter">
<div class="filterLabel">Year: </div>
<select id="yearSelect" class="filterSelect">
<option value="all">All Years</option>
<option value="2023">2023</option>
<option value="2022">2022</option>
<option value="2021">2021</option>
<option value="2020">2020</option>
<option value="2019">2019</option>
<option value="2018">2018</option>
<option value="2017">2017</option>
<option value="2016">2016</option>
</select>
</div>
<div class="filter">
<div class="filterLabel">Calculator: </div>
<select id="calculatorSelect" class="filterSelect">
<option value="all">All</option>
<option value="free">Free</option>
<option value="assumed">Assumed</option>
</select>
</div>
<div class="filter">
<div class="filterLabel">Organisation: </div>
<select id="sourceSelect" class="filterSelect">
<option value="all">All</option>
<option value="WACE">WACE</option>
<option value="-">---- Example Schools (no content) ----</option>
<option value="PMOD">Perth Modern School</option>
<option value="CCGS">Christ Church Grammar School</option>
<option value="Rossmoyne">Rossmoyne Senior High School</option>
<option value="Willetton">Willetton Senior High School</option>
</select>
</div>
<div class="filter">
<div class="filterLabel">Assessment Type: </div>
<select id="typeSelect" class="filterSelect">
<option value="all">All</option>
<option value="WACE">WACE Exam (Owned by SCSA*)</option>
<option value="-">---- Example Types (no content) ----</option>
<option value="Sem1">Sem 1 Exam</option>
<option value="Sem2">Sem 2 Exam</option>
<option value="Inv">Investigation</option>
<option value="Test">Test</option>
</select>
</div>
<div class="filter">
<div class="filterLabel">Tags: </div>
<select id="tagsSelect" class="filterSelect">
<option value="or">OR</option>
<option value="and">AND</option>
</select>
<div id="tagsContainer" class="tagsContainer"></div>
</div>
<div class="verticalSpacerSmall"></div>
<button id="searchButton" class="standardButton" onclick="search()">Search</button>
<div class="horizontalSpacer"></div>
<button class="standardButton" onclick="clearFilters()">Clear Filters</button>
</div>
<div class="content">
<h2 class="compact">Search Results</h2><button id="dowloadAllButton" class="standardButton" onclick="downloadAll()">Download All</button>
<div id="pageControlsTop" class="pageControls">
<button disabled id="prevPageButtonTop" class="pageButton" onclick="prevPage()">◄</button>
<div class="horizontalSpacerSmall"></div>
<input id="pageInputTop" type="number" value="0" class="pageInput" onchange="goToPage(parseInt(this.value)-1)"/>
<span>/ </span>
<span id="totalPagesTop">0</span>
<div class="horizontalSpacerSmall"></div>
<button disabled id="nextPageButtonTop" class="pageButton" onclick="nextPage()">►</button>
<span id="pageLengthSelect">
Questions per page
<select id="lengthSelect" onchange="renderPageResults()">
<option value="5">1</option>
<option value="5">5</option>
<option value="10" selected>10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="1000000">Infinite</option>
</select>
</span>
</div>
<div id="searchResults" class="searchResults">
<h3>Press 'Search' to get started.</h3>
</div>
<div id="pageControlsBottom" class="pageControls">
<button disabled id="prevPageButtonBottom" class="pageButton" onclick="prevPage()">◄</button>
<div class="horizontalSpacerSmall"></div>
<input id="pageInputBottom" type="number" value="0" class="pageInput" onchange="goToPage(parseInt(this.value)-1)"/>
<span>/ </span>
<span id="totalPagesBottom">0</span>
<div class="horizontalSpacerSmall"></div>
<button disabled id="nextPageButtonBottom" class="pageButton" onclick="nextPage()">►</button>
</div>
</div>
<footer>
<p class="compact">
*DISCLAIMER: All content used under the Assessment Type 'WACE Exam' is owned by the School Curriculum and Standards Authority (SCSA). All content (exam questions made by the Authority) remains unchanged from the original version that can be found in the links referenced to the Authority's website below. Note that the order and arrangement of questions may differ from the original version of the online PDF documents of WACE Exams with accordance to the categorisation process of content based on the tags that can be found above. Questions can be found in the "drop-down boxes" shown above consisting of images of separate parts of the content (based on separation of content as questions) from the original PDF documents of WACE Exams that exist on the Authority's website. WACE Database does not claim ownership of any content under the Assessment Type 'WACE Exam', only the ability to categorise and alter the order of this original content. WACE Database is NOT affiliated with or endorsed by the Authority nor the Western Australian Certificate of Education (WACE) in any form, as well as any processes involved with either of the two, only an existing user of the content from WACE Exams that belong to the Authority. This usage is in lieu with the Terms of Use of the Authority and terms of the Creative Commons Attribution 4.0 International (CC BY) License as content derived from the Australian Curriculum.
</p>
</footer>
<script>
fetch('navbar.html')
.then(response => response.text())
.then(data => document.getElementById('nav').innerHTML = data);
fetch('header.html')
.then(response => response.text())
.then(data => document.querySelector('header').innerHTML = data);
</script>
<script src="script.js"></script>
<script src="https://unpkg.com/pdf-lib/dist/pdf-lib.min.js"></script>
</body>
</html>