Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eicview
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
EIC
documentation
eicview
Commits
377b5647
Commit
377b5647
authored
3 years ago
by
Dmitry Romanov
Browse files
Options
Downloads
Patches
Plain Diff
Initial test commit
parent
27af22af
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+6
-0
6 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+19
-0
19 additions, 0 deletions
.gitlab-ci.yml
.htaccess
+8
-0
8 additions, 0 deletions
.htaccess
index.htm
+56
-0
56 additions, 0 deletions
index.htm
with
89 additions
and
0 deletions
.gitignore
0 → 100644
+
6
−
0
View file @
377b5647
artifacts/node_modules/
artifacts/package-lock.json
artifacts/dist/
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
19
−
0
View file @
377b5647
stages
:
-
deploy
pages
:
image
:
eicweb.phy.anl.gov:4567/containers/eic_container/debian_base:testing
stage
:
deploy
rules
:
-
if
:
'
$CI_SERVER_HOST
==
"gitlab.phy.anl.gov"
&&
$CI_COMMIT_BRANCH
==
"master"'
script
:
-
git clone -b 6.1.0 https://github.com/root-project/jsroot.git public
-
cp .htaccess public/.
-
cp -r macros public/.
-
cd public && ln -s index.htm index.html && cd ..
#- cp index.htm public/.
#- cp -r `root-config --prefix`/js public
artifacts
:
paths
:
-
public
This diff is collapsed.
Click to expand it.
.htaccess
0 → 100644
+
8
−
0
View file @
377b5647
<
IfModule
mod_headers.c
>
<
FilesMatch
"\.root"
>
Header
set
Access-Control-Allow-Origin "*"
Header
set
Access-Control-Allow-Headers "range"
Header
set
Access-Control-Expose-Headers "content-range,content-length,accept-ranges"
Header
set
Access-Control-Allow-Methods "HEAD,GET"
</
FilesMatch
>
</
IfModule
>
This diff is collapsed.
Click to expand it.
index.htm
0 → 100644
+
56
−
0
View file @
377b5647
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Read a ROOT file
</title>
<link
rel=
"shortcut icon"
href=
"img/RootIcon.ico"
/>
<!-- To make use of RequireJS, replace following line with commented one -->
<!--script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="scripts/JSRoot.core.js"></script-->
<script
type=
"text/javascript"
src=
"scripts/JSRoot.core.js"
></script>
<script
type=
"text/javascript"
src=
"https://eicweb.phy.anl.gov/EIC/detectors/topside/-/jobs/87825/artifacts/raw/images/jsroot/scripts/JSRoot.core.js"
></script>
</head>
<body>
<div
id=
"simpleGUI"
path=
"../files/"
files=
"ct.root;exclusion.root;fillrandom.root;glbox.root;graph.root;hsimple.root;legends.root;rf107.root;stacks.root;zdemo.root"
>
loading scripts ...
</div>
<script
type=
"text/javascript"
>
JSROOT
.
buildGUI
(
"
simpleGUI
"
);
</script>
</body>
</html>
<!--
This is JSROOT main page, which aims to display content of ROOT files.
Several URL parameters could be specified when opening page:
file - name of the file(s), which will be automatically open with page loading
json - name of JSON file(s) with ROOT object, stored by TBufferJSON::ConvertToJSON method
item - object name in the file to display
items - object names in the file to display
opt - draw option for the item
opts - draw options for the items
layout - can be 'simple', 'flex', 'collapsible', 'tabs' or gridNxM where N and M are integer values
nobrowser - only file item(s) will be displayed, browser will be disabled
load - name of JavaScript(s), automatically loaded at the beginning
mathjax - use MathJax for Latex output (automatically loaded for TMathText objects)
palette - id of default color palette, 51..123 - new ROOT6 palette (default 57)
style - TStyle object itemname or JSON file name
toolbar - configure position and orientation of pad toolbar, combine 'right','vert','off'
Example:
https://root.cern/js/latest/?file=../files/hsimple.root&layout=grid2x2&item=[hpx;1,hpxpy;1]&opts=[,colz]
Page can be used to open files from other web servers like:
https://root.cern/js/latest/?file=https://jsroot.gsi.de/files/hsimple.root
But one should be aware about Cross-Origin Request blocking.
Read https://developer.mozilla.org/en/http_access_control for more details.
To avoid problem at all, one can copy only index.htm on the web server where data files are located.
And specify full path to the JSRoot.core.js script like
<script type="text/javascript" src="https://root.cern/js/latest/scripts/JSRoot.core.min.js"></script>
If necessary, complete JSROOT can be installed on the web server.
Project repository: https://github.com/root-project/jsroot.
-->
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