blob: 7a06684279891ed81eb73ef89dc2d07287771604 (
plain) (
blame)
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
|
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>jitterbug</title>
<link rel="stylesheet" href="/css/style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<meta charset="UTF-8" />
<script type="text/javascript">
$(document).ready(function() {
$('.builds-day').click(function() {
var day = $(this).text();
var class = "#commits-day-" + day;
console.log("on toggle " + class);
$(class).toggle();
});
$('.builds a').click(function() {
var url = $(this).attr("href");
var id = $(this).parents('.commit').attr('id');
$.getJSON(url, null, function(data) {
$("#result-" + id).html("<pre>" + data.content + "<pre>").toggle();
});
return false;
})})
</script>
</head>
<body>
<: $content :>
<footer>
Powered by <a href="http://perldancer.org/">Dancer</a> 1.1810
</footer>
</body>
</html>
|