##// END OF EJS Templates
hgweb: infinite scroll support for monoblue style
Takumi IINO -
r20255:b1d65cb8 default
parent child Browse files
Show More
@@ -104,4 +104,15 b''
104 | {changenav%navgraph}
104 | {changenav%navgraph}
105 </div>
105 </div>
106
106
107 <script type="text/javascript">
108 ajaxScrollInit(
109 '{url|urlescape}graph/{rev}?revcount=%next%&style={style}',
110 {revcount}+60,
111 function (htmlText, previousVal) \{ return previousVal + 60; },
112 '#wrapper',
113 '<div class="%class%" style="text-align: center;">%text%</div>',
114 'graph'
115 );
116 </script>
117
107 {footer}
118 {footer}
@@ -33,7 +33,7 b''
33
33
34 <h2 class="no-link no-border">shortlog</h2>
34 <h2 class="no-link no-border">shortlog</h2>
35
35
36 <table>
36 <table class="shortlogtable">
37 {entries%shortlogentry}
37 {entries%shortlogentry}
38 </table>
38 </table>
39
39
@@ -41,4 +41,19 b''
41 {changenav%navshort}
41 {changenav%navshort}
42 </div>
42 </div>
43
43
44 <script type="text/javascript">
45 ajaxScrollInit(
46 '{url|urlescape}shortlog/%next%{sessionvars%urlparameter}',
47 '{nextentry%"{node}"}', <!-- NEXTHASH
48 function (htmlText, previousVal) \{
49 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
50 return m ? m[1] : null;
51 },
52 '.shortlogtable > tbody:nth-of-type(1)',
53 '<tr class="%class%">\
54 <td colspan="4" style="text-align: center;">%text%</td>\
55 </tr>'
56 );
57 </script>
58
44 {footer}
59 {footer}
@@ -1,4 +1,4 b''
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
2 <html>
3 <head>
3 <head>
4 <link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png">
4 <link rel="icon" href="{staticurl|urlescape}hgicon.png" type="image/png">
@@ -528,3 +528,27 b' ul#graphnodes li .info {'
528 .breadcrumb a:hover {
528 .breadcrumb a:hover {
529 text-decoration:underline;
529 text-decoration:underline;
530 }
530 }
531
532 .scroll-loading {
533 -webkit-animation: change_color 1s linear 0s infinite alternate;
534 -moz-animation: change_color 1s linear 0s infinite alternate;
535 -o-animation: change_color 1s linear 0s infinite alternate;
536 animation: change_color 1s linear 0s infinite alternate;
537 }
538
539 @-webkit-keyframes change_color {
540 from { background-color: #A0CEFF; } to { }
541 }
542 @-moz-keyframes change_color {
543 from { background-color: #A0CEFF; } to { }
544 }
545 @-o-keyframes change_color {
546 from { background-color: #A0CEFF; } to { }
547 }
548 @keyframes change_color {
549 from { background-color: #A0CEFF; } to { }
550 }
551
552 .scroll-loading-error {
553 background-color: #FFCCCC !important;
554 }
General Comments 0
You need to be logged in to leave comments. Login now