Skip to content

Commit

Permalink
moved graph warning. Fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
gmp26 committed May 8, 2013
1 parent b60b0a9 commit 35727bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -4,7 +4,6 @@ node_modules/
.temp/
dist_test/
incoming
publish
src/scripts/pubs/styles.less
*~
.appmask
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/pubs/mathmo/services/semver.ls
@@ -1 +1 @@
angular.module('app').factory 'semver', ->"0.9.1"
angular.module('app').factory 'semver', ->"0.9.3"
7 changes: 4 additions & 3 deletions src/views/mathmo.html
Expand Up @@ -75,9 +75,7 @@ <h5 style="float:left">Q{{$index+1}}: {{qa.topic}}</h5>
<div ng-bind-html-unsafe="qa.a"></div>
</div>
<div ng-switch-when="graph">
<div ng-show="showSketchWarning()">
<alert type="warning" close="closeSketchWarning()">Your own sketch should label significant features of the graph.</alert>
</div>

<div d3-vis
fullWidth="350" fullHeight="300"
margin="0 0 20 0"
Expand All @@ -87,6 +85,9 @@ <h5 style="float:left">Q{{$index+1}}: {{qa.topic}}</h5>
<div mathmo-plot data="qa.graphData" style="position:relative"></div>
</div>

<div ng-show="showSketchWarning()">
<alert type="warning" close="closeSketchWarning()">Your own sketch should label significant features of the graph.</alert>
</div>
<!-- {{qa.graphData}} -->

</div>
Expand Down

0 comments on commit 35727bd

Please sign in to comment.