From 88b68a3c5c87c21a210cde718311f099e826fbac Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Tue, 17 Dec 2019 17:14:30 +0000 Subject: [PATCH] move controls to the right of the tree nodes --- webui/src/main/js/files.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webui/src/main/js/files.js b/webui/src/main/js/files.js index 9c51a997..aec50538 100644 --- a/webui/src/main/js/files.js +++ b/webui/src/main/js/files.js @@ -32,8 +32,8 @@ class Node { var nameLink = "" + this.path + "" var html = "
  • " + nameLink - html += "
    " + unshareLink + " " + commentLink + " " + certifyLink + " " + certified + "
    " - html += "
    " + html += "
    " + unshareLink + " " + commentLink + " " + certifyLink + " " + certified + "
    " + html += "
    " html += "
  • " div.innerHTML = html @@ -41,13 +41,13 @@ class Node { if (this.children.length == 0) { var link = "" + this.path + "" - var commentDiv = "
    " - var html = "
  • " + link + "" + unshareLink + " " + commentLink + " " + certifyLink + "" + commentDiv + "
  • " + var commentDiv = "
    " + var html = "
  • " + link + "" + unshareLink + " " + commentLink + " " + certifyLink + "" + commentDiv + "
  • " div.innerHTML = html } else { var link = ""+this.path+"" - var commentDiv = "
    " - var l = "
  • " + link + unshareLink + " " + commentLink + " " + certifyLink + commentDiv + var commentDiv = "
    " + var l = "
  • " + link + "" + unshareLink + " " + commentLink + " " + certifyLink + "" + commentDiv l += "