Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractal.js
Commits
16863544
Commit
16863544
authored
Jul 18, 2018
by
Sascha Herzinger
Browse files
added links to several resources in control panel
parent
30fd2d25
Pipeline
#5834
passed with stages
in 6 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/vue/components/ControlPanel.vue
View file @
16863544
...
...
@@ -14,6 +14,11 @@
<hr
class=
"fjs-seperator"
/>
<task-view/>
</div>
<div
class=
"fjs-links"
>
<input
type=
"button"
value=
"Report Issue"
@
click=
"issuePopup"
/>
<input
type=
"button"
value=
"Cite Paper"
@
click=
"citationPopup"
/>
<input
type=
"button"
value=
"About"
@
click=
"infoPopup"
/>
</div>
</div>
</
template
>
...
...
@@ -76,6 +81,17 @@
},
unfocusAll
()
{
store
.
getters
.
controlPanel
.
panels
.
forEach
(
panel
=>
panel
.
unFocus
())
},
issuePopup
()
{
const
win
=
window
.
open
(
'
https://github.com/LCSB-BioCore/Fractalis-Issues/issues/new/choose
'
,
'
_blank
'
)
win
.
focus
()
},
citationPopup
()
{
window
.
prompt
(
'
Copy to clipboard: Ctrl+C or Cmd+C
'
,
'
Manuscript in Preparation
'
)
},
infoPopup
()
{
const
win
=
window
.
open
(
'
https://fractalis.lcsb.uni.lu
'
,
'
_blank
'
)
win
.
focus
()
}
},
mounted
()
{
...
...
@@ -125,4 +141,7 @@
transform
:
translate
(
0
,
50vh
)
rotate
(
-90deg
)
/*remove any margin after rotation*/
margin
:
-100vw
.fjs-links
position
:
absolute
bottom
:
60px
</
style
>
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment