Skip to content

Commit

Permalink
Strip top bar
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Jul 16, 2024
1 parent 5aa5084 commit 869cd0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 122 deletions.
124 changes: 4 additions & 120 deletions client/src/entry/analysis/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,101 +18,6 @@ export function fetchMenu(options = {}) {
target: "_top",
});

//
// Workflow tab.
//
menu.push({
id: "workflow",
title: _l("Workflow"),
tooltip: _l("Chain tools into workflows"),
disabled: !Galaxy.user.id,
url: "/workflows/list",
});

//
// Visualization tab.
//
if (Galaxy.config.visualizations_visible) {
menu.push({
id: "visualization",
title: _l("Visualize"),
tooltip: _l("Visualize datasets"),
disabled: !Galaxy.user.id,
url: "/visualizations",
});
}

//
// 'Data' tab.
//
if (Galaxy.user.id) {
menu.push({
id: "resources",
title: _l("Data"),
url: "javascript:void(0)",
tooltip: _l("Access resources"),
menu: [
{
title: _l("Data Libraries"),
url: "/libraries",
},
{
title: _l("Datasets"),
url: "/datasets/list",
},
{
title: _l("Histories"),
url: "/histories/list",
},
{
title: _l("Pages"),
url: "/pages/list",
},
{
title: _l("Visualizations"),
url: "/visualizations/list",
},
{
title: _l("Workflows"),
url: "/workflows/list",
},
{
title: _l("Workflow Invocations"),
url: "/workflows/invocations",
},
],
});
} else {
menu.push({
id: "resources",
title: _l("Data"),
url: "javascript:void(0)",
tooltip: _l("Access published resources"),
menu: [
{
title: _l("Data Libraries"),
url: "/libraries",
},
{
title: _l("Histories"),
url: "/histories/list_published",
},
{
title: _l("Pages"),
url: "/pages/list_published",
},
{
title: _l("Visualizations"),
url: "/visualizations/list_published",
},
{
title: _l("Workflows"),
url: "/workflows/list_published",
},
],
});
}

//
// Admin.
//
Expand All @@ -137,45 +42,24 @@ export function fetchMenu(options = {}) {
id: "help",
title: _l("Help"),
url: "javascript:void(0)",
tooltip: _l("Support, contact, and community"),
tooltip: _l("Support"),
menu: [
{
title: _l("Galaxy Help"),
title: _l("Bioconductor Support"),
url: options.helpsite_url,
target: "_blank",
hidden: !options.helpsite_url,
},
{
title: _l("Support"),
url: options.support_url,
target: "_blank",
hidden: !options.support_url,
},
{
title: _l("Videos"),
url: options.screencasts_url,
title: _l("Bioconductor Site"),
url: "https://bioconductor.org",
target: "_blank",
hidden: !options.screencasts_url,
},
{
title: _l("Community Hub"),
url: options.wiki_url,
target: "_blank",
hidden: !options.wiki_url,
},
{
title: _l("How to Cite Galaxy"),
url: options.citation_url,
target: "_blank",
},
{
title: _l("Interactive Tours"),
url: "/tours",
},
{
title: _l("About"),
url: "/about",
},
{
title: _l("Terms and Conditions"),
url: options.terms_url,
Expand Down
2 changes: 1 addition & 1 deletion client/src/layout/window-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class WindowManager {
id: "enable-window-manager",
icon: "fa-th",
tooltip: _l("Enable/Disable Window Manager"),
visible: true,
visible: false,
onclick: () => {
this.active = !this.active;
},
Expand Down
2 changes: 1 addition & 1 deletion config/plugins/webhooks/gtn/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: gtn
type:
- masthead
activate: true
activate: false

icon: fa-graduation-cap
tooltip: See Galaxy Training Materials

0 comments on commit 869cd0d

Please sign in to comment.