Mercurial > hg
comparison mercurial/templates/gitweb/graph.tmpl @ 20254:3896debf0a11
hgweb: infinite scroll support for gitweb style
author | Takumi IINO <trot.thunder@gmail.com> |
---|---|
date | Wed, 08 Jan 2014 00:47:43 +0900 |
parents | 9409aeaafdc1 |
children | dd89304687a3 |
comparison
equal
deleted
inserted
replaced
20253:43cfad930d38 | 20254:3896debf0a11 |
---|---|
106 <a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> | 106 <a href="{url|urlescape}graph/{rev}{lessvars%urlparameter}">less</a> |
107 <a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> | 107 <a href="{url|urlescape}graph/{rev}{morevars%urlparameter}">more</a> |
108 | {changenav%navgraph} | 108 | {changenav%navgraph} |
109 </div> | 109 </div> |
110 | 110 |
111 <script type="text/javascript"> | |
112 ajaxScrollInit( | |
113 '{url|urlescape}graph/{rev}?revcount=%next%&style={style}', | |
114 {revcount}+60, | |
115 function (htmlText, previousVal) \{ return previousVal + 60; }, | |
116 '#wrapper', | |
117 '<div class="%class%" style="text-align: center;">%text%</div>', | |
118 'graph' | |
119 ); | |
120 </script> | |
121 | |
111 {footer} | 122 {footer} |