forked from cheeaun/hackerweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (84 loc) · 3.09 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
<!DOCTYPE html>
<html manifest="manifest.appcache">
<head>
<meta charset="utf-8">
<title>Hacker News</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="hn.css">
<link rel="shortcut icon" href="icons/favicon.png">
<link rel="apple-touch-icon-precomposed" href="icons/touch-icon.png">
<script>
if (location.hostname == 'cheeaun.github.com'){
var _gaq = [['_setAccount', 'UA-23235796-3'], ['_trackPageview']];
(function(d, t){
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.src = ('https:' == d.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
var Muscula = {
settings: {
logId: 'NDkd1WB-dkALH'
}
};
(function(d, t){
var m = d.createElement(t), s = d.getElementsByTagName(t)[0];
m.src = (d.location.protocol == 'https:' ? 'https:' : 'http:') + '//musculahq.appspot.com/Muscula.js';
s.parentNode.insertBefore(m, s);
Muscula.run = function(s){ eval(s); Muscula.run = function(){}; };
})(document, 'script');
}
</script>
</head>
<body>
<div id="apploader"></div>
<header class="fake"></header>
<div class="view hidden" id="view-home">
<header>
<a href="#/about" class="header-button header-button-left"><button>About</button></a>
<h1 style="padding: 0 65px;">Hacker News</h1>
<a class="header-button header-button-icon header-button-right" id="view-home-refresh"><button><img src="images/refresh-icon.png" alt="Refresh" width="14" height="18"></button></a>
</header>
<div class="scroll">
<section>
<ul class="tableview tableview-links" id="hnlist">
</ul>
</section>
<div class="loader">Loading…</div>
</div>
</div>
<div class="view hidden" id="view-comments">
<header>
<a href="#/" class="header-button header-button-left header-back-button"><button>News</button></a>
<h1 style="padding: 0 65px;"></h1>
</header>
<div class="scroll striped">
<section>
</section>
<div class="loader">Loading…</div>
</div>
</div>
<div class="view hidden" id="view-about">
<header>
<a href="#/" class="header-button header-button-left"><button>Close</button></a>
<h1>About</h1>
</header>
<div class="scroll striped">
<section>
<div class="grouped-tableview cf">
<span id="y-touch-icon"></span>
<p>The Hacker News mobile web app, primarily optimized for iOS 5. Feel free to fork the project or send me feedback.</p>
</div>
<ul class="grouped-tableview grouped-tableview-links">
<li><a href="http://news.ycombinator.com/" target="_blank" class="disclosure">Hacker News official site</a></li>
<li><a href="https://github.com/cheeaun/hnmobile" target="_blank" class="disclosure">GitHub Project</a></li>
<li><a href="https://twitter.com/cheeaun" target="_blank" class="disclosure">@cheeaun</a></li>
</ul>
<p class="foot-label">Built by Lim Chee Aun.<br>Not affiliated with Hacker News or YCombinator.</p>
</section>
</div>
</div>
<script src="scripts.js"></script>
<script src="templates.js"></script>
<script src="hn.js"></script>
</body>
</html>