[#85,view/graph,ux][s]: show a message on graph view when no graph yet there giving instructions on how to plot a graph (was a big ux fail) - fixes #85.

This commit is contained in:
Rufus Pollock
2012-04-25 22:27:01 +01:00
parent 82ca51a0b6
commit d8bbac1f6f
2 changed files with 12 additions and 1 deletions

View File

@@ -66,7 +66,13 @@ my.Graph = Backbone.View.extend({
</div> \
</form> \
</div> \
<div class="panel graph"></div> \
<div class="panel graph"> \
<div class="js-temp-notice alert alert-block"> \
<h3 class="alert-heading">Hey there!</h3> \
<p>There\'s no graph here yet because we don\'t know what fields you\'d like to see plotted.</p> \
<p>Please tell us by <strong>using the menu on the right</strong> and a graph will automatically appear.</p> \
</div> \
</div> \
</div> \
',
templateSeriesEditor: ' \