[#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:
@@ -13,6 +13,11 @@
|
|||||||
line-height: 13px;
|
line-height: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.recline-graph .graph .alert {
|
||||||
|
width: 450px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/**********************************************************
|
/**********************************************************
|
||||||
* Editor
|
* Editor
|
||||||
*********************************************************/
|
*********************************************************/
|
||||||
|
|||||||
@@ -66,7 +66,13 @@ my.Graph = Backbone.View.extend({
|
|||||||
</div> \
|
</div> \
|
||||||
</form> \
|
</form> \
|
||||||
</div> \
|
</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> \
|
</div> \
|
||||||
',
|
',
|
||||||
templateSeriesEditor: ' \
|
templateSeriesEditor: ' \
|
||||||
|
|||||||
Reference in New Issue
Block a user