sidepanel: add a header with appname & version

This commit is contained in:
jean-emmanuel 2017-04-19 15:56:34 +02:00
parent 275a8cd814
commit 9a35f23c38
3 changed files with 22 additions and 1 deletions

View file

@ -144,6 +144,9 @@ var toggle = function(){
module.exports = {
init:function(){
$('#sidepanel').append(`
<div class="navigation"><ul><li><a>${PACKAGE.productName.toUpperCase()} v${PACKAGE.version}</a></li></ul></div>
`)
$('#sidepanel').append(sidepanel)
toggle()
},

View file

@ -1,5 +1,9 @@
///////////////////////
PACKAGE = require('../../../app/package.json')
///////////////////////
SESSION = []
STATE = []

View file

@ -23,9 +23,23 @@
opacity: 1;
}
.navigation {
margin-bottom: 10rem;
box-shadow: 0 2rem 0 0 var(--color-bg);
li {
cursor:default;
}
a {
text-transform: none;
font-weight: normal;
color: var(--color-accent);
justify-content: center;
}
}
#options {
position:absolute;
top:8rem;
// top:8rem;
left:8rem;
right:8rem;
list-style:none;