• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修订版299f7fc977e8e68a0fd06b280b0ecb0ff59d7bc4 (tree)
时间2011-11-03 08:01:22
作者Dave Brondsema <dbrondsema@geek...>
CommiterJenny Steele

Log Message

[#2098] show message if canvas is not supported

Signed-off-by: Dave Brondsema <dbrondsema@geek.net>

更改概述

差异

--- a/Allura/allura/lib/widgets/resources/css/commit_browser.css
+++ b/Allura/allura/lib/widgets/resources/css/commit_browser.css
@@ -1,3 +1,7 @@
1+html.canvas #commit_browser_canvas_message {
2+ display: none;
3+}
4+
15 #graph_holder{
26 height:305px;
37 overflow:auto;
@@ -13,4 +17,4 @@
1317 }
1418 #commit_graph{
1519 z-index: 1;
16-}
\ No newline at end of file
20+}
--- a/Allura/allura/templates/widgets/repo/commit_browser.html
+++ b/Allura/allura/templates/widgets/repo/commit_browser.html
@@ -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>
12 <div id="graph_holder" class="grid-19">
23 <canvas id="commit_highlighter" width="750" height="300"></canvas>
34 <canvas id="commit_graph" width="750" height="300"></canvas>