changeset 233:9831c5578719

Breadcrumbs follow PF design standards Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-September/025187.html
author Andrew Azores <aazores@redhat.com>
date Thu, 28 Sep 2017 15:14:47 -0400
parents 3403192235d0
children 7d4f6ee803fb
files src/app/components/jvm-info/jvm-info.html src/app/components/jvm-list/jvm-list.html src/app/components/multichart/multichart.html src/app/components/system-info/system-info.html
diffstat 4 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/app/components/jvm-info/jvm-info.html	Thu Sep 28 15:14:34 2017 -0400
+++ b/src/app/components/jvm-info/jvm-info.html	Thu Sep 28 15:14:47 2017 -0400
@@ -1,9 +1,10 @@
 <div class="row panel panel-default" style="position: sticky; top: 60px; z-index: 1">
   <div class="panel-body">
     <ol class="breadcrumb" style="margin-top: 0px; margin-bottom: 0px;">
+      <li>Thermostat</li>
       <li><a ui-sref="jvmList({ '#': $ctrl.systemId })" translate>jvmInfo.JVM_LIST_BREADCRUMB</a></li>
       <li><a ui-sref="systemInfo({ systemId: $ctrl.systemId })">{{$ctrl.systemHostname}}</a></li>
-      <li><a ui-sref="jvmInfo({ systemId: $ctrl.systemId, jvmId: $ctrl.jvmId })">{{$ctrl.jvmInfo.mainClass | extractClass}}</a></li>
+      <li class="lead">{{$ctrl.jvmInfo.mainClass}}</li>
     </ol>
   </div>
 </div>
--- a/src/app/components/jvm-list/jvm-list.html	Thu Sep 28 15:14:34 2017 -0400
+++ b/src/app/components/jvm-list/jvm-list.html	Thu Sep 28 15:14:47 2017 -0400
@@ -1,7 +1,8 @@
 <div class="row panel panel-default" style="position: sticky; top: 60px; z-index: 2">
   <div class="panel-body">
     <ol class="breadcrumb" style="margin-top: 0px; margin-bottom: 0px;">
-      <li><a ui-sref="jvmList" translate>jvmList.BREADCRUMB</a></li>
+      <li>Thermostat</li>
+      <li class="lead" translate>jvmList.BREADCRUMB</li>
     </ol>
   </div>
 </div>
--- a/src/app/components/multichart/multichart.html	Thu Sep 28 15:14:34 2017 -0400
+++ b/src/app/components/multichart/multichart.html	Thu Sep 28 15:14:47 2017 -0400
@@ -1,7 +1,8 @@
 <div class="row panel panel-default" style="position: sticky; top: 60px; z-index: 1">
   <div class="panel-body">
     <ol class="breadcrumb" style="margin-top: 0px; margin-bottom: 0px;">
-      <li><a ui-sref="multichart" translate>multicharts.BREADCRUMB</a></li>
+      <li>Thermostat</li>
+      <li class="lead" translate>multicharts.BREADCRUMB</li>
     </ol>
   </div>
 </div>
--- a/src/app/components/system-info/system-info.html	Thu Sep 28 15:14:34 2017 -0400
+++ b/src/app/components/system-info/system-info.html	Thu Sep 28 15:14:47 2017 -0400
@@ -1,8 +1,9 @@
 <div class="row panel panel-default" style="position: sticky; top: 60px; z-index: 1">
   <div class="panel-body">
     <ol class="breadcrumb" style="margin-top: 0px; margin-bottom: 0px;">
+      <li>Thermostat</li>
       <li><a ui-sref="jvmList({ '#': $ctrl.systemId })" translate>systemInfo.JVM_LIST_BREADCRUMB</a></li>
-      <li><a ui-sref="systemInfo({ systemId: $ctrl.systemId })">{{$ctrl.systemInfo.hostname || $ctrl.systemId}}</a></li>
+      <li class="lead">{{$ctrl.systemInfo.hostname || $ctrl.systemId}}</li>
     </ol>
   </div>
 </div>