-
Notifications
You must be signed in to change notification settings - Fork 11
/
page.html
103 lines (95 loc) · 4.28 KB
/
page.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
<!DOCTYPE html>
<!--[if lt IE 8 ]><html class="no-js ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="no-js ie ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]><html class="no-js ie ie9" lang="en"> <![endif]-->
<!--[if (gte IE 8)|!(IE)]><!--><html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" charset="utf-8" />
<title>{{ hx(page["title"]) }} - Android Vulnerabilities</title>
<meta name="description" content="{{ hx(page.get("description", "Root vulnerabilities affecting Android")) }}" />
<meta name="keywords" content="{{ hx(page.get("keywords", "root,vulerability,android,exploit,CVE")) }}" />
<!-- Mobile Specific Metas-->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS -->
<link rel="stylesheet" href="css/default.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/media-queries.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/prettyPhoto.css">
<!-- Script -->
<script src="js/modernizr.js"></script>
<!-- Favicons -->
<link rel="shortcut icon" href="images/favicon.png" >
</head>
<body>
<header>
<div class="logo">
<a class="smoothscroll" href="/#hero"><img alt="AndroidVulnerabilities.org" src="images/logo.png"></a>
</div>
<nav id="nav-wrap">
<a class="mobile-btn" href="#nav-wrap" title="Show navigation">Show Menu</a>
<a class="mobile-btn" href="#" title="Hide navigation">Hide Menu</a>
<ul id="nav" class="nav">
<!--%
if page["title"] == "Home":
print('''<li><a class="smoothscroll" href="#scores">Scores</a></li>
<li><a class="smoothscroll" href="#stats">Stats</a></li>
<li><a class="smoothscroll" href="#da">Help us</a></li>
<li><a class="smoothscroll" href="#vulnerabilities">Vulnerabilities</a></li>
<li><a class="smoothscroll" href="#vulnerabilities">Papers</a></li>
<li><a class="smoothscroll" href="#contact">Contact</a></li>
''')
mpages = [p for p in pages if "menu-position" in p]
mpages.sort(key=lambda p: int(p["menu-position"]))
entry = '<li class="%s"><a href="%s">%s</a></li>'
for p in mpages:
style = "currentpage" if p["title"] == page["title"] else ""
if not (p["title"] == "Home" and page["title"] == "Home"):
print(entry % (style, p["url"], hx(p["title"])))
%-->
</ul>
</nav>
</header>
<section id="hero" >
<div class="hero-text">
<hgroup>
<h1 class="responsive-headline"><a href="/" style="color:#fff;">AndroidVulnerabilities.org</a></h1>
</hgroup>
</div>
</section>
<section class="textured" id="{{ hx(page["first-section-id"]) if 'first-section-id' in page else '' }}">
<div class="row">{{ __content__ }}</div>
</section>
<footer>
<div class="row">
<div class="footer-logo columns two">
<a class="smoothscroll" href="/#hero"><img alt="AndroidVulnerabilities.org" src="images/logo.png"></a>
</div>
<div class="columns six">
<p class="copyright">
<a href="terms">Terms and conditions</a>
·
<a href="/#contact">Contact</a>
·
<a href="https://github.com/ucam-cl-dtg/android-vulnerabilities">Source code</a></p>
</div>
<div class="columns four">
<a href="http://www.cam.ac.uk/"><img src="images/footer-logo-white.png" alt="University of Cambridge" /></a>
</div>
<div id="go-top">
<a class="smoothscroll" title="Back to Top" href="#hero"><i class="icon-up-open"></i></a>
</div>
</div> <!-- Row End -->
</footer>
<!-- Java Script -->
<script src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery-migrate-1.2.1.min.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/waypoints.js"></script>
<script src="js/jquery.fittext.js"></script>
<script src="js/jquery.fitvids.js"></script>
<script src="js/imagelightbox.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/main.js"></script>
</body>
</html>