From e4a6cafe94072ff68e6fbb34a0e59a8ee557ca85 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 15 Feb 2015 13:04:19 +0200 Subject: client: add merge button, does nothing, enabled for two or more selected nodes --- res/client/css/partials/input-bar.scss | 6 ++++++ res/client/css/style.css | 5 +++++ res/templates/index.html | 3 +++ src/client/main.js | 1 + src/client/view/selection.js | 33 +++++++++++++++++++++++++++++++-- 5 files changed, 46 insertions(+), 2 deletions(-) diff --git a/res/client/css/partials/input-bar.scss b/res/client/css/partials/input-bar.scss index 05c7abd2..568c703b 100644 --- a/res/client/css/partials/input-bar.scss +++ b/res/client/css/partials/input-bar.scss @@ -42,6 +42,12 @@ } } +#merge-tool { + position: absolute; + top: 160px; + left: 24px; +} + #textanalyser.ui-autocomplete-input { font-family: $base-font-family; color: $mid-grey; diff --git a/res/client/css/style.css b/res/client/css/style.css index aef50fc7..ae58ef0e 100644 --- a/res/client/css/style.css +++ b/res/client/css/style.css @@ -535,6 +535,11 @@ body.debug .debug-ui-right { #input-container__graph-input:focus { width: 80%; } +#merge-tool { + position: absolute; + top: 160px; + left: 24px; } + #textanalyser.ui-autocomplete-input { font-family: "Source_Regular", sans-serif; color: #919095; } diff --git a/res/templates/index.html b/res/templates/index.html index 27129a4c..d4353d17 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -65,6 +65,9 @@ var rz_config = { // set as a global variable +
+ +