mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 01:48:54 +00:00
CR3
This commit is contained in:
parent
627dc26004
commit
54ade336f5
@ -10,7 +10,7 @@ const dashboardGridOptions = {
|
||||
outerMargin: false,
|
||||
sparse: false,
|
||||
isMobile: false,
|
||||
mobileBreakPoint: 1200,
|
||||
mobileBreakPoint: 800,
|
||||
mobileModeEnabled: true,
|
||||
minColumns: 1,
|
||||
minRows: 1,
|
||||
@ -22,11 +22,11 @@ const dashboardGridOptions = {
|
||||
minSizeY: 1,
|
||||
maxSizeY: null,
|
||||
resizable: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
handles: ['n', 'e', 's', 'w', 'ne', 'se', 'sw', 'nw'],
|
||||
},
|
||||
draggable: {
|
||||
enabled: true, // whether dragging items is supported
|
||||
enabled: false,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right" uib-dropdown-menu>
|
||||
<li ng-if="!$ctrl.dashboard.is_archived"><a ng-click="$ctrl.editDashboard()">Edit Dashboard</a></li>
|
||||
<li ng-if="!$ctrl.dashboard.is_archived" ng-class="{disabled: $ctrl.isGridDisabled}"><a ng-click="$ctrl.editLayout(true)">Edit Layout</a></li>
|
||||
<li ng-if="!$ctrl.dashboard.is_archived" ng-class="{hidden: $ctrl.isGridDisabled}"><a ng-click="$ctrl.editLayout(true)">Edit Layout</a></li>
|
||||
<li ng-if="!$ctrl.dashboard.is_archived"><a ng-click="$ctrl.addWidget()">Add Widget</a></li>
|
||||
<li ng-if="$ctrl.showPermissionsControl"><a ng-click="$ctrl.showManagePermissionsModal()">Manage Permissions</a></li>
|
||||
<li ng-if="!$ctrl.dashboard.is_draft"><a ng-click="$ctrl.togglePublished()">Unpublish Dashboard</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user