Skip to content

Commit

Permalink
made the Containers page the default start page; as its easier to gro…
Browse files Browse the repository at this point in the history
…k - and tidied up the tooltip on the Containers / Profiles pages
  • Loading branch information
jstrachan committed Nov 12, 2013
1 parent e9300dc commit beacc45
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions hawtio-web/src/main/webapp/app/fabric/html/layoutFabric.html
@@ -1,14 +1,14 @@
<ul class="nav nav-tabs" ng-controller="Fabric.NavBarController">
<li ng-show="hasFabric" ng-class='{active : isActive("#/fabric/activeProfiles")}'
title="View the different profiles (kinds of container)">
<a ng-href="#/fabric/activeProfiles{{hash}}">Profiles</a>
</li>
<li ng-show="hasFabric" ng-class='{active : isActive("#/fabric/containers")}'
title="View the running containers in this Fabric">
<a ng-href="#/fabric/containers{{hash}}">Containers</a>
</li>
<li ng-show="hasFabric" ng-class='{active : isActive("#/fabric/activeProfiles")}'
title="View the currently active profiles (groups of containers) in this Fabric. Try the Configuration tab to see all the available profiles, try the Configuration tab">
<a ng-href="#/fabric/activeProfiles{{hash}}">Profiles</a>
</li>
<li ng-show="hasFabric" ng-class='{active : isActive("#/fabric/view")}'
title="Advanced Fabric management view for managing profiles and containers">
title="Advanced Fabric management view for managing versions, profiles, containers and to perform Rolling Upgrades">
<a ng-href="#/fabric/view{{hash}}">Manage</a>
</li>
<li ng-show="hasMQManager" ng-class='{active : isActive("#/fabric/mq")}'>
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/createFabric.ts
Expand Up @@ -42,7 +42,7 @@ module Fabric {
method: 'post',
success: (response) => {
notification('success', "Created fabric!");
$location.url("/fabric/activeProfiles");
$location.url("/fabric/containers");
Core.$apply($scope);
},
error: (response) => {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/fabricPlugin.ts
Expand Up @@ -180,7 +180,7 @@ module Fabric {
content: "Runtime",
title: "Manage your containers in this fabric",
isValid: (workspace) => Fabric.isFMCContainer(workspace),
href: () => "#/fabric/activeProfiles",
href: () => "#/fabric/containers",
isActive: (workspace: Workspace) => workspace.isLinkActive("fabric")
});
workspace.topLevelTabs.push( {
Expand Down
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/perspective/js/metadata.ts
Expand Up @@ -4,7 +4,7 @@ module Perspective {
fabric: {
label: "Fabric",
isValid: (workspace) => Fabric.isFMCContainer(workspace),
lastPage: "#/fabric/activeProfiles",
lastPage: "#/fabric/containers",
topLevelTabs: {
includes: [
{
Expand Down

0 comments on commit beacc45

Please sign in to comment.