diff --git a/main.go b/main.go index 5553690..67b2fa7 100644 --- a/main.go +++ b/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 diff --git a/static/css/main.css b/static/css/main.css index a92b7c7..552928f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -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; } diff --git a/static/js/node.mjs b/static/js/node.mjs index a6f2d25..6f1b4bf 100644 --- a/static/js/node.mjs +++ b/static/js/node.mjs @@ -57,7 +57,7 @@ export class NodeUI extends Component { case 'node': if(node.ID == 0) { page = html` - ${children.length > 0 ? html`
${children}
` : html``} + ${children.length > 0 ? html`
${children}
Notes version ${window._VERSION}
` : html``} ` } else { let padlock = '' diff --git a/static/less/main.less b/static/less/main.less index f9fa33c..c885ec8 100644 --- a/static/less/main.less +++ b/static/less/main.less @@ -322,6 +322,12 @@ header { font-size: 1.5em; } +#notes-version { + margin-top: 64px; + color: #888; + text-align: center; +} + #node-content.encrypted { color: #a00; }