mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Closes #267 - Adding message to empty dashboard
This commit is contained in:
parent
4de1314ad2
commit
40c6ba2861
2 changed files with 18 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue