Move version number as title of NR logo

This commit is contained in:
Nick O'Leary
2016-01-08 13:36:49 +00:00
parent e873afd40b
commit 70f3e72a20
6 changed files with 105 additions and 104 deletions

View File

@@ -104,7 +104,6 @@ RED.settings = (function () {
RED.settings.remove("auth-tokens");
}
console.log("Node-RED: " + data.version);
$('#node-red-version').text("v"+data.version);
done();
},
error: function(jqXHR,textStatus,errorThrown) {

View File

@@ -111,8 +111,3 @@ pre code {
background-color: transparent;
border: 0;
}
#node-red-version {
font-size: 0.8em;
color: #bbb;
}

View File

@@ -35,7 +35,7 @@
</head>
<body spellcheck="false">
<div id="header">
<span class="logo">{{#header.url}}<a href="{{.}}">{{/header.url}}{{#header.image}}<img src="{{.}}">{{/header.image}} <span>{{ header.title }}</span>{{#header.url}}</a>{{/header.url}}</span>
<span class="logo">{{#header.url}}<a href="{{.}}">{{/header.url}}{{#header.image}}<img src="{{.}}" title="{{version}}">{{/header.image}} <span>{{ header.title }}</span>{{#header.url}}</a>{{/header.url}}</span>
<ul class="header-toolbar hide">
<li><a id="btn-sidemenu" class="button" data-toggle="dropdown" href="#"><i class="fa fa-bars"></i></a></li>
<ul>
@@ -68,7 +68,7 @@
<div id="sidebar">
<ul id="sidebar-tabs"></ul>
<div id="sidebar-content"></div>
<div id="sidebar-footer"><span id="node-red-version"></span></div>
<div id="sidebar-footer"></div>
</div>
<div id="sidebar-separator"></div>