summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-01-23 13:13:15 +0100
committerJakob Borg <jakob@nym.se>2014-01-23 13:13:15 +0100
commit01096fff6c2e88e646ae2109ea3e286cb817f0fa (patch)
tree3d58cdd32f960375cb8d8a1c2e197d7ed04822ce /gui
parent2ea3558283c12e0ffbae9aa9e207743ada896163 (diff)
Add version info to GUI (fixes #41)
Diffstat (limited to 'gui')
-rw-r--r--gui/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/index.html b/gui/index.html
index ea2f5f211a..95cf5bf79d 100644
--- a/gui/index.html
+++ b/gui/index.html
@@ -100,7 +100,11 @@ html, body {
<table class="table table-condensed">
<tbody>
<tr ng-repeat="(node, address) in config.nodes" ng-class="{'text-primary': !!connections[node], 'text-muted': node == config.myID}">
- <td><abbr class="text-monospace" title="{{node}}">{{node | short}}</abbr></td>
+ <td><span class="text-monospace">{{node | short}}</span></td>
+ <td>
+ <span ng-show="node != config.myID">{{connections[node].ClientVersion}}</span>
+ <span ng-show="node == config.myID">{{version}}</span>
+ </td>
<td>
<span ng-show="node == config.myID">
<span class="glyphicon glyphicon-ok"></span>