Commit 16863544 authored by Sascha Herzinger's avatar 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
...@@ -14,6 +14,11 @@ ...@@ -14,6 +14,11 @@
<hr class="fjs-seperator"/> <hr class="fjs-seperator"/>
<task-view/> <task-view/>
</div> </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> </div>
</template> </template>
...@@ -76,6 +81,17 @@ ...@@ -76,6 +81,17 @@
}, },
unfocusAll () { unfocusAll () {
store.getters.controlPanel.panels.forEach(panel => panel.unFocus()) 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 () { mounted () {
...@@ -125,4 +141,7 @@ ...@@ -125,4 +141,7 @@
transform: translate(0,50vh)rotate(-90deg) transform: translate(0,50vh)rotate(-90deg)
/*remove any margin after rotation*/ /*remove any margin after rotation*/
margin: -100vw margin: -100vw
.fjs-links
position: absolute
bottom: 60px
</style> </style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment