-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWelcomePage.html
140 lines (97 loc) · 2.3 KB
/
WelcomePage.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
<!--
This is the Welcome Page.
-->
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SLACK TRACK</title>
<!-- <link rel="stylesheet" type="text/css" href="./CSS/Welcome.css"> -->
<style>
.topleft {
position: absolute;
top: 8px;
left: 16px;
}
select {
/* margin: 50px; */
width: 150px;
padding: 5px 5px 5px 5px;
font-size: 16px;
border: 1px solid white;
font-family:Trebuchet MS;
height: 34px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: url("./image/arrow.png") 96% / 5.5% no-repeat white;
}
p {
border: 0px solid rgb(137, 33, 240);
border-radius: 6px;
background-color: rgb(83, 96, 102);
width: 50%;
padding: 5px;
}
</style>
</head>
<body background="image/WelcomePage.jpg"
style=" background-repeat:no-repeat ;
background-size:100% 100%;
background-attachment: fixed;"
>
<div class = "topleft">
<img width= 50% src="image/LOGO.svg" alt="LOGO">
</div>
<br>
<br>
<br>
<div align="center">
<p align="center" style="font-family:Trebuchet MS;
color:white; font-size:80px"> SLACK TRACK </p>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div align = "center" >
<select id= "myMajor" style= "width:20%;" >
<option value='NNN' disabled selected>Select your major</option>
<option value='CIS'>CIS</option>
<option value='Journalism'>Journalism</option>
<option value='Philosophy'>Philosophy</option>
<option value='Theater'>Theater</option>
</select>
</div>
<br>
<div align="center">
<input class="SubmitButton"
type="button"
value="Start!"
style="border-radius: 5px;
border: None;
font-family:Trebuchet MS;
height:35px;width:20%;
font-size:23px;
color: rgb(255, 255, 255);
background: rgb(83, 96, 102)"
onclick="showPage()"
style="font-size:20px; "/>
</div>
<script>
function showPage() {
var select = document.getElementById('myMajor');
var major_option = select.options[select.selectedIndex].value;
if (major_option != 'NNN'){
window.open("./HTML/"+major_option + ".php");
}
}
</script>
</body>
</html>