Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (90 sloc) 3.06 KB
<!DOCTYPE html>
<html>
<head>
<title>Noticias Hacker Api</title>
<link rel="stylesheet" href="css/style.css" type="text/css"/>
<!-- Main src !-->
<script type="text/javascript" src="src/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="src/sammy-latest.min.js"></script>
<script type="text/javascript" src="src/underscore-min.js"></script>
<script type="text/javascript" src="src/jquery.tmpl.min.js"></script>
<!-- persistence src !-->
<script src="src/persistence.js"></script>
<script src="src/persistence.store.sql.js"></script>
<script src="src/persistence.store.websql.js"></script>
<script src="src/persistence.store.memory.js"></script>
<script src="src/persistence.jquery.js"></script>
<!-- app js !-->
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/db.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<div id="wrapper">
<div id="content">
<div id="nav">
<a id="refresh" class="grnBtn">
<label>Refresh</label>
</a>
</div>
<div id="posts"></div>
</div>
<div id="sidebar">
<h1>Noticias Hacker</h1>
<ul id="subjects">
<li id="homeNav">Home</li>
<li id="nuevoNav">Nuevo</li>
<li id="twitterNav">Usuarios de Twitter</li>
<li id="githubNav">Usuarios de Github</li>
</ul>
</div>
<div id="subsidebar">
<div id="tabs"></div>
</div>
<div>
<script id="tabsTemplate" type="text/template">
<a id="tab${id}" href="#/historic/${type}/${id}">${label}</a>
</script>
<script id="panelTemplate" type="text/template">
<div id="${id}" class="panel" style="display:none">
<h2>${title}</h2>
<ul class="posts">
</ul>
</div>
</script>
<script id="userTemplate" type="text/template">
<div>${user}</div>
</script>
<script id="postTemplate" type="text/template">
<li class="post">
{{if delta > 0}}
<span class="delta up">${delta}</span>
{{else delta < 0}}
<span class="delta down">${-delta}</span>
{{else delta == 'new'}}
<span class="delta new"></span>
{{else}}
<span class="delta empty"></span>
{{/if}}
<p class="main-line">
<a class="title" href="${url}">${title}</a> por ${user}</span>
</p>
<p class="sub-line">
<span class="votes">votos ${votes}{{if votes_delta > 0}}<span class="delta-count">(${votes_delta})</span>{{/if}}</span>
<span class="votes">commentarios ${comment_count}{{if comment_delta > 0}}<span class="delta-count">(${comment_delta})</span>{{/if}}</span>
</p>
</li>
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11460584-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>
Something went wrong with that request. Please try again.