You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@warble.apache.org by hu...@apache.org on 2018/06/26 22:56:51 UTC

[incubator-warble-server] 01/02: add in fingerprint for verification purposes

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-warble-server.git

commit f97633e4d853843bb10cfb8f75ee83a59ded7b54
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jun 26 17:56:36 2018 -0500

    add in fingerprint for verification purposes
---
 ui/js/coffee/warble_clientlist.coffee | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/ui/js/coffee/warble_clientlist.coffee b/ui/js/coffee/warble_clientlist.coffee
index 47038f8..cf8a61e 100644
--- a/ui/js/coffee/warble_clientlist.coffee
+++ b/ui/js/coffee/warble_clientlist.coffee
@@ -18,7 +18,7 @@ makeClientType = (main, t) ->
         set(tbl, 'class', 'table table-striped')
         thead = mk('thead')
         tr = mk('tr')
-        for el in ['ID', 'IP', 'Hostname', 'Location', 'Verified', 'Enabled', 'Last Ping',  'Actions']
+        for el in ['ID', 'IP', 'Hostname / Fingerprint', 'Location', 'Verified', 'Enabled', 'Last Ping',  'Actions']
             td = mk('th')
             if el.match(/Hostname/)
                 td.style.width = "200px"
@@ -85,6 +85,13 @@ clientlist = (json, state) ->
             # node hostname
             t = mk('td')
             app(t, txt(source.hostname))
+            app(t, mk('br'))
+            fp = mk('kbd', {}, source.fingerprint)
+            fp.style.fontWeight = 'normal'
+            fp.style.color = '#333'
+            fp.style.background = 'none'
+            fp.style.boxShadow = 'none'
+            app(t, fp)
             app(d, t)
             
             # node location
@@ -155,6 +162,8 @@ clientlist = (json, state) ->
             
             app(d, act)
             tbody.inject(d)
+            
+            
         
     #app(slist, tbl)
     state.widget.inject(slist, true)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org