Changeset - 1dbe02063123
[Not reviewed]
default
0 3 0
Marcin Kuzminski - 15 years ago 2010-06-23 00:31:00
marcin@python-works.com
graph fixes.
3 files changed with 11 insertions and 6 deletions:
0 comments (0 inline, 0 general)
pylons_app/public/js/graph.js
Show inline comments
 
@@ -105,7 +105,8 @@ function BranchRenderer() {
 
				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();
pylons_app/templates/base/base.html
Show inline comments
 
@@ -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} &copy; 2010 by Marcin Kuzminski
pylons_app/templates/changelog/changelog.html
Show inline comments
 
@@ -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):
0 comments (0 inline, 0 general)