Dashboard Manager View
- added ng-drag-drop
- deleted old customize dashboard
- managing dashboards
Change-Id: I937adf2ced95312a66086c8e20a2386b02a40934
diff --git a/views/ngXosViews/dashboardManager/src/templates/dashboard-form.tpl.html b/views/ngXosViews/dashboardManager/src/templates/dashboard-form.tpl.html
new file mode 100644
index 0000000..6a584e4
--- /dev/null
+++ b/views/ngXosViews/dashboardManager/src/templates/dashboard-form.tpl.html
@@ -0,0 +1,39 @@
+<div class="row">
+ <div class="col-xs-10">
+ <h1>Manage Dashboard</h1>
+ </div>
+ <div class="col-xs-2 text-right">
+ <a ui-sref="manage-user-dashboards" class="btn btn-success">Back</a>
+ </div>
+</div>
+<div class="row">
+ <div class="col-xs-12">
+ <xos-form ng-model="vm.dashboard" config="vm.formConfig"></xos-form>
+ </div>
+</div>
+<div class="row" ng-show="vm.tosca">
+ <div class="col-sm-6">
+ <div class="row">
+ <div class="col-xs-12">
+ <xos-alert show="true" config="{type: 'info'}">
+ Include this lines in a TOSCA recipe to load the {{vm.dashboard.name}} dashboard in the system.
+ </xos-alert>
+ </div>
+ <div class="col-xs-12">
+ <pre>{{vm.tosca}}</pre>
+ </div>
+ </div>
+ </div>
+ <div class="col-sm-6">
+ <div class="row">
+ <div class="col-xs-12">
+ <xos-alert show="true" config="{type: 'info'}">
+ Add this lines as a requirement for the user in a TOSCA recipe to assign the {{vm.dashboard.name}} to the user.
+ </xos-alert>
+ </div>
+ <div class="col-xs-12">
+ <pre>{{vm.toscaRequirements}}</pre>
+ </div>
+ </div>
+ </div>
+</div>
\ No newline at end of file