Closes #267 - Adding message to empty dashboard

This commit is contained in:
Chris Cowan 2014-09-12 14:51:49 -07:00
parent 4de1314ad2
commit 40c6ba2861
2 changed files with 18 additions and 1 deletions

View file

@ -41,5 +41,10 @@
<config config-template="configTemplate" config-object="opts"></config>
<div ng-show="!state.panels.length" class="text-center start-screen">
<h2>Ready to get started?</h2>
<p>Click the <i class="fa fa-plus" ng-click="openAdd()"></i> button in the menu bar above to add a visualization to the dashboard. <br/>If you haven't setup a visualization yet visit the <a href="#/visualize">"Visualize"</a> tab to create your first visualization.</p>
</div>
<dashboard-grid></dashboard-grid>
</div>

View file

@ -15,6 +15,18 @@ dashboard-grid {
padding: 5px;
}
.start-screen {
margin: 20px;
background-color: @gray-lighter;
padding: 20px;
i {
padding: 4px 8px;
background-color: #3d636b;
color: white;
}
}
.gridster {
list-style-type: none;
display: block;
@ -111,4 +123,4 @@ dashboard-grid {
.dashboard-load {
margin: 10px;
}
}