-
Notifications
You must be signed in to change notification settings - Fork 5
/
template-education-choice.php
69 lines (58 loc) · 2.49 KB
/
template-education-choice.php
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
<?php
/* Template Name: CHoice */
get_header();
get_template_part("parts/navigation/breadcrumb");
$choice_url = \ReCHallenge\Settings::get_setting('choice_url');
if (! empty($choice_url)) {
?>
<script>
window.choice_url = <?=wp_json_encode($choice_url)?>;
</script>
<?php
}
?>
<main>
<div class="row column column-block">
<?php the_content(); ?>
</div>
<div class="row">
<div class="column">
<div class="row collapse">
<div class="choice-search clearfix">
<div class="small-6 column">
<label>Study
<select id="searchStudy">
<option value="">-- Select a study --</option>
<option value="AM">Applied Mathematics</option>
<option value="CS">Computer Science</option>
</select>
</label>
</div>
<div class="small-6 column">
<form>
<label>Study program
<select id="searchProgram">
<option value="">-- Select a study program --</option>
<option value="FIRST_YEAR">First year</option>
<option value="SECOND_YEAR">Second year</option>
<option value="THIRD_YEAR">Third year</option>
<option value="MASTER">Master</option>
</select>
</label>
</form>
</div>
<div class="small-12 column">
<label> Search
<input type="text" placeholder="Start typing to search for a course..." id="searchQuery">
</label>
</div>
</div>
</div>
<ul id="choice-accordion" class="accordion choice-accordion" data-accordion data-allow-all-closed="true">
<li class="accordion-item"><a href="#" class="accordion-title clearfix">Loading courses...</a></li>
</ul>
</div>
</div>
</main>
<?php
get_footer();