##// END OF EJS Templates
make graph view work with paper style
Matt Mackall -
r6692:683428d1 default
parent child Browse files
Show More
@@ -90,9 +90,9 b' def bisect(changelog, state):'
90 break
90 break
91
91
92 if y < perfect: # all downhill from here?
92 if y < perfect: # all downhill from here?
93 for c in children.get(rev, []):
93 for c in children.get(rev, []):
94 poison[c] = True # poison children
94 poison[c] = True # poison children
95 continue
95 continue
96
96
97 for c in children.get(rev, []):
97 for c in children.get(rev, []):
98 if ancestors[c]:
98 if ancestors[c]:
@@ -8,6 +8,7 b' search = ../coal/search.tmpl'
8 changelog = ../coal/shortlog.tmpl
8 changelog = ../coal/shortlog.tmpl
9 shortlog = ../coal/shortlog.tmpl
9 shortlog = ../coal/shortlog.tmpl
10 shortlogentry = ../coal/shortlogentry.tmpl
10 shortlogentry = ../coal/shortlogentry.tmpl
11 graph = ../coal/graph.tmpl
11
12
12 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
13 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
@@ -150,3 +150,44 b' div.description {'
150 margin: 1em 0 1em 0;
150 margin: 1em 0 1em 0;
151 padding: .3em;
151 padding: .3em;
152 }
152 }
153
154 div#wrapper {
155 position: relative;
156 border-top: 1px solid black;
157 border-bottom: 1px solid black;
158 margin: 0;
159 padding: 0;
160 }
161
162 canvas {
163 position: absolute;
164 z-index: 5;
165 top: -0.7em;
166 margin: 0;
167 }
168
169 ul#graphnodes {
170 position: absolute;
171 z-index: 10;
172 top: -1.0em;
173 list-style: none inside none;
174 padding: 0;
175 }
176
177 ul#nodebgs {
178 list-style: none inside none;
179 padding: 0;
180 margin: 0;
181 top: -0.7em;
182 }
183
184 ul#graphnodes li, ul#nodebgs li {
185 height: 39px;
186 }
187
188 ul#graphnodes li .info {
189 display: block;
190 font-size: 70%;
191 position: relative;
192 top: -3px;
193 }
General Comments 0
You need to be logged in to leave comments. Login now