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
47388199
Commit
47388199
authored
13 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
MINOR: Small cosmetic fixes to the strain browser
SVN: 24009
parent
3c50c330
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eu_basynthec/source/html/browser/openbis-browser.html
+10
-7
10 additions, 7 deletions
eu_basynthec/source/html/browser/openbis-browser.html
with
10 additions
and
7 deletions
eu_basynthec/source/html/browser/openbis-browser.html
+
10
−
7
View file @
47388199
...
@@ -14,7 +14,8 @@
...
@@ -14,7 +14,8 @@
<!-- <script type="text/javascript" src="openbis-request-cache.js"></script> -->
<!-- <script type="text/javascript" src="openbis-request-cache.js"></script> -->
<script>
<script>
basynthec
=
new
openbis_basynthec
(
'
https://basynthec.ethz.ch/openbis/openbis
'
,
'
https://basynthec.ethz.ch/datastore_server
'
);
//basynthec = new openbis_basynthec('https://basynthec.ethz.ch/openbis/openbis', 'https://basynthec.ethz.ch/datastore_server');
basynthec
=
new
openbis_basynthec
(
'
http://localhost:8888/openbis/openbis
'
,
'
http://localhost:8889/datastore_server
'
);
var
w
=
1024
;
var
w
=
1024
;
...
@@ -26,10 +27,13 @@ var dataSetsByStrain = { };
...
@@ -26,10 +27,13 @@ var dataSetsByStrain = { };
// prefixes of strain names to be grouped togehter
// prefixes of strain names to be grouped togehter
var
STRAIN_GROUP_PREFIXES
=
[
"
JJS-DIN
"
,
"
JJS-MGP
"
];
var
STRAIN_GROUP_PREFIXES
=
[
"
JJS-DIN
"
,
"
JJS-MGP
"
];
// The names to show the user for the strain groups
var
STRAIN_GROUP_PREFIXES_DISPLAY_NAME
=
{
"
JJS-DIN
"
:
"
JJS-Din
"
,
"
JJS-MGP
"
:
"
JJS-MGP
"
};
// groups of strains to be displayed
// groups of strains to be displayed
var
strainGroups
=
[];
var
strainGroups
=
[];
var
IGNORED_DATASET_TYPES
=
[
"
EXCEL_ORIGINAL
"
,
"
TSV_EXPORT
"
,
"
UNKNOWN
"
];
var
IGNORED_DATASET_TYPES
=
[
"
EXCEL_ORIGINAL
"
,
"
UNKNOWN
"
];
//The inspected strains
//The inspected strains
var
inspected
=
[];
var
inspected
=
[];
...
@@ -92,7 +96,7 @@ function createStrainGroups(strains) {
...
@@ -92,7 +96,7 @@ function createStrainGroups(strains) {
return
{
name
:
strain
,
label
:
strain
.
substring
(
strainPrefix
.
length
)};
return
{
name
:
strain
,
label
:
strain
.
substring
(
strainPrefix
.
length
)};
});
});
return
{
groupName
:
strainPrefix
,
strains
:
groupStrains
};
return
{
groupName
:
STRAIN_GROUP_PREFIXES_DISPLAY_NAME
[
strainPrefix
]
,
strains
:
groupStrains
};
});
});
var
otherStrains
=
strains
.
filter
(
function
(
strain
)
{
var
otherStrains
=
strains
.
filter
(
function
(
strain
)
{
...
@@ -413,10 +417,9 @@ function groupBy(numElts)
...
@@ -413,10 +417,9 @@ function groupBy(numElts)
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
"
#main
"
).
hide
()
$
(
"
#main
"
).
hide
()
$
(
'
#logout-button
'
).
click
(
function
()
{
basynthec
.
server
.
logout
(
function
(
data
)
{})
});
$
(
'
#logout-button
'
).
click
(
function
()
{
basynthec
.
server
.
logout
(
function
(
data
)
{
window
.
location
.
reload
();
$
(
'
#login-form
'
).
submit
(
function
()
{
})
basynthec
.
server
.
login
(
$
(
'
#username
'
).
val
(),
$
(
'
#password
'
).
val
(),
function
(
data
)
{
enterApp
()
})
});
});
$
(
'
#login-form
'
).
submit
(
function
()
{
$
(
'
#login-form
'
).
submit
(
function
()
{
...
...
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