Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#771 add a Site top level nav bar to the default view (folks can alwa…
…ys customise it via perspectives)
  • Loading branch information
jstrachan committed Nov 22, 2013
1 parent 97af75d commit 2ff0056
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions hawtio-web/src/main/webapp/app/site/js/sitePlugin.ts
Expand Up @@ -11,19 +11,20 @@ module Site {

viewRegistry[pluginName] = layoutFull;

workspace.topLevelTabs.push({
content: "Site",
title: "View the documentation for Hawtio",
isValid: (workspace:Workspace) => true,
href: () => "#/site/doc/index.md"
});

/*
helpRegistry.addUserDoc('log', 'app/log/doc/help.md', () => {
return workspace.treeContainsDomainAndProperties('org.fusesource.insight', {type: 'LogQuery'});
});
*/
/*
workspace.topLevelTabs.push({
content: "Logs",
title: "View and search the logs of this container",
isValid: (workspace:Workspace) => workspace.treeContainsDomainAndProperties('org.fusesource.insight', {type: 'LogQuery'}),
href: () => "#/logs"
});
workspace.subLevelTabs.push({
content: '<i class="icon-list-alt"></i> Log',
Expand Down

0 comments on commit 2ff0056

Please sign in to comment.