Commit d2f6590b by Kornkitt Poolsup

hide folder

parent 14c6e17f
...@@ -40,10 +40,10 @@ ...@@ -40,10 +40,10 @@
<bootstrap-tagsinput ng-model="ctrl.dashboard.tags" tagclass="label label-tag" placeholder="add tags"> <bootstrap-tagsinput ng-model="ctrl.dashboard.tags" tagclass="label label-tag" placeholder="add tags">
</bootstrap-tagsinput> </bootstrap-tagsinput>
</div> </div>
<folder-picker initial-title="ctrl.dashboard.meta.folderTitle" initial-folder-id="ctrl.dashboard.meta.folderId" <!-- <folder-picker initial-title="ctrl.dashboard.meta.folderTitle" initial-folder-id="ctrl.dashboard.meta.folderId"
on-change="ctrl.onFolderChange" enable-create-new="true" is-valid-selection="true" label-class="width-7" on-change="ctrl.onFolderChange" enable-create-new="true" is-valid-selection="true" label-class="width-7"
dashboard-id="ctrl.dashboard.id"> dashboard-id="ctrl.dashboard.id">
</folder-picker> </folder-picker> -->
<gf-form-switch class="gf-form" label="Editable" <gf-form-switch class="gf-form" label="Editable"
tooltip="Uncheck, then save and reload to disable all dashboard editing" checked="ctrl.dashboard.editable" tooltip="Uncheck, then save and reload to disable all dashboard editing" checked="ctrl.dashboard.editable"
label-class="width-7"> label-class="width-7">
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
"links": [], "links": [],
"panels": [ "panels": [
{ {
"content": "<div class=\"dashboard-header\">\n <span>Welcome to NEXPIE</span>\n</div>", "content": "<div class=\"dashboard-header\" style=\"padding-top: 10px;\"><img src=https://dev-portal.nexpie.io/static/media/nexpie_logo_black.674a6f84.svg height=\"32\"></div>",
"datasource": null, "datasource": null,
"editable": true, "editable": false,
"gridPos": { "gridPos": {
"h": 2, "h": 2,
"w": 24, "w": 24,
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
{ {
"datasource": null, "datasource": null,
"folderId": 0, "folderId": 0,
"editable": false,
"gridPos": { "gridPos": {
"h": 15, "h": 15,
"w": 11, "w": 11,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment