aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/hbs/dashboard/widget.hbs
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-09-29 12:21:26 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-09-29 12:21:33 +0600
commit2fa4b26cad556de91a15d9843dade39d62dc2291 (patch)
treeb269d0b64938651abb1c9392e1900050342a47a4 /server/sonar-web/src/main/hbs/dashboard/widget.hbs
parent8de1ad18508d0b707e2f45fe2d0d9701b2990b92 (diff)
downloadsonarqube-2fa4b26cad556de91a15d9843dade39d62dc2291.tar.gz
sonarqube-2fa4b26cad556de91a15d9843dade39d62dc2291.zip
SONAR-5646 Widget drag'n'drop
Diffstat (limited to 'server/sonar-web/src/main/hbs/dashboard/widget.hbs')
-rw-r--r--server/sonar-web/src/main/hbs/dashboard/widget.hbs43
1 files changed, 20 insertions, 23 deletions
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 @@
-<div class="block">
+{{#if state.configure}}
- {{#if state.configure}}
-
- <div class="widget-header">
- <div class="widget-actions">
- {{#notEmpty properties}}<a class="js-edit-widget">Edit</a>{{/notEmpty}}
- <a class="js-delete-widget">Delete</a>
- </div>
- <div class="widget-handle">{{name}}</div>
+ <div class="widget-header">
+ <div class="widget-actions">
+ {{#notEmpty properties}}<a class="js-edit-widget">Edit</a>{{/notEmpty}}
+ <a class="js-delete-widget">Delete</a>
</div>
+ <div class="widget-handle">{{name}}</div>
+ </div>
- <div class="widget_props hidden">
- {{> '_widget-props'}}
- </div>
+ <div class="widget_props hidden">
+ {{> '_widget-props'}}
+ </div>
- <div class="configure_widget">
- <div class="transparent"></div>
- <div class="widget">
- {{#if html}}{{{html}}}{{else}}<i class="spinner spinner-margin"></i>{{/if}}
- </div>
+ <div class="configure_widget">
+ <div class="transparent"></div>
+ <div class="widget">
+ {{#if html}}{{{html}}}{{else}}<i class="spinner spinner-margin"></i>{{/if}}
</div>
+ </div>
- {{else}}
+{{else}}
- <div class="widget">
- {{#if html}}{{{html}}}{{else}}<i class="spinner spinner-margin"></i>{{/if}}
- </div>
+ <div class="widget">
+ {{#if html}}{{{html}}}{{else}}<i class="spinner spinner-margin"></i>{{/if}}
+ </div>
- {{/if}}
-</div>
+{{/if}}