--- a/mercurial/templates/monoblue/graph.tmpl Wed Jan 08 00:47:43 2014 +0900
+++ b/mercurial/templates/monoblue/graph.tmpl Wed Jan 08 00:47:44 2014 +0900
@@ -104,4 +104,15 @@
| {changenav%navgraph}
</div>
+ <script type="text/javascript">
+ ajaxScrollInit(
+ '{url|urlescape}graph/{rev}?revcount=%next%&style={style}',
+ {revcount}+60,
+ function (htmlText, previousVal) \{ return previousVal + 60; },
+ '#wrapper',
+ '<div class="%class%" style="text-align: center;">%text%</div>',
+ 'graph'
+ );
+ </script>
+
{footer}
--- a/mercurial/templates/monoblue/shortlog.tmpl Wed Jan 08 00:47:43 2014 +0900
+++ b/mercurial/templates/monoblue/shortlog.tmpl Wed Jan 08 00:47:44 2014 +0900
@@ -33,7 +33,7 @@
<h2 class="no-link no-border">shortlog</h2>
- <table>
+ <table class="shortlogtable">
{entries%shortlogentry}
</table>
@@ -41,4 +41,19 @@
{changenav%navshort}
</div>
+ <script type="text/javascript">
+ ajaxScrollInit(
+ '{url|urlescape}shortlog/%next%{sessionvars%urlparameter}',
+ '{nextentry%"{node}"}', <!-- NEXTHASH
+ function (htmlText, previousVal) \{
+ var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
+ return m ? m[1] : null;
+ },
+ '.shortlogtable > tbody:nth-of-type(1)',
+ '<tr class="%class%">\
+ <td colspan="4" style="text-align: center;">%text%</td>\
+ </tr>'
+ );
+ </script>
+
{footer}
--- a/mercurial/templates/spartan/header.tmpl Wed Jan 08 00:47:43 2014 +0900
+++ b/mercurial/templates/spartan/header.tmpl Wed Jan 08 00:47:44 2014 +0900
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png">
--- a/mercurial/templates/static/style-monoblue.css Wed Jan 08 00:47:43 2014 +0900
+++ b/mercurial/templates/static/style-monoblue.css Wed Jan 08 00:47:44 2014 +0900
@@ -528,3 +528,27 @@
.breadcrumb a:hover {
text-decoration:underline;
}
+
+.scroll-loading {
+ -webkit-animation: change_color 1s linear 0s infinite alternate;
+ -moz-animation: change_color 1s linear 0s infinite alternate;
+ -o-animation: change_color 1s linear 0s infinite alternate;
+ animation: change_color 1s linear 0s infinite alternate;
+}
+
+@-webkit-keyframes change_color {
+ from { background-color: #A0CEFF; } to { }
+}
+@-moz-keyframes change_color {
+ from { background-color: #A0CEFF; } to { }
+}
+@-o-keyframes change_color {
+ from { background-color: #A0CEFF; } to { }
+}
+@keyframes change_color {
+ from { background-color: #A0CEFF; } to { }
+}
+
+.scroll-loading-error {
+ background-color: #FFCCCC !important;
+}