index.html 12.6 KB
Newer Older
Porter Libby's avatar
Porter Libby committed
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<html class="no-js" lang="">
    <head>
        <title>EPIC Journey</title>

        <!-- META INFO -->
        <meta charset="utf-8">
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- CDN STYLES-->
Porter Libby's avatar
Porter Libby committed
12
13
14
15
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" >
        <link rel="stylesheet" href="https://mottie.github.io/Keyboard/css/keyboard.css">
        <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css">
Porter Libby's avatar
Porter Libby committed
16
            
Porter Libby's avatar
Porter Libby committed
17
        <!-- CDN SCRIPTS -->
Porter Libby's avatar
Porter Libby committed
18
19
20
        <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
Porter Libby's avatar
Porter Libby committed
21
22
23
        <script src="https://mottie.github.io/Keyboard/js/jquery.keyboard.js"></script>
        <script src="https://mottie.github.io/Keyboard/js/jquery.mousewheel.js"></script>
        <script src="https://mottie.github.io/Keyboard/js/jquery.keyboard.extension-typing.js"></script>
Porter Libby's avatar
Porter Libby committed
24
        
Porter Libby's avatar
Porter Libby committed
25
        <!-- LOCAL CSS -->
Porter Libby's avatar
Porter Libby committed
26
        <link rel="apple-touch-icon" href="icon.png">
Porter Libby's avatar
Porter Libby committed
27
        <link rel="stylesheet" href="publiic/css/fonts.css">
Porter Libby's avatar
Porter Libby committed
28
        <link rel="stylesheet" href="public/css/keyb.css">
29
        <link rel="stylesheet" href="public/css/input.css">
Porter Libby's avatar
Porter Libby committed
30
        <link rel="stylesheet" href="public/css/modal.css">
Porter Libby's avatar
Porter Libby committed
31
        <link rel="stylesheet" href="public/css/main.css">
Porter Libby's avatar
Porter Libby committed
32
33
34
35

        <!-- LOCAL DATA -->
        <script src="public/data/data.js"></script>

Porter Libby's avatar
Porter Libby committed
36
        <!-- LOCAL JS -->
Porter Libby's avatar
Porter Libby committed
37
        <script src="public/js/index.js"></script>
Porter Libby's avatar
Porter Libby committed
38
        <script src="public/js/populate.js"></script>
Porter Libby's avatar
Porter Libby committed
39
        <script src="public/js/searchBar.js"></script>
Porter Libby's avatar
Porter Libby committed
40
        <script src="public/js/modal.js"></script>
Porter Libby's avatar
Porter Libby committed
41
42
43
44

    </head>

    <body>
Porter Libby's avatar
Porter Libby committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
        <!-- The Modal -->
        <div id="myModal" class="modal">

            <!-- Modal content -->
            <div class="modal-content">
                <span id='close_btn' class="close">&times;</span>
                <p id='modal_text'>Some text in the Modal..</p>

                <iframe id='modal-video' allow_embedding=true width="560" height="315" src="https://www.youtube.com/embed/vjsbZiBVFRM" 
                frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; 
                picture-in-picture" allowfullscreen></iframe>

            </div>
            
        </div>

Porter Libby's avatar
Porter Libby committed
61
        <!-- NAV BAR -->
62
        <nav class="navbar navbar-expand-lg navbar-dark navbar-ec justify-content-betweenu">
63
            <a class="navbar-brand" href="https://earlham.edu/">
Porter Libby's avatar
Porter Libby committed
64
65
                <img height='35px' src='public/img/ec-logo.png'>
            </a>
Porter Libby's avatar
Porter Libby committed
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNavDropdown">
                <ul class="navbar-nav">
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            About
                        </a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                            <a class="dropdown-item" href="#">Action</a>
                            <a class="dropdown-item" href="#">Another action</a>
                            <a class="dropdown-item" href="#">Something else here</a>
                        </div>
                    </li>
Porter Libby's avatar
Porter Libby committed
81

Porter Libby's avatar
Porter Libby committed
82
83
84
85
86
87
88
89
90
91
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Your Journey
                        </a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                            <a class="dropdown-item" href="#">Action</a>
                            <a class="dropdown-item" href="#">Another action</a>
                            <a class="dropdown-item" href="#">Something else here</a>
                        </div>
                    </li>
Porter Libby's avatar
Porter Libby committed
92

Porter Libby's avatar
Porter Libby committed
93
94
95
96
97
98
99
100
101
102
103
104
105
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Resources
                        </a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                            <a class="dropdown-item" href="#">Action</a>
                            <a class="dropdown-item" href="#">Another action</a>
                            <a class="dropdown-item" href="#">Something else here</a>
                        </div>
                    </li>
                </ul>
                <form id='search-bar' class="form-inline">
                    <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
Porter Libby's avatar
Porter Libby committed
106
                    <button style='border:none' class="btn btn-outline-light my-2 my-sm-0" type="submit">Search</button>
Porter Libby's avatar
Porter Libby committed
107
108
109
                </form>
            </div>
        </nav>
Porter Libby's avatar
Porter Libby committed
110

Porter Libby's avatar
Porter Libby committed
111
112
        <!-- MAIN CONTENT AREA (padded scrollable area) -->
        <div id='main-content'>
pelibby16's avatar
pelibby16 committed
113
            <!-- Block 1 -->
Porter Libby's avatar
Porter Libby committed
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
            <div id="create-carousel" class="carousel slide" data-ride="carousel">
                <ol class="carousel-indicators">
                    <li data-target="#create-carousel" data-slide-to="0" class="active"></li>
                    <li data-target="#create-carousel" data-slide-to="1"></li>
                    <li data-target="#create-carousel" data-slide-to="2"></li>
                </ol>
                <div class="carousel-inner"> <!-- slides go here -->
                    <div class="carousel-item active">
                        <img class="d-block w-100" src="public/img/ec-1.jpg" alt="First slide">
                    </div>

                    <div class="carousel-item">
                        <img class="d-block w-100" src="public/img/ec-2.jpg" alt="Second slide">
                    </div>

                    <div class="carousel-item">
                        <img class="d-block w-100" src="public/img/ec-3.jpg" alt="Third slide">
                    </div>
Porter Libby's avatar
Porter Libby committed
132

Porter Libby's avatar
Porter Libby committed
133
                </div>
Porter Libby's avatar
Porter Libby committed
134
135
136
137
138
139
140
141
                <a class="carousel-control-prev" href="#create-carousel" role="button" data-slide="prev">
                    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                    <span class="sr-only">Previous</span>
                </a>
                <a class="carousel-control-next" href="#create-carousel" role="button" data-slide="next">
                    <span class="carousel-control-next-icon" aria-hidden="true"></span>
                    <span class="sr-only">Next</span>
                </a>
Porter Libby's avatar
Porter Libby committed
142
            </div>
Porter Libby's avatar
Porter Libby committed
143

Porter Libby's avatar
Porter Libby committed
144
            <!-- Block 1 -->
Dana Yao's avatar
Dana Yao committed
145
            <div class='block' id="block1">
Porter Libby's avatar
Porter Libby committed
146
                
147
148
149
150
151
                <div style='position:absolute' id='search_parent' >
                    <span class='section-prompt'></br>1. What major are you interested in?</span>
                </div>
                <div style='position:absolute; left:30%; margin-top:200px;font-size:20px;'>
                    <span>Not sure? See <mark><a href='https://earlham.edu/academics/majors-minors/'>full list</a></mark></span>
Porter Libby's avatar
Porter Libby committed
152
                </div>
Porter Libby's avatar
Porter Libby committed
153
                <script>
Porter Libby's avatar
Porter Libby committed
154
                    var parent = document.getElementById('search_parent');
155
                    
Porter Libby's avatar
Porter Libby committed
156
                    create_searchbar(parent,'major_selection');
Porter Libby's avatar
Porter Libby committed
157
158
                    if (('ontouchstart' in document.documentElement)){
                        $("#search_parent #searchbar").keyboard({
Porter Libby's avatar
Porter Libby committed
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
                            usePreview: false,
                            autoAccept: true,
                            autoAcceptOnEsc: true,
                            keyBinding: 'mousedown touchstart',
                            accepted      : function(e, keyboard, el) {
                                var event = new Event('input', {
                                    bubbles: true,
                                    cancelable: true,
                                });

                                el.dispatchEvent(event);
                            },
                            change        : function(e, keyboard, el) {
                                var event = new Event('input', {
                                    bubbles: true,
                                    cancelable: true,
                                });

                                el.dispatchEvent(event);
                            }
                        }); // create virtual keyboard if touchscreen is detected
                    }
                </script>
Porter Libby's avatar
Porter Libby committed
182
                <iframe id='modal-video' allow_embedding=true width="560" height="315" src="https://www.youtube.com/embed/vjsbZiBVFRM" 
Dana Yao's avatar
Dana Yao committed
183
184
                frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; 
                picture-in-picture" allowfullscreen></iframe>
Porter Libby's avatar
Porter Libby committed
185
            </div>
Porter Libby's avatar
Porter Libby committed
186

Porter Libby's avatar
Porter Libby committed
187
            <!-- Block 2 -->
Dana Yao's avatar
Dana Yao committed
188
            <div class='block' id="block2">
Porter Libby's avatar
Porter Libby committed
189
190
                <span class='section-prompt'>2. Pursue a passion project</span>
                <div id='radio-form-container' style='position:absolute;'>
Porter Libby's avatar
Porter Libby committed
191
                    <form class='block-selection' id='radio-form-2'> </form> 
Porter Libby's avatar
Porter Libby committed
192
                </div>
Porter Libby's avatar
Porter Libby committed
193
            </div>
Porter Libby's avatar
Porter Libby committed
194

Porter Libby's avatar
Porter Libby committed
195
            <!-- Block 3 -->
Porter Libby's avatar
Porter Libby committed
196
            
Dana Yao's avatar
Dana Yao committed
197
            <div class='block' id="block3">
Porter Libby's avatar
Porter Libby committed
198
                <span class='section-prompt'>3. Access opportunities</span>
Porter Libby's avatar
Porter Libby committed
199
                <div id='radio-form-container' style='position:absolute;'>
Porter Libby's avatar
Porter Libby committed
200
                    <form class='block-selection' id='radio-form-3'> </form> 
201
                </div>
Porter Libby's avatar
Porter Libby committed
202
            </div>
Porter Libby's avatar
Porter Libby committed
203

Porter Libby's avatar
Porter Libby committed
204
            <!-- Block 4 -->
Dana Yao's avatar
Dana Yao committed
205
            <div class='block' id="block4">
Porter Libby's avatar
Porter Libby committed
206
                <span class='section-prompt'>4. Explore ways forward</span>
Porter Libby's avatar
Porter Libby committed
207
                <div id='radio-form-container' style='position:absolute;'>
Porter Libby's avatar
Porter Libby committed
208
                    <form class='block-selection' id='radio-form-4'> </form> 
209
210
211
212
213
                </div>
            </div>

            <!-- Block 5 -->
            <div class='block' id="block5">
Porter Libby's avatar
Porter Libby committed
214
                <span class='section-prompt'>5. Done!</span>
215
                <br>
Porter Libby's avatar
Porter Libby committed
216
217
                <a href="mailto:no-one@snai1mai1.com?subject=look at this website&body=Hi,I found this website and thought you might like it http://www.geocities.com/wowhtml/">Send Email</a>

218
                <div class='inner-nav'> <!-- Nav options for this block -->
Porter Libby's avatar
Porter Libby committed
219

Dana Yao's avatar
Dana Yao committed
220
                    <button type="button" class="btn btn-labeled btn-dark btn-finish">
221
                        <span class="btn-label"><i class="fa fa-check"></i></span><br> Finish and see results!</button>
Porter Libby's avatar
Porter Libby committed
222
                </div>
Porter Libby's avatar
Porter Libby committed
223
            </div>
Porter Libby's avatar
Porter Libby committed
224
225
226

            <!-- Footer Block -->
            <div class='block' id="footer">
Porter Libby's avatar
Porter Libby committed
227
                <div style='display:inline-block; text-align: center; margin-right: 350px;'>
Porter Libby's avatar
Porter Libby committed
228
229
230
231
                    Earlham College, an independent, residential college, aspires to provide the 
                    highest-quality undergraduate education in the liberal arts and sciences, 
                    shaped by the distinctive perspectives of the Religious Society of Friends (Quakers).
                </div>
Porter Libby's avatar
Porter Libby committed
232
                <div style="display: inline-block; width:350px; text-align: right; position: absolute;right: 10px;">
Porter Libby's avatar
Porter Libby committed
233
234
235
236
237
238
239
                    <a href="#" class="social fa fa-facebook"></a>
                    <a href="#" class="social fa fa-twitter"></a>
                    <a href="#" class="social fa fa-youtube"></a>
                    <a href="#" class="social fa fa-instagram"></a>
                    <a href="#" class="social fa fa-rss"></a>
                </div>
            </div>
Porter Libby's avatar
Porter Libby committed
240
        </div>
Porter Libby's avatar
Porter Libby committed
241
242
    </body>
</html>