Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uhepp.org
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frank Sauerburger
uhepp.org
Merge requests
!33
Draft: Resolve "UI redesign"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Resolve "UI redesign"
80-ui-redesign
into
master
Overview
0
Commits
4
Pipelines
4
Changes
13
Open
Frank Sauerburger
requested to merge
80-ui-redesign
into
master
3 years ago
Overview
0
Commits
4
Pipelines
4
Changes
13
Expand
Closes
#80
0
0
Merge request reports
Compare
master
version 2
5f8f4593
3 years ago
version 1
8e5f8fc6
3 years ago
master (base)
and
latest version
latest version
58712a98
4 commits,
3 years ago
version 2
5f8f4593
3 commits,
3 years ago
version 1
8e5f8fc6
2 commits,
3 years ago
13 files
+
350
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
uhepp-js/src/components/AccessButtonGroup.jsx
0 → 100644
+
43
−
0
Options
import
React
from
"
react
"
/**
* The AccessButtonGroup component provides quick access to the plot
*
* The AccessButtonGroup renders as a Bootstrap button group with different
* access methods, e.g., direct download as an image or as json, API access
* snippets or command-line tool shippets. The component is reactive and
* reduces to a burger menu on small screens.
*/
const
AccessButtonGroup
=
({
uuid
,
collection_id
})
=>
(
<
div
className
=
"ml-auto btn-group btn-group-sm access-menu"
>
<
div
className
=
"btn-group btn-group-sm dropdown"
>
<
button
className
=
"btn btn-secondary dropdown-toggle"
type
=
"button"
data-toggle
=
"dropdown"
>
Direct download
</
button
>
<
div
className
=
"dropdown-menu dropdown-menu-right p-4 shadow"
>
</
div
>
</
div
>
<
div
className
=
"btn-group btn-group-sm dropdown"
>
<
button
className
=
"btn btn-primary dropdown-toggle"
type
=
"button"
data-toggle
=
"dropdown"
>
API Access
</
button
>
<
div
className
=
"dropdown-menu dropdown-menu-right p-4 shadow"
>
</
div
>
</
div
>
<
div
className
=
"btn-group btn-group-sm dropdown"
>
<
button
className
=
"btn btn-secondary dropdown-toggle"
type
=
"button"
data-toggle
=
"dropdown"
>
CLI tool
</
button
>
<
div
className
=
"dropdown-menu dropdown-menu-right p-4 shadow"
>
</
div
>
</
div
>
</
div
>
)
export
default
AccessButtonGroup
Loading