Bumped to v11, display version in web-UI
This commit is contained in:
parent
db33be9a37
commit
63a7370570
2
main.go
2
main.go
@ -20,7 +20,7 @@ import (
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const VERSION = "v10";
|
||||
const VERSION = "v11";
|
||||
const LISTEN_HOST = "0.0.0.0";
|
||||
const DB_SCHEMA = 13
|
||||
|
||||
|
@ -279,6 +279,11 @@ header .menu {
|
||||
margin-bottom: 32px;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
#notes-version {
|
||||
margin-top: 64px;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
}
|
||||
#node-content.encrypted {
|
||||
color: #a00;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ export class NodeUI extends Component {
|
||||
case 'node':
|
||||
if(node.ID == 0) {
|
||||
page = html`
|
||||
${children.length > 0 ? html`<div class="child-nodes">${children}</div>` : html``}
|
||||
${children.length > 0 ? html`<div class="child-nodes">${children}</div><div id="notes-version">Notes version ${window._VERSION}</div>` : html``}
|
||||
`
|
||||
} else {
|
||||
let padlock = ''
|
||||
|
@ -322,6 +322,12 @@ header {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
#notes-version {
|
||||
margin-top: 64px;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#node-content.encrypted {
|
||||
color: #a00;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user