-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·98 lines (98 loc) · 3.17 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title></title>
<script src="js/mui.min.js"></script>
<link href="css/mui.min.css" rel="stylesheet"/>
<script type="text/javascript" charset="utf-8">
mui.init({
preloadPages: [{
url: 'basic.html',
id: 'basic'
},{
url: 'history.html',
id: 'history'
},{
url: 'function.html',
id: 'function'
}]
});
</script>
<style type="text/css">
.subtitle{
color: #000000;
}
img{
border-radius: 48px;
box-shadow: #666 0px 0px 10px;
}
.menu-content{
height:33%;
}
.menu-content ul{
padding-left: 0px;
list-style:none;
}
.menu-content li{
width: 50%;
height:33%;
float: left;
}
</style>
</head>
<body style="height: 100%;">
<header class="mui-bar mui-bar-nav" style="height:74px;background-color: rgb(61,171,201);">
<h1 class="mui-title" style="color: #FFFFFF;margin-top: 30px;">Cryptology</h1>
</header>
<div class="mui-content">
<div class="menu-content">
<img src="img/basic.png" id="basic_img" style="margin-left:calc(50% - 48px);margin-top:13%;"/>
<p class="subtitle" style="text-align: center;">Basic Concept</p>
</div>
<div class="menu-content">
<ul>
<li>
<img src="img/history.png" id="history_img" style="margin-left:calc(50% - 48px);margin-top:8%;"/>
<p class="subtitle" style="text-align: center;">History</p>
</li>
<li>
<img src="img/function.png" id="function_img" style="margin-left:calc(50% - 48px);margin-top:8%;"/>
<p class="subtitle" style="text-align: center;">Common Method</p>
</li>
</ul>
</div>
<div class="menu-content">
<ul>
<li>
<img src="img/Quiz.png" id="quiz_img" style="margin-left:calc(50% - 48px);margin-top:15%;"/>
<p class="subtitle" style="text-align: center;">Quiz</p>
</li>
<li>
<img src="img/game.png" id="game_img" style="margin-left:calc(50% - 48px);margin-top:15%;"/>
<p class="subtitle" style="text-align: center;">Game</p>
</li>
</ul>
</div>
<div style="font-size:13px;color: #707070;text-align: center;">* Some of the in-app texts are referenced from wikipedia and learnCryptography</div>
</div>
</body>
<script>
document.getElementById('basic_img').addEventListener('click',function(event){
window.location.href = 'basic.html';
},false);
document.getElementById('history_img').addEventListener('click',function(event){
window.location.href = 'history.html';
},false);
document.getElementById('function_img').addEventListener('click',function(event){
window.location.href = 'new_file.html';
},false);
document.getElementById('quiz_img').addEventListener('click',function(event){
window.location.href = 'quiz.html';
},false);
document.getElementById('game_img').addEventListener('click',function(event){
window.location.href = 'game.html';
},false);
</script>
</html>