Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
e35c650b
Commit
e35c650b
authored
10 years ago
by
juanf
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-232: ELN UI - Navigation widget from spaces to experiments (unfinished)
SVN: 31449
parent
fd6b2f05
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/MainMenu.js
+10
-0
10 additions, 0 deletions
...browser/1/as/webapps/newbrowser/html/js/views/MainMenu.js
with
10 additions
and
0 deletions
plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/MainMenu.js
+
10
−
0
View file @
e35c650b
...
@@ -36,15 +36,25 @@ function MainMenu(mainController, containerId, menuStructure, mainMenuContentExt
...
@@ -36,15 +36,25 @@ function MainMenu(mainController, containerId, menuStructure, mainMenuContentExt
this
.
repaint
=
function
()
{
this
.
repaint
=
function
()
{
var
mainMenuWrapper
=
$
(
"
#
"
+
this
.
containerId
);
var
mainMenuWrapper
=
$
(
"
#
"
+
this
.
containerId
);
mainMenuWrapper
.
empty
();
mainMenuWrapper
.
empty
();
//Browser Widget Title/Container
mainMenuWrapper
.
append
(
$
(
"
<h1>
"
,
{
"
style
"
:
"
clear: both;
"
}).
text
(
"
Spaces > Projects > Experiments
"
));
mainMenuWrapper
.
append
(
$
(
"
<h1>
"
,
{
"
style
"
:
"
clear: both;
"
}).
text
(
"
Spaces > Projects > Experiments
"
));
mainMenuWrapper
.
append
(
$
(
"
<div>
"
,
{
"
id
"
:
"
browserWidgetContainer
"
,
"
style
"
:
"
clear: both;
"
}));
mainMenuWrapper
.
append
(
$
(
"
<div>
"
,
{
"
id
"
:
"
browserWidgetContainer
"
,
"
style
"
:
"
clear: both;
"
}));
//Inventory Widget Title/Container
mainMenuWrapper
.
append
(
$
(
"
<h1>
"
,
{
"
style
"
:
"
clear: both;
"
}).
text
(
"
Inventory
"
));
mainMenuWrapper
.
append
(
$
(
"
<h1>
"
,
{
"
style
"
:
"
clear: both;
"
}).
text
(
"
Inventory
"
));
mainMenuWrapper
.
append
(
$
(
"
<div>
"
,
{
"
id
"
:
"
inventoryWidgetContainer
"
,
"
style
"
:
"
clear: both;
"
}));
mainMenuWrapper
.
append
(
$
(
"
<div>
"
,
{
"
id
"
:
"
inventoryWidgetContainer
"
,
"
style
"
:
"
clear: both;
"
}));
//Extra content form the profile
var
$mainMenuExtra
=
$
(
"
<div>
"
,
{
id
:
"
mainMenuExtra
"
,
style
:
"
clear:both;
"
});
var
$mainMenuExtra
=
$
(
"
<div>
"
,
{
id
:
"
mainMenuExtra
"
,
style
:
"
clear:both;
"
});
$mainMenuExtra
.
append
(
this
.
mainMenuContentExtra
);
$mainMenuExtra
.
append
(
this
.
mainMenuContentExtra
);
mainMenuWrapper
.
append
(
$mainMenuExtra
);
mainMenuWrapper
.
append
(
$mainMenuExtra
);
//Browser Widget
this
.
browserWidget
=
new
BrowserWidget
(
"
browserWidgetContainer
"
,
this
.
mainController
,
this
.
mainController
.
serverFacade
);
this
.
browserWidget
=
new
BrowserWidget
(
"
browserWidgetContainer
"
,
this
.
mainController
,
this
.
mainController
.
serverFacade
);
this
.
browserWidget
.
init
();
this
.
browserWidget
.
init
();
//Inventory Widget
this
.
inventoryWidget
=
new
InventoryWidget
(
this
.
mainController
,
"
inventoryWidgetContainer
"
,
this
.
menuStructure
);
this
.
inventoryWidget
=
new
InventoryWidget
(
this
.
mainController
,
"
inventoryWidgetContainer
"
,
this
.
menuStructure
);
this
.
inventoryWidget
.
init
();
this
.
inventoryWidget
.
init
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment