sidepanel: add a header with appname & version
This commit is contained in:
parent
275a8cd814
commit
9a35f23c38
3 changed files with 22 additions and 1 deletions
|
|
@ -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()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
///////////////////////
|
||||
|
||||
PACKAGE = require('../../../app/package.json')
|
||||
|
||||
///////////////////////
|
||||
|
||||
SESSION = []
|
||||
STATE = []
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue