Commit 515faa9e by Patrick O'Carroll Committed by Torkel Ödegaard

new dashboard and folder in search (#10152)

* new dashboard and folder in search

* code formatting fixes
parent 79d9b64f
...@@ -55,6 +55,14 @@ ...@@ -55,6 +55,14 @@
</div> </div>
<div class="search-filter-box"> <div class="search-filter-box">
<a href="/dashboard/new" class="search-filter-box-item">
<i class="gicon gicon-dashboard-new"></i>
Dashboard
</a>
<a href="/dashboard/new/?editview=new-folder" class="search-filter-box-item">
<i class="gicon gicon-folder-new"></i>
Folder
</a>
<a class="search-button-row-explore-link" target="_blank" href="https://grafana.com/dashboards?utm_source=grafana_search"> <a class="search-button-row-explore-link" target="_blank" href="https://grafana.com/dashboards?utm_source=grafana_search">
<img src="public/img/icn-dashboard-tiny.svg" width="20" /> Find dashboards on Grafana.com <img src="public/img/icn-dashboard-tiny.svg" width="20" /> Find dashboards on Grafana.com
</a> </a>
......
...@@ -83,6 +83,14 @@ ...@@ -83,6 +83,14 @@
margin-bottom: $spacer * 1.5; margin-bottom: $spacer * 1.5;
} }
.search-filter-box-item {
display:block;
margin-bottom: 16px;
i {
font-size: 20px;
}
}
.search-results-container { .search-results-container {
height: 100%; height: 100%;
display: block; display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment