Mercurial > kallithea
changeset 289:1dbe02063123
graph fixes.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 23 Jun 2010 00:31:00 +0200 |
parents | ab1afe7444f3 |
children | 702c7e565c56 |
files | pylons_app/public/js/graph.js pylons_app/templates/base/base.html pylons_app/templates/changelog/changelog.html |
diffstat | 3 files changed, 11 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/public/js/graph.js Wed Jun 23 00:18:10 2010 +0200 +++ b/pylons_app/public/js/graph.js Wed Jun 23 00:31:00 2010 +0200 @@ -105,7 +105,8 @@ this.ctx.beginPath(); this.ctx.moveTo(x, y); - y += row.clientHeight; + //i don't know why it's +1 just fixes some drawing graph. + y += row.clientHeight+1; x = pad-((1 + this.box_size * end) + this.bg_height-2); this.ctx.lineTo(x,y+extra); this.ctx.stroke();
--- a/pylons_app/templates/base/base.html Wed Jun 23 00:18:10 2010 +0200 +++ b/pylons_app/templates/base/base.html Wed Jun 23 00:31:00 2010 +0200 @@ -28,7 +28,7 @@ </div> <div id="main"> ${next.main()} - <script>${h.tooltip.activate()}</script> + <script type="text/javascript">${h.tooltip.activate()}</script> </div> <div class="page-footer"> Hg App ${c.hg_app_version} © 2010 by Marcin Kuzminski
--- a/pylons_app/templates/changelog/changelog.html Wed Jun 23 00:18:10 2010 +0200 +++ b/pylons_app/templates/changelog/changelog.html Wed Jun 23 00:31:00 2010 +0200 @@ -30,8 +30,12 @@ <div id="graph_content"> <div class="container_header"> ${h.form(h.url.current(),method='get')} - ${_('Show')}: ${h.text('size',size=2,value=c.size)} ${_('revisions')} - ${h.submit('','set')} + <div> + <span>${_('Show')}: </span> + <span>${h.text('size',size=2,value=c.size)}</span> + <span>${_('revisions')}</span> + ${h.submit('set',_('set'))} + </div> ${h.end_form()} </div> %for cnt,cs in enumerate(c.pagination): @@ -39,7 +43,7 @@ <div class="left"> <div class="date">${_('commit')} ${cs.revision}: ${cs.raw_id}@${cs.date}</div> <div class="author">${cs.author}</div> - <div id="chg_${cnt}" class="message"> + <div class="message"> ${h.link_to(h.wrap_paragraphs(cs.message), h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} </div> @@ -58,7 +62,7 @@ </div> %if len(cs.parents)>1: <div class="merge"> - ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"> + ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/> </div> %endif %for p_cs in reversed(cs.parents):