allura
修订版 | 299f7fc977e8e68a0fd06b280b0ecb0ff59d7bc4 (tree) |
---|---|
时间 | 2011-11-03 08:01:22 |
作者 | Dave Brondsema <dbrondsema@geek...> |
Commiter | Jenny Steele |
[#2098] show message if canvas is not supported
Signed-off-by: Dave Brondsema <dbrondsema@geek.net>
@@ -1,3 +1,7 @@ | ||
1 | +html.canvas #commit_browser_canvas_message { | |
2 | + display: none; | |
3 | +} | |
4 | + | |
1 | 5 | #graph_holder{ |
2 | 6 | height:305px; |
3 | 7 | overflow:auto; |
@@ -13,4 +17,4 @@ | ||
13 | 17 | } |
14 | 18 | #commit_graph{ |
15 | 19 | z-index: 1; |
16 | -} | |
\ No newline at end of file | ||
20 | +} |
@@ -1,3 +1,4 @@ | ||
1 | +<p id="commit_browser_canvas_message">This commit browser uses JS canvas but unfortunately your browser does not support it.</p> | |
1 | 2 | <div id="graph_holder" class="grid-19"> |
2 | 3 | <canvas id="commit_highlighter" width="750" height="300"></canvas> |
3 | 4 | <canvas id="commit_graph" width="750" height="300"></canvas> |