Browse Source

Fixed css issue with title headers

Torkel Ödegaard 11 years ago
parent
commit
ab307ec7f3

+ 1 - 1
docs/mkdocs.yml

@@ -48,7 +48,7 @@ pages:
 - ['reference/playlist.md', 'Reference', 'Playlist']
 - ['reference/playlist.md', 'Reference', 'Playlist']
 - ['reference/export_import.md', 'Reference', 'Import & Export']
 - ['reference/export_import.md', 'Reference', 'Import & Export']
 - ['reference/admin.md', 'Reference', 'Grafana Admin']
 - ['reference/admin.md', 'Reference', 'Grafana Admin']
-- ['reference/admin.md', 'Reference', 'HTTP API']
+- ['reference/http_api.md', 'Reference', 'HTTP API']
 
 
 - ['datasources/graphite.md', 'Data Sources', 'Graphite']
 - ['datasources/graphite.md', 'Data Sources', 'Graphite']
 - ['datasources/influxdb.md', 'Data Sources', 'InfluxDB']
 - ['datasources/influxdb.md', 'Data Sources', 'InfluxDB']

+ 1 - 1
docs/sources/datasources/graphite.md

@@ -12,7 +12,7 @@ To switch to a regular text box click the pen icon to the right.
 
 
 ## Installing Graphite
 ## Installing Graphite
 
 
-## Add a Graphite data source to grafana
+## Adding the data source to Grafana
 
 
 ## Metric editor
 ## Metric editor
 
 

+ 1 - 1
docs/sources/installation/migrating_to2.md

@@ -12,7 +12,7 @@ database to store dashboards and users in.
 ## Adding Data sources
 ## Adding Data sources
 
 
 Data sources in Grafana v2.0 are no longer configured via the `config.js` file. That config file is no more.
 Data sources in Grafana v2.0 are no longer configured via the `config.js` file. That config file is no more.
-You add data sources via UI or via the [HTTP API](../reference/http_api). Go the `Data Sources` view via the side menu.
+You add data sources via UI or via the [HTTP API](../reference/http_api.md). Go the `Data Sources` view via the side menu.
 The side menu can be toggled via the Grafana icon in the top header (to the right).
 The side menu can be toggled via the Grafana icon in the top header (to the right).
 
 
 ## Importing dashboards
 ## Importing dashboards

+ 9 - 0
docs/sources/reference/dashlist.md

@@ -0,0 +1,9 @@
+----
+page_title: Dashlist Panel
+page_description: Dashlist Panel Reference
+page_keywords: grafana, dashlist, panel, documentation
+---
+
+# Dashlist Panel
+
+

+ 9 - 0
docs/sources/reference/singlestat.md

@@ -0,0 +1,9 @@
+----
+page_title: Singlestat Panel
+page_description: Singlestat Panel Reference
+page_keywords: grafana, singlestat, panel, documentation
+---
+
+# Singlestat Panel
+
+

+ 1 - 1
src/app/partials/dashboard_topnav.html

@@ -11,7 +11,7 @@
 				<div class="top-nav-dashboards-btn">
 				<div class="top-nav-dashboards-btn">
 					<a class="pointer" ng-click="openSearch()">
 					<a class="pointer" ng-click="openSearch()">
 						<i class="fa fa-th-large"></i>
 						<i class="fa fa-th-large"></i>
-						<span class="top-nav-title pointer">{{dashboard.title}}</span>
+						<span class="dashboard-title">{{dashboard.title}}</span>
 						<i class="fa fa-caret-down"></i>
 						<i class="fa fa-caret-down"></i>
 					</a>
 					</a>
 				</div>
 				</div>

+ 11 - 4
src/css/less/navbar.less

@@ -13,7 +13,7 @@
 }
 }
 
 
 .fa.top-nav-breadcrumb-icon {
 .fa.top-nav-breadcrumb-icon {
-  margin: 17px 0 6px 5px;
+  margin: 18px 0 6px 5px;
   float: left;
   float: left;
   font-size: 120%;
   font-size: 120%;
   color: @textColor;
   color: @textColor;
@@ -90,6 +90,12 @@
     position: relative;
     position: relative;
     top: 4px;
     top: 4px;
   }
   }
+
+  .dashboard-title {
+    padding: 0px 6px 5px 5px;
+    color: @linkColorHover;
+    font-size: 17px;
+  }
 }
 }
 
 
 .top-nav-icon {
 .top-nav-icon {
@@ -109,9 +115,10 @@
 }
 }
 
 
 .top-nav-title {
 .top-nav-title {
-  padding: 0px 6px 5px 5px;
-  color: #FFFFFF;
+  display: block;
+  float: left;
   font-size: 17px;
   font-size: 17px;
+  padding: 18px 10px 10px 13px;
+  color: @linkColor;
 }
 }
 
 
-