##// END OF EJS Templates
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard -
r7408:f031a12d default
parent child Browse files
Show More
@@ -1,113 +1,131
1 {header}
1 {header}
2 <title>{repo|escape}: revision graph</title>
2 <title>{repo|escape}: revision graph</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-log" title="Atom feed for {repo|escape}: log">
4 href="{url}atom-log" title="Atom feed for {repo|escape}: log">
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-log" title="RSS feed for {repo|escape}: log">
6 href="{url}rss-log" title="RSS feed for {repo|escape}: log">
7 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
7 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
8 </head>
8 </head>
9 <body>
9 <body>
10
10
11 <div class="container">
11 <div class="container">
12 <div class="menu">
12 <div class="menu">
13 <div class="logo">
13 <div class="logo">
14 <a href="http://www.selenic.com/mercurial/">
14 <a href="http://www.selenic.com/mercurial/">
15 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
15 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
16 </div>
16 </div>
17 <ul>
17 <ul>
18 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
19 <li class="active">graph</li>
19 <li class="active">graph</li>
20 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
21 </ul>
21 </ul>
22 <ul>
22 <ul>
23 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
23 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
24 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
24 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
25 </ul>
25 </ul>
26 </div>
26 </div>
27
27
28 <div class="main">
28 <div class="main">
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
30 <h3>graph</h3>
30 <h3>graph</h3>
31
31
32 <form class="search" action="{url}log">
32 <form class="search" action="{url}log">
33 {sessionvars%hiddenformentry}
33 {sessionvars%hiddenformentry}
34 <p><input name="rev" id="search1" type="text" size="30"></p>
34 <p><input name="rev" id="search1" type="text" size="30"></p>
35 <span>find changesets by author, revision,
35 <span>find changesets by author, revision,
36 files, or words in the commit message</span>
36 files, or words in the commit message</span>
37 </form>
37 </form>
38
38
39 <div class="navigate">
39 <div class="navigate">
40 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
40 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
41 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
41 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
42 | rev {rev}: {changenav%navgraphentry}
42 | rev {rev}: {changenav%navgraphentry}
43 </div>
43 </div>
44
44
45 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
45 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
46
46
47 <div id="wrapper">
47 <div id="wrapper">
48 <ul id="nodebgs"></ul>
48 <ul id="nodebgs"></ul>
49 <canvas id="graph" width="224" height="{canvasheight}"></canvas>
49 <canvas id="graph" width="224" height="{canvasheight}"></canvas>
50 <ul id="graphnodes"></ul>
50 <ul id="graphnodes"></ul>
51 </div>
51 </div>
52
52
53 <script type="text/javascript" src="{staticurl}graph.js"></script>
53 <script type="text/javascript" src="{staticurl}graph.js"></script>
54 <script type="text/javascript">
54 <script type="text/javascript">
55 <!-- hide script content
55 <!-- hide script content
56
56
57 var data = {jsdata|json};
57 var data = {jsdata|json};
58 var graph = new Graph();
58 var graph = new Graph();
59 graph.scale({bg_height});
59 graph.scale({bg_height});
60
60
61 graph.edge = function(x0, y0, x1, y1, color) {
61 graph.edge = function(x0, y0, x1, y1, color) {
62
62
63 this.setColor(color, 0.0, 0.65);
63 this.setColor(color, 0.0, 0.65);
64 this.ctx.beginPath();
64 this.ctx.beginPath();
65 this.ctx.moveTo(x0, y0);
65 this.ctx.moveTo(x0, y0);
66 this.ctx.lineTo(x1, y1);
66 this.ctx.lineTo(x1, y1);
67 this.ctx.stroke();
67 this.ctx.stroke();
68
68
69 }
69 }
70
70
71 var revlink = '<li style="_STYLE"><span class="desc">';
71 var revlink = '<li style="_STYLE"><span class="desc">';
72 revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
72 revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
73 revlink += '</span><span class="tag">_TAGS</span>';
73 revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
74 revlink += '<span class="info">_DATE ago, by _USER</span></li>';
75
74
76 graph.vertex = function(x, y, color, parity, cur) {
75 graph.vertex = function(x, y, color, parity, cur) {
77
76
78 this.ctx.beginPath();
77 this.ctx.beginPath();
79 color = this.setColor(color, 0.25, 0.75);
78 color = this.setColor(color, 0.25, 0.75);
80 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
79 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
81 this.ctx.fill();
80 this.ctx.fill();
82
81
83 var bg = '<li class="bg parity' + parity + '"></li>';
82 var bg = '<li class="bg parity' + parity + '"></li>';
84 var left = (this.columns + 1) * this.bg_height;
83 var left = (this.columns + 1) * this.bg_height;
85 var nstyle = 'padding-left: ' + left + 'px;';
84 var nstyle = 'padding-left: ' + left + 'px;';
86 var item = revlink.replace(/_STYLE/, nstyle);
85 var item = revlink.replace(/_STYLE/, nstyle);
87 item = item.replace(/_PARITY/, 'parity' + parity);
86 item = item.replace(/_PARITY/, 'parity' + parity);
88 item = item.replace(/_NODEID/, cur[0]);
87 item = item.replace(/_NODEID/, cur[0]);
89 item = item.replace(/_NODEID/, cur[0]);
88 item = item.replace(/_NODEID/, cur[0]);
90 item = item.replace(/_DESC/, cur[3]);
89 item = item.replace(/_DESC/, cur[3]);
91 item = item.replace(/_USER/, cur[4]);
90 item = item.replace(/_USER/, cur[4]);
92 item = item.replace(/_DATE/, cur[5]);
91 item = item.replace(/_DATE/, cur[5]);
93 item = item.replace(/_TAGS/, cur[7].join('&nbsp; '));
94
92
93 var tagspan = '';
94 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
95 tagspan = '<span class="logtags">';
96 if (cur[6][1]) {
97 tagspan += '<span class="branchhead" title="' + cur[6][0] + '">';
98 tagspan += cur[6][0] + '</span> ';
99 } else if (!cur[6][1] && cur[6][0] != 'default') {
100 tagspan += '<span class="branchname" title="' + cur[6][0] + '">';
101 tagspan += cur[6][0] + '</span> ';
102 }
103 if (cur[7].length) {
104 for (var t in cur[7]) {
105 var tag = cur[7][t];
106 tagspan += '<span class="tag">' + tag + '</span> ';
107 }
108 }
109 tagspan += '</span>';
110 }
111
112 item = item.replace(/_TAGS/, tagspan);
95 return [bg, item];
113 return [bg, item];
96
114
97 }
115 }
98
116
99 graph.render(data);
117 graph.render(data);
100
118
101 // stop hiding script -->
119 // stop hiding script -->
102 </script>
120 </script>
103
121
104 <div class="navigate">
122 <div class="navigate">
105 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
123 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
106 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
124 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
107 | rev {rev}: {changenav%navgraphentry}
125 | rev {rev}: {changenav%navgraphentry}
108 </div>
126 </div>
109
127
110 </div>
128 </div>
111 </div>
129 </div>
112
130
113 {footer}
131 {footer}
@@ -1,95 +1,115
1 #header#
1 #header#
2 <title>#repo|escape#: graph</title>
2 <title>#repo|escape#: graph</title>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/>
5 <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]-->
5 <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]-->
6 </head>
6 </head>
7
7
8 <body>
8 <body>
9 <div id="container">
9 <div id="container">
10 <div class="page-header">
10 <div class="page-header">
11 <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / graph</h1>
11 <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / graph</h1>
12
12
13 <form action="{url}log">
13 <form action="{url}log">
14 {sessionvars%hiddenformentry}
14 {sessionvars%hiddenformentry}
15 <dl class="search">
15 <dl class="search">
16 <dt><label>Search: </label></dt>
16 <dt><label>Search: </label></dt>
17 <dd><input type="text" name="rev" /></dd>
17 <dd><input type="text" name="rev" /></dd>
18 </dl>
18 </dl>
19 </form>
19 </form>
20
20
21 <ul class="page-nav">
21 <ul class="page-nav">
22 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li>
22 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li>
23 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
23 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
24 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
24 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
25 <li class="current">graph</li>
25 <li class="current">graph</li>
26 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
27 <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li>
28 </ul>
28 </ul>
29 </div>
29 </div>
30
30
31 <h2 class="no-link no-border">graph</h2>
31 <h2 class="no-link no-border">graph</h2>
32
32
33 <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div>
33 <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div>
34 <div id="wrapper">
34 <div id="wrapper">
35 <ul id="nodebgs"></ul>
35 <ul id="nodebgs"></ul>
36 <canvas id="graph" width="224" height="#canvasheight#"></canvas>
36 <canvas id="graph" width="224" height="#canvasheight#"></canvas>
37 <ul id="graphnodes"></ul>
37 <ul id="graphnodes"></ul>
38 </div>
38 </div>
39
39
40 <script type="text/javascript" src="#staticurl#graph.js"></script>
40 <script type="text/javascript" src="#staticurl#graph.js"></script>
41 <script>
41 <script>
42 <!-- hide script content
42 <!-- hide script content
43
43
44 document.getElementById('noscript').style.display = 'none';
44 document.getElementById('noscript').style.display = 'none';
45
45
46 var data = {jsdata|json};
46 var data = {jsdata|json};
47 var graph = new Graph();
47 var graph = new Graph();
48 graph.scale({bg_height});
48 graph.scale({bg_height});
49
49
50 graph.edge = function(x0, y0, x1, y1, color) {
50 graph.edge = function(x0, y0, x1, y1, color) {
51
51
52 this.setColor(color, 0.0, 0.65);
52 this.setColor(color, 0.0, 0.65);
53 this.ctx.beginPath();
53 this.ctx.beginPath();
54 this.ctx.moveTo(x0, y0);
54 this.ctx.moveTo(x0, y0);
55 this.ctx.lineTo(x1, y1);
55 this.ctx.lineTo(x1, y1);
56 this.ctx.stroke();
56 this.ctx.stroke();
57
57
58 }
58 }
59
59
60 var revlink = '<li style="_STYLE"><span class="desc">';
60 var revlink = '<li style="_STYLE"><span class="desc">';
61 revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
61 revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
62 revlink += '</span><span class="info">_DATE ago, by _USER</span></li>';
62 revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
63
63
64 graph.vertex = function(x, y, color, parity, cur) {
64 graph.vertex = function(x, y, color, parity, cur) {
65
65
66 this.ctx.beginPath();
66 this.ctx.beginPath();
67 color = this.setColor(color, 0.25, 0.75);
67 color = this.setColor(color, 0.25, 0.75);
68 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
68 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
69 this.ctx.fill();
69 this.ctx.fill();
70
70
71 var bg = '<li class="bg parity' + parity + '"></li>';
71 var bg = '<li class="bg parity' + parity + '"></li>';
72 var left = (this.columns + 1) * this.bg_height;
72 var left = (this.columns + 1) * this.bg_height;
73 var nstyle = 'padding-left: ' + left + 'px;';
73 var nstyle = 'padding-left: ' + left + 'px;';
74 var item = revlink.replace(/_STYLE/, nstyle);
74 var item = revlink.replace(/_STYLE/, nstyle);
75 item = item.replace(/_PARITY/, 'parity' + parity);
75 item = item.replace(/_PARITY/, 'parity' + parity);
76 item = item.replace(/_NODEID/, cur[0]);
76 item = item.replace(/_NODEID/, cur[0]);
77 item = item.replace(/_NODEID/, cur[0]);
77 item = item.replace(/_NODEID/, cur[0]);
78 item = item.replace(/_DESC/, cur[3]);
78 item = item.replace(/_DESC/, cur[3]);
79 item = item.replace(/_USER/, cur[4]);
79 item = item.replace(/_USER/, cur[4]);
80 item = item.replace(/_DATE/, cur[5]);
80 item = item.replace(/_DATE/, cur[5]);
81
81
82 var tagspan = '';
83 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
84 tagspan = '<span class="logtags">';
85 if (cur[6][1]) {
86 tagspan += '<span class="branchtag" title="' + cur[6][0] + '">';
87 tagspan += cur[6][0] + '</span> ';
88 } else if (!cur[6][1] && cur[6][0] != 'default') {
89 tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">';
90 tagspan += cur[6][0] + '</span> ';
91 }
92 if (cur[7].length) {
93 for (var t in cur[7]) {
94 var tag = cur[7][t];
95 tagspan += '<span class="tagtag">' + tag + '</span> ';
96 }
97 }
98 tagspan += '</span>';
99 }
100
101 item = item.replace(/_TAGS/, tagspan);
82 return [bg, item];
102 return [bg, item];
83
103
84 }
104 }
85
105
86 graph.render(data);
106 graph.render(data);
87
107
88 // stop hiding script -->
108 // stop hiding script -->
89 </script>
109 </script>
90
110
91 <div class="page-path">
111 <div class="page-path">
92 #changenav%navgraphentry#
112 #changenav%navgraphentry#
93 </div>
113 </div>
94
114
95 #footer#
115 #footer#
@@ -1,249 +1,253
1 body {
1 body {
2 margin: 0;
2 margin: 0;
3 padding: 0;
3 padding: 0;
4 background: black url(background.png) repeat-x;
4 background: black url(background.png) repeat-x;
5 font-family: sans-serif;
5 font-family: sans-serif;
6 }
6 }
7
7
8 .container {
8 .container {
9 padding-right: 150px;
9 padding-right: 150px;
10 }
10 }
11
11
12 .main {
12 .main {
13 position: relative;
13 position: relative;
14 background: white;
14 background: white;
15 padding: 2em;
15 padding: 2em;
16 border-right: 15px solid black;
16 border-right: 15px solid black;
17 border-bottom: 15px solid black;
17 border-bottom: 15px solid black;
18 }
18 }
19
19
20 #.main {
20 #.main {
21 width:98%;
21 width:98%;
22 }
22 }
23
23
24 .overflow {
24 .overflow {
25 width: 100%;
25 width: 100%;
26 overflow: auto;
26 overflow: auto;
27 }
27 }
28
28
29 .menu {
29 .menu {
30 background: #999;
30 background: #999;
31 padding: 10px;
31 padding: 10px;
32 width: 75px;
32 width: 75px;
33 margin: 0;
33 margin: 0;
34 font-size: 80%;
34 font-size: 80%;
35 text-align: left;
35 text-align: left;
36 position: fixed;
36 position: fixed;
37 top: 27px;
37 top: 27px;
38 left: auto;
38 left: auto;
39 right: 27px;
39 right: 27px;
40 }
40 }
41
41
42 #.menu {
42 #.menu {
43 position: absolute !important;
43 position: absolute !important;
44 top:expression(eval(document.body.scrollTop + 27));
44 top:expression(eval(document.body.scrollTop + 27));
45 }
45 }
46
46
47 .menu ul {
47 .menu ul {
48 list-style: none;
48 list-style: none;
49 padding: 0;
49 padding: 0;
50 margin: 10px 0 0 0;
50 margin: 10px 0 0 0;
51 }
51 }
52
52
53 .menu li {
53 .menu li {
54 margin-bottom: 3px;
54 margin-bottom: 3px;
55 padding: 2px 4px;
55 padding: 2px 4px;
56 background: white;
56 background: white;
57 color: black;
57 color: black;
58 font-weight: normal;
58 font-weight: normal;
59 }
59 }
60
60
61 .menu li.active {
61 .menu li.active {
62 background: black;
62 background: black;
63 color: white;
63 color: white;
64 }
64 }
65
65
66 .menu a { color: black; display: block; }
66 .menu a { color: black; display: block; }
67
67
68 .search {
68 .search {
69 position: absolute;
69 position: absolute;
70 top: .7em;
70 top: .7em;
71 right: 2em;
71 right: 2em;
72 }
72 }
73
73
74 form.search span {
74 form.search span {
75 display: none;
75 display: none;
76 position: absolute;
76 position: absolute;
77 top: 40px;
77 top: 40px;
78 right: 0px;
78 right: 0px;
79 width: 190px;
79 width: 190px;
80 padding: 5px;
80 padding: 5px;
81 background: #ffc;
81 background: #ffc;
82 font-size: 70%;
82 font-size: 70%;
83 border: 1px solid yellow;
83 border: 1px solid yellow;
84 -moz-border-radius: 5px; /* this works only in camino/firefox */
84 -moz-border-radius: 5px; /* this works only in camino/firefox */
85 -webkit-border-radius: 5px; /* this is just for Safari */
85 -webkit-border-radius: 5px; /* this is just for Safari */
86 }
86 }
87
87
88 form.search:hover span { display: block; }
88 form.search:hover span { display: block; }
89
89
90 a { text-decoration:none; }
90 a { text-decoration:none; }
91 .age { white-space:nowrap; }
91 .age { white-space:nowrap; }
92 .date { white-space:nowrap; }
92 .date { white-space:nowrap; }
93 .indexlinks { white-space:nowrap; }
93 .indexlinks { white-space:nowrap; }
94 .parity0 { background-color: #f0f0f0; }
94 .parity0 { background-color: #f0f0f0; }
95 .parity1 { background-color: white; }
95 .parity1 { background-color: white; }
96 .plusline { color: green; }
96 .plusline { color: green; }
97 .minusline { color: #dc143c; } /* crimson */
97 .minusline { color: #dc143c; } /* crimson */
98 .atline { color: purple; }
98 .atline { color: purple; }
99
99
100 .navigate {
100 .navigate {
101 text-align: right;
101 text-align: right;
102 font-size: 60%;
102 font-size: 60%;
103 margin: 1em 0 1em 0;
103 margin: 1em 0 1em 0;
104 }
104 }
105
105
106 .tag {
106 .tag {
107 color: #999;
107 color: #999;
108 font-size: 70%;
108 font-size: 70%;
109 font-weight: normal;
109 font-weight: normal;
110 margin-left: .5em;
110 margin-left: .5em;
111 vertical-align: baseline;
111 vertical-align: baseline;
112 }
112 }
113
113
114 .branchhead {
114 .branchhead {
115 color: #000;
115 color: #000;
116 font-size: 80%;
116 font-size: 80%;
117 font-weight: normal;
117 font-weight: normal;
118 margin-left: .5em;
118 margin-left: .5em;
119 vertical-align: baseline;
119 vertical-align: baseline;
120 }
120 }
121
121
122 ul#graphnodes .branchhead {
123 font-size: 75%;
124 }
125
122 .branchname {
126 .branchname {
123 color: #000;
127 color: #000;
124 font-size: 60%;
128 font-size: 60%;
125 font-weight: normal;
129 font-weight: normal;
126 margin-left: .5em;
130 margin-left: .5em;
127 vertical-align: baseline;
131 vertical-align: baseline;
128 }
132 }
129
133
130 /* Common */
134 /* Common */
131 pre { margin: 0; }
135 pre { margin: 0; }
132
136
133 h2 { font-size: 120%; border-bottom: 1px solid #999; }
137 h2 { font-size: 120%; border-bottom: 1px solid #999; }
134 h2 a { color: #000; }
138 h2 a { color: #000; }
135 h3 {
139 h3 {
136 margin-top: -.7em;
140 margin-top: -.7em;
137 font-size: 100%;
141 font-size: 100%;
138 }
142 }
139
143
140 /* log and tags tables */
144 /* log and tags tables */
141 .bigtable {
145 .bigtable {
142 border-bottom: 1px solid #999;
146 border-bottom: 1px solid #999;
143 border-collapse: collapse;
147 border-collapse: collapse;
144 font-size: 90%;
148 font-size: 90%;
145 width: 100%;
149 width: 100%;
146 font-weight: normal;
150 font-weight: normal;
147 text-align: left;
151 text-align: left;
148 }
152 }
149
153
150 .bigtable td {
154 .bigtable td {
151 padding: 1px 4px 1px 4px;
155 padding: 1px 4px 1px 4px;
152 vertical-align: top;
156 vertical-align: top;
153 }
157 }
154
158
155 .bigtable th {
159 .bigtable th {
156 padding: 1px 4px 1px 4px;
160 padding: 1px 4px 1px 4px;
157 border-bottom: 1px solid #999;
161 border-bottom: 1px solid #999;
158 font-size: smaller;
162 font-size: smaller;
159 }
163 }
160 .bigtable tr { border: none; }
164 .bigtable tr { border: none; }
161 .bigtable .age { width: 6em; }
165 .bigtable .age { width: 6em; }
162 .bigtable .author { width: 12em; }
166 .bigtable .author { width: 12em; }
163 .bigtable .description { }
167 .bigtable .description { }
164 .bigtable .node { width: 5em; font-family: monospace;}
168 .bigtable .node { width: 5em; font-family: monospace;}
165 .bigtable .lineno { width: 2em; text-align: right;}
169 .bigtable .lineno { width: 2em; text-align: right;}
166 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
170 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
167 .bigtable .permissions { width: 8em; text-align: left;}
171 .bigtable .permissions { width: 8em; text-align: left;}
168 .bigtable .size { width: 5em; text-align: right; }
172 .bigtable .size { width: 5em; text-align: right; }
169 .bigtable .annotate { text-align: right; }
173 .bigtable .annotate { text-align: right; }
170 .bigtable td.annotate { font-size: smaller; }
174 .bigtable td.annotate { font-size: smaller; }
171 .bigtable td.source { font-size: inherit; }
175 .bigtable td.source { font-size: inherit; }
172
176
173 .source, .sourcefirst, .sourcelast {
177 .source, .sourcefirst, .sourcelast {
174 font-family: monospace;
178 font-family: monospace;
175 white-space: pre;
179 white-space: pre;
176 font-size: 90%;
180 font-size: 90%;
177 }
181 }
178 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
182 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
179 .sourcelast { border-top: 1px solid #999; }
183 .sourcelast { border-top: 1px solid #999; }
180 .source a { color: #999; font-size: smaller; font-family: monospace;}
184 .source a { color: #999; font-size: smaller; font-family: monospace;}
181 .bottomline { border-bottom: 1px solid #999; }
185 .bottomline { border-bottom: 1px solid #999; }
182
186
183 .fileline { font-family: monospace; }
187 .fileline { font-family: monospace; }
184 .fileline img { border: 0; }
188 .fileline img { border: 0; }
185
189
186 /* Changeset entry */
190 /* Changeset entry */
187 #changesetEntry {
191 #changesetEntry {
188 border-collapse: collapse;
192 border-collapse: collapse;
189 font-size: 90%;
193 font-size: 90%;
190 width: 100%;
194 width: 100%;
191 margin-bottom: 1em;
195 margin-bottom: 1em;
192 }
196 }
193
197
194 #changesetEntry th {
198 #changesetEntry th {
195 padding: 1px 4px 1px 4px;
199 padding: 1px 4px 1px 4px;
196 width: 4em;
200 width: 4em;
197 text-align: right;
201 text-align: right;
198 font-weight: normal;
202 font-weight: normal;
199 color: #999;
203 color: #999;
200 margin-right: .5em;
204 margin-right: .5em;
201 vertical-align: top;
205 vertical-align: top;
202 }
206 }
203
207
204 div.description {
208 div.description {
205 border-left: 3px solid #999;
209 border-left: 3px solid #999;
206 margin: 1em 0 1em 0;
210 margin: 1em 0 1em 0;
207 padding: .3em;
211 padding: .3em;
208 }
212 }
209
213
210 div#wrapper {
214 div#wrapper {
211 position: relative;
215 position: relative;
212 border-top: 1px solid black;
216 border-top: 1px solid black;
213 border-bottom: 1px solid black;
217 border-bottom: 1px solid black;
214 margin: 0;
218 margin: 0;
215 padding: 0;
219 padding: 0;
216 }
220 }
217
221
218 canvas {
222 canvas {
219 position: absolute;
223 position: absolute;
220 z-index: 5;
224 z-index: 5;
221 top: -0.7em;
225 top: -0.7em;
222 margin: 0;
226 margin: 0;
223 }
227 }
224
228
225 ul#graphnodes {
229 ul#graphnodes {
226 position: absolute;
230 position: absolute;
227 z-index: 10;
231 z-index: 10;
228 top: -1.0em;
232 top: -1.0em;
229 list-style: none inside none;
233 list-style: none inside none;
230 padding: 0;
234 padding: 0;
231 }
235 }
232
236
233 ul#nodebgs {
237 ul#nodebgs {
234 list-style: none inside none;
238 list-style: none inside none;
235 padding: 0;
239 padding: 0;
236 margin: 0;
240 margin: 0;
237 top: -0.7em;
241 top: -0.7em;
238 }
242 }
239
243
240 ul#graphnodes li, ul#nodebgs li {
244 ul#graphnodes li, ul#nodebgs li {
241 height: 39px;
245 height: 39px;
242 }
246 }
243
247
244 ul#graphnodes li .info {
248 ul#graphnodes li .info {
245 display: block;
249 display: block;
246 font-size: 70%;
250 font-size: 70%;
247 position: relative;
251 position: relative;
248 top: -3px;
252 top: -3px;
249 }
253 }
@@ -1,239 +1,243
1 body {
1 body {
2 margin: 0;
2 margin: 0;
3 padding: 0;
3 padding: 0;
4 background: white;
4 background: white;
5 font-family: sans-serif;
5 font-family: sans-serif;
6 }
6 }
7
7
8 .container {
8 .container {
9 padding-left: 115px;
9 padding-left: 115px;
10 }
10 }
11
11
12 .main {
12 .main {
13 position: relative;
13 position: relative;
14 background: white;
14 background: white;
15 padding: 2em 2em 2em 0;
15 padding: 2em 2em 2em 0;
16 }
16 }
17
17
18 #.main {
18 #.main {
19 width: 98%;
19 width: 98%;
20 }
20 }
21
21
22 .overflow {
22 .overflow {
23 width: 100%;
23 width: 100%;
24 overflow: auto;
24 overflow: auto;
25 }
25 }
26
26
27 .menu {
27 .menu {
28 width: 90px;
28 width: 90px;
29 margin: 0;
29 margin: 0;
30 font-size: 80%;
30 font-size: 80%;
31 text-align: left;
31 text-align: left;
32 position: absolute;
32 position: absolute;
33 top: 20px;
33 top: 20px;
34 left: 20px;
34 left: 20px;
35 right: auto;
35 right: auto;
36 }
36 }
37
37
38 .menu ul {
38 .menu ul {
39 list-style: none;
39 list-style: none;
40 padding: 0;
40 padding: 0;
41 margin: 10px 0 0 0;
41 margin: 10px 0 0 0;
42 border-left: 2px solid #999;
42 border-left: 2px solid #999;
43 }
43 }
44
44
45 .menu li {
45 .menu li {
46 margin-bottom: 3px;
46 margin-bottom: 3px;
47 padding: 2px 4px;
47 padding: 2px 4px;
48 background: white;
48 background: white;
49 color: black;
49 color: black;
50 font-weight: normal;
50 font-weight: normal;
51 }
51 }
52
52
53 .menu li.active {
53 .menu li.active {
54 font-weight: bold;
54 font-weight: bold;
55 }
55 }
56
56
57 .menu a { color: black; display: block; }
57 .menu a { color: black; display: block; }
58
58
59 .search {
59 .search {
60 position: absolute;
60 position: absolute;
61 top: .7em;
61 top: .7em;
62 right: 2em;
62 right: 2em;
63 }
63 }
64
64
65 form.search span {
65 form.search span {
66 display: none;
66 display: none;
67 position: absolute;
67 position: absolute;
68 top: 40px;
68 top: 40px;
69 right: 0px;
69 right: 0px;
70 width: 190px;
70 width: 190px;
71 padding: 5px;
71 padding: 5px;
72 background: #ffc;
72 background: #ffc;
73 font-size: 70%;
73 font-size: 70%;
74 border: 1px solid yellow;
74 border: 1px solid yellow;
75 -moz-border-radius: 5px; /* this works only in camino/firefox */
75 -moz-border-radius: 5px; /* this works only in camino/firefox */
76 -webkit-border-radius: 5px; /* this is just for Safari */
76 -webkit-border-radius: 5px; /* this is just for Safari */
77 }
77 }
78
78
79 form.search:hover span { display: block; }
79 form.search:hover span { display: block; }
80
80
81 a { text-decoration:none; }
81 a { text-decoration:none; }
82 .age { white-space:nowrap; }
82 .age { white-space:nowrap; }
83 .date { white-space:nowrap; }
83 .date { white-space:nowrap; }
84 .indexlinks { white-space:nowrap; }
84 .indexlinks { white-space:nowrap; }
85 .parity0 { background-color: #f0f0f0; }
85 .parity0 { background-color: #f0f0f0; }
86 .parity1 { background-color: white; }
86 .parity1 { background-color: white; }
87 .plusline { color: green; }
87 .plusline { color: green; }
88 .minusline { color: #dc143c; } /* crimson */
88 .minusline { color: #dc143c; } /* crimson */
89 .atline { color: purple; }
89 .atline { color: purple; }
90
90
91 .navigate {
91 .navigate {
92 text-align: right;
92 text-align: right;
93 font-size: 60%;
93 font-size: 60%;
94 margin: 1em 0 1em 0;
94 margin: 1em 0 1em 0;
95 }
95 }
96
96
97 .tag {
97 .tag {
98 color: #999;
98 color: #999;
99 font-size: 70%;
99 font-size: 70%;
100 font-weight: normal;
100 font-weight: normal;
101 margin-left: .5em;
101 margin-left: .5em;
102 vertical-align: baseline;
102 vertical-align: baseline;
103 }
103 }
104
104
105 .branchhead {
105 .branchhead {
106 color: #000;
106 color: #000;
107 font-size: 80%;
107 font-size: 80%;
108 font-weight: normal;
108 font-weight: normal;
109 margin-left: .5em;
109 margin-left: .5em;
110 vertical-align: baseline;
110 vertical-align: baseline;
111 }
111 }
112
112
113 ul#graphnodes .branchhead {
114 font-size: 75%;
115 }
116
113 .branchname {
117 .branchname {
114 color: #000;
118 color: #000;
115 font-size: 60%;
119 font-size: 60%;
116 font-weight: normal;
120 font-weight: normal;
117 margin-left: .5em;
121 margin-left: .5em;
118 vertical-align: baseline;
122 vertical-align: baseline;
119 }
123 }
120
124
121 /* Common */
125 /* Common */
122 pre { margin: 0; }
126 pre { margin: 0; }
123
127
124 h2 { font-size: 120%; border-bottom: 1px solid #999; }
128 h2 { font-size: 120%; border-bottom: 1px solid #999; }
125 h2 a { color: #000; }
129 h2 a { color: #000; }
126 h3 {
130 h3 {
127 margin-top: -.7em;
131 margin-top: -.7em;
128 font-size: 100%;
132 font-size: 100%;
129 }
133 }
130
134
131 /* log and tags tables */
135 /* log and tags tables */
132 .bigtable {
136 .bigtable {
133 border-bottom: 1px solid #999;
137 border-bottom: 1px solid #999;
134 border-collapse: collapse;
138 border-collapse: collapse;
135 font-size: 90%;
139 font-size: 90%;
136 width: 100%;
140 width: 100%;
137 font-weight: normal;
141 font-weight: normal;
138 text-align: left;
142 text-align: left;
139 }
143 }
140
144
141 .bigtable td {
145 .bigtable td {
142 padding: 1px 4px 1px 4px;
146 padding: 1px 4px 1px 4px;
143 vertical-align: top;
147 vertical-align: top;
144 }
148 }
145
149
146 .bigtable th {
150 .bigtable th {
147 padding: 1px 4px 1px 4px;
151 padding: 1px 4px 1px 4px;
148 border-bottom: 1px solid #999;
152 border-bottom: 1px solid #999;
149 font-size: smaller;
153 font-size: smaller;
150 }
154 }
151 .bigtable tr { border: none; }
155 .bigtable tr { border: none; }
152 .bigtable .age { width: 6em; }
156 .bigtable .age { width: 6em; }
153 .bigtable .author { width: 12em; }
157 .bigtable .author { width: 12em; }
154 .bigtable .description { }
158 .bigtable .description { }
155 .bigtable .node { width: 5em; font-family: monospace;}
159 .bigtable .node { width: 5em; font-family: monospace;}
156 .bigtable .permissions { width: 8em; text-align: left;}
160 .bigtable .permissions { width: 8em; text-align: left;}
157 .bigtable .size { width: 5em; text-align: right; }
161 .bigtable .size { width: 5em; text-align: right; }
158 .bigtable .annotate { text-align: right; }
162 .bigtable .annotate { text-align: right; }
159 .bigtable td.annotate { font-size: smaller; }
163 .bigtable td.annotate { font-size: smaller; }
160 .bigtable td.source { font-size: inherit; }
164 .bigtable td.source { font-size: inherit; }
161
165
162 .source, .sourcefirst, .sourcelast {
166 .source, .sourcefirst, .sourcelast {
163 font-family: monospace;
167 font-family: monospace;
164 white-space: pre;
168 white-space: pre;
165 font-size: 90%;
169 font-size: 90%;
166 }
170 }
167 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
171 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
168 .sourcelast { border-top: 1px solid #999; }
172 .sourcelast { border-top: 1px solid #999; }
169 .source a { color: #999; font-size: smaller; font-family: monospace;}
173 .source a { color: #999; font-size: smaller; font-family: monospace;}
170 .bottomline { border-bottom: 1px solid #999; }
174 .bottomline { border-bottom: 1px solid #999; }
171
175
172 .fileline { font-family: monospace; }
176 .fileline { font-family: monospace; }
173 .fileline img { border: 0; }
177 .fileline img { border: 0; }
174
178
175 /* Changeset entry */
179 /* Changeset entry */
176 #changesetEntry {
180 #changesetEntry {
177 border-collapse: collapse;
181 border-collapse: collapse;
178 font-size: 90%;
182 font-size: 90%;
179 width: 100%;
183 width: 100%;
180 margin-bottom: 1em;
184 margin-bottom: 1em;
181 }
185 }
182
186
183 #changesetEntry th {
187 #changesetEntry th {
184 padding: 1px 4px 1px 4px;
188 padding: 1px 4px 1px 4px;
185 width: 4em;
189 width: 4em;
186 text-align: right;
190 text-align: right;
187 font-weight: normal;
191 font-weight: normal;
188 color: #999;
192 color: #999;
189 margin-right: .5em;
193 margin-right: .5em;
190 vertical-align: top;
194 vertical-align: top;
191 }
195 }
192
196
193 div.description {
197 div.description {
194 border-left: 2px solid #999;
198 border-left: 2px solid #999;
195 margin: 1em 0 1em 0;
199 margin: 1em 0 1em 0;
196 padding: .3em;
200 padding: .3em;
197 }
201 }
198
202
199 /* Graph */
203 /* Graph */
200 div#wrapper {
204 div#wrapper {
201 position: relative;
205 position: relative;
202 border-top: 1px solid black;
206 border-top: 1px solid black;
203 border-bottom: 1px solid black;
207 border-bottom: 1px solid black;
204 margin: 0;
208 margin: 0;
205 padding: 0;
209 padding: 0;
206 }
210 }
207
211
208 canvas {
212 canvas {
209 position: absolute;
213 position: absolute;
210 z-index: 5;
214 z-index: 5;
211 top: -0.7em;
215 top: -0.7em;
212 margin: 0;
216 margin: 0;
213 }
217 }
214
218
215 ul#nodebgs {
219 ul#nodebgs {
216 list-style: none inside none;
220 list-style: none inside none;
217 padding: 0;
221 padding: 0;
218 margin: 0;
222 margin: 0;
219 top: -0.7em;
223 top: -0.7em;
220 }
224 }
221
225
222 ul#graphnodes li, ul#nodebgs li {
226 ul#graphnodes li, ul#nodebgs li {
223 height: 39px;
227 height: 39px;
224 }
228 }
225
229
226 ul#graphnodes {
230 ul#graphnodes {
227 position: absolute;
231 position: absolute;
228 z-index: 10;
232 z-index: 10;
229 top: -1.0em;
233 top: -1.0em;
230 list-style: none inside none;
234 list-style: none inside none;
231 padding: 0;
235 padding: 0;
232 }
236 }
233
237
234 ul#graphnodes li .info {
238 ul#graphnodes li .info {
235 display: block;
239 display: block;
236 font-size: 70%;
240 font-size: 70%;
237 position: relative;
241 position: relative;
238 top: -3px;
242 top: -3px;
239 }
243 }
General Comments 0
You need to be logged in to leave comments. Login now