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 = []