-
Notifications
You must be signed in to change notification settings - Fork 34
/
template.html
51 lines (42 loc) · 1.56 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<title>Template | Android-x86</title>
<link rel="stylesheet" type="text/css" href="master.css" title="default">
<link rel="alternate stylesheet" type="text/css" href="dark.css" title="alternate">
<script type="text/javascript" src="styleswitcher.js"></script>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="mobile.png">
</head>
<body>
<div w3-include-html="navbar.html"></div>
<div class="openNav">
<div class="icon"></div>
</div>
<div class="wrapper" >
<section>
<h1 id="top" class="heading">Android-x86</h1>
<h2 class="subheading">Run Android on your PC</h2>
<div class=themebtn>
<button class="button" onclick="setActiveStyleSheet('default'); return false;"><img src="light_theme.png" height="20px" width="20px" title="Toggle Theme"/> </button>
<button class="button" onclick="setActiveStyleSheet('alternate'); return false;" ><img src="dark_theme.png" height="20px" width="20px" title="Toggle Theme"/></button>
</div>
<!--HTML of main page-->
<!--CODE ENDS-->
</section>
<div w3-include-html="footer.html"></div>
</div>
<!--JAVASCRIPT CODE-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script>
includeHTML();
$(".openNav").click(function() {
$("body").toggleClass("navOpen");
$("nav").toggleClass("open");
$(".wrapper").toggleClass("open");
$(".wrapperDark").toggleClass("open");
$(this).toggleClass("open");
});
</script>
</body>
</html>