From 2fa4b26cad556de91a15d9843dade39d62dc2291 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 29 Sep 2014 12:21:26 +0600 Subject: SONAR-5646 Widget drag'n'drop --- server/sonar-web/src/main/hbs/dashboard/widget.hbs | 43 ++++++++++------------ 1 file changed, 20 insertions(+), 23 deletions(-) (limited to 'server/sonar-web/src/main/hbs/dashboard/widget.hbs') diff --git a/server/sonar-web/src/main/hbs/dashboard/widget.hbs b/server/sonar-web/src/main/hbs/dashboard/widget.hbs index 7b948096598..844c3ec0c4e 100644 --- a/server/sonar-web/src/main/hbs/dashboard/widget.hbs +++ b/server/sonar-web/src/main/hbs/dashboard/widget.hbs @@ -1,31 +1,28 @@ -
+{{#if state.configure}} - {{#if state.configure}} - -
-
- {{#notEmpty properties}}Edit{{/notEmpty}} - Delete -
-
{{name}}
+
+
+ {{#notEmpty properties}}Edit{{/notEmpty}} + Delete
+
{{name}}
+
- + -
-
-
- {{#if html}}{{{html}}}{{else}}{{/if}} -
+
+
+
+ {{#if html}}{{{html}}}{{else}}{{/if}}
+
- {{else}} +{{else}} -
- {{#if html}}{{{html}}}{{else}}{{/if}} -
+
+ {{#if html}}{{{html}}}{{else}}{{/if}} +
- {{/if}} -
+{{/if}} -- cgit v1.2.3