From patchwork Tue Jan 7 15:52:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3,of,5] hgweb: infinite scroll support for gitweb style From: Takumi IINO X-Patchwork-Id: 3268 Message-Id: To: mercurial-devel@selenic.com Date: Wed, 08 Jan 2014 00:52:16 +0900 # HG changeset patch # User Takumi IINO # Date 1389109663 -32400 # Wed Jan 08 00:47:43 2014 +0900 # Node ID fa073629c74ab6ba4d5f7f19f5daa5f2a7120262 # Parent 7a6741c42018ae560f031be991a64fface19f8d2 hgweb: infinite scroll support for gitweb style diff --git a/mercurial/templates/gitweb/graph.tmpl b/mercurial/templates/gitweb/graph.tmpl --- a/mercurial/templates/gitweb/graph.tmpl +++ b/mercurial/templates/gitweb/graph.tmpl @@ -106,6 +106,17 @@ graph.render(data); less more | {changenav%navgraph} + + {footer} diff --git a/mercurial/templates/gitweb/shortlog.tmpl b/mercurial/templates/gitweb/shortlog.tmpl --- a/mercurial/templates/gitweb/shortlog.tmpl +++ b/mercurial/templates/gitweb/shortlog.tmpl @@ -30,14 +30,29 @@ shortlog | help
{changenav%navshort}
 
- +
{entries%shortlogentry}
+ + {footer} diff --git a/mercurial/templates/static/style-gitweb.css b/mercurial/templates/static/style-gitweb.css --- a/mercurial/templates/static/style-gitweb.css +++ b/mercurial/templates/static/style-gitweb.css @@ -165,5 +165,29 @@ ul#graphnodes li .info { } .block { border-top: 1px solid #d9d8d1; } + +.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; +}