Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geoviewer
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
documentation
geoviewer
Merge requests
!2
Draft: Resolve "Add artifacts viewer"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
Draft: Resolve "Add artifacts viewer"
2-add-artifacts-viewer
into
master
Overview
0
Commits
30
Pipelines
0
Changes
2
Open
Draft: Resolve "Add artifacts viewer"
Dmitry Romanov
requested to merge
2-add-artifacts-viewer
into
master
Jul 3, 2021
Overview
0
Commits
30
Pipelines
0
Changes
2
Closes
#2
0
0
Merge request reports
Viewing commit
fbba22a6
Prev
Next
Show latest version
2 files
+
41
−
27
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
fbba22a6
Embed an artifact model
· fbba22a6
Arina
authored
Aug 14, 2021
artifacts/artifacts.js
+
20
−
8
View file @ fbba22a6
Edit in single-file editor
Open in Web IDE
Show full file
class
Artifact
s
{
class
Artifact
{
constructor
(
type
,
path
,
desc
,
job
,
repo
,
imagePdf
=
null
,
imageCategory
=
null
,
imageTag
=
null
)
{
constructor
(
type
,
path
,
desc
,
job
,
repo
,
imagePdf
=
null
,
imageCategory
=
null
,
imageTag
=
null
)
{
this
.
type
=
type
;
this
.
type
=
type
;
this
.
path
=
path
;
this
.
path
=
path
;
@@ -11,9 +11,11 @@ class Artifacts {
@@ -11,9 +11,11 @@ class Artifacts {
this
.
imageCategory
=
imageCategory
;
this
.
imageCategory
=
imageCategory
;
this
.
imageTag
=
imageTag
;
this
.
imageTag
=
imageTag
;
}
}
/** @type {List<Artifact>} Список артефактов */
static
list
=
[
static
list
=
[
new
Artifact
s
(
new
Artifact
(
"
image
"
,
// type [image, gdml, root]
"
image
"
,
// type [image, gdml, root]
"
images/view01_top.png
"
,
// artifact path
"
images/view01_top.png
"
,
// artifact path
"
Top image of inclosure
"
,
// description of the artifact
"
Top image of inclosure
"
,
// description of the artifact
@@ -23,28 +25,38 @@ class Artifacts {
@@ -23,28 +25,38 @@ class Artifacts {
"
main
"
,
// Category
"
main
"
,
// Category
"
central-detector
"
,
// Tag
"
central-detector
"
,
// Tag
),
),
new
Artifact
s
(
new
Artifact
(
"
file
"
,
// general file, just downloads if clicked
"
file
"
,
// general file, just downloads if clicked
"
geo/athena.gdml
"
,
"
geo/athena.gdml
"
,
"
ATHENA full geometry in GDML
"
,
"
ATHENA full geometry in GDML
"
,
"
report
"
,
"
report
"
,
"
athena
"
,
"
athena
"
,
),
),
new
Artifact
s
(
new
Artifact
(
"
georoot
"
,
// geometry in ROOT format (opens in Geometry Browser)
"
georoot
"
,
// geometry in ROOT format (opens in Geometry Browser)
"
geo/detector_geo.root
"
,
"
geo/detector_geo.root
"
,
"
ATHENA central detector in ROOT
"
,
"
ATHENA central detector in ROOT
"
,
"
report
"
,
"
report
"
,
"
athena
"
,
"
athena
"
,
),
),
new
Artifact
s
(
new
Artifact
(
"
constants
"
,
// File with constants listing (opens in constants browser (TODO in future))
"
constants
"
,
// File with constants listing (opens in constants browser (TODO in future))
"
doc/constants.out
"
,
"
doc/constants.out
"
,
"
List of all calculated constants
"
,
"
List of all calculated constants
"
,
"
report
"
,
"
report
"
,
"
athena
"
"
athena
"
)
),
new
Artifact
(
"
image
"
,
// type [image, gdml, root]
"
images/view02a.png
"
,
// artifact path
"
Top image of inclosure
"
,
// description of the artifact
"
report
"
,
// creator job name
"
athena
"
,
// repository
"
images/view01_top.pdf
"
,
// PDF version of the image
"
main
"
,
// Category
"
central-detector
"
,
// Tag
),
]
]
}
}
export
default
Artifact
s
;
export
default
Artifact
;
Loading