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/27 18:30:01 UTC
[incubator-warble-server] 03/03: regen JS
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 1ad6390b1b33f5e842a4cf823e2772434d00d8ab
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 27 13:29:53 2018 -0500
regen JS
---
ui/js/warble.v1.js | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/ui/js/warble.v1.js b/ui/js/warble.v1.js
index 4058c03..8b5d0bd 100644
--- a/ui/js/warble.v1.js
+++ b/ui/js/warble.v1.js
@@ -4828,6 +4828,17 @@ clientlist = function(json, state) {
line = new HTML('div', {
"class": 'clientcardline'
});
+ line.inject([
+ new HTML('b', {}, "Notes: "), new HTML('span', {
+ title: 'Click to edit',
+ id: "node_description_" + source.id,
+ onclick: "nodeVal(" + source.id + ", this, 'description');"
+ }, txt(source.description || "(none)"))
+ ]);
+ d.inject(line);
+ line = new HTML('div', {
+ "class": 'clientcardline'
+ });
lp = new Date(source.lastping * 1000.0);
line.inject([new HTML('b', {}, "Last Active: "), txt(moment(lp).fromNow() + " (" + lp.ISOBare() + ")")]);
d.inject(line);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org