mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add version number of sidebar footer
This commit is contained in:
parent
dbaacc411a
commit
0b4c652ce7
@ -104,6 +104,7 @@ RED.settings = (function () {
|
|||||||
RED.settings.remove("auth-tokens");
|
RED.settings.remove("auth-tokens");
|
||||||
}
|
}
|
||||||
console.log("Node-RED: " + data.version);
|
console.log("Node-RED: " + data.version);
|
||||||
|
$('#node-red-version').text("v"+data.version);
|
||||||
done();
|
done();
|
||||||
},
|
},
|
||||||
error: function(jqXHR,textStatus,errorThrown) {
|
error: function(jqXHR,textStatus,errorThrown) {
|
||||||
|
@ -111,3 +111,8 @@ pre code {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#node-red-version {
|
||||||
|
font-size: 0.8em;
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
<div id="sidebar">
|
<div id="sidebar">
|
||||||
<ul id="sidebar-tabs"></ul>
|
<ul id="sidebar-tabs"></ul>
|
||||||
<div id="sidebar-content"></div>
|
<div id="sidebar-content"></div>
|
||||||
<div id="sidebar-footer"></div>
|
<div id="sidebar-footer"><span id="node-red-version"></span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="sidebar-separator"></div>
|
<div id="sidebar-separator"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user