mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Toggle visibilty of Dashboard Editor (#11321)
* Toggle visibilty of Dashboard Editor
* code climate
* reposition Menu point
* add Dashboard Menu
* unclickability ob Dashboard menu
* Global Settings - Alert Default Settings
* Revert "Global Settings - Alert Default Settings"
This reverts commit a1af62b146.
* update to Frontend rewrite
* globalize hide_dashboard_editor variable
* .
* .
* remove legacy code
* update link path to laravel routing
* Travis ...
* Travis ...
This commit is contained in:
@@ -98,12 +98,13 @@ class OverviewController extends Controller
|
||||
);
|
||||
}
|
||||
|
||||
$bare = $request->bare;
|
||||
$data = serialize(json_encode($data));
|
||||
$dash_config = unserialize(stripslashes($data));
|
||||
$widgets = Widget::select('widget_id', 'widget_title')->orderBy('widget_title')->get();
|
||||
$bare = $request->bare;
|
||||
$data = serialize(json_encode($data));
|
||||
$dash_config = unserialize(stripslashes($data));
|
||||
$hide_dashboard_editor = UserPref::getPref($user, 'hide_dashboard_editor');
|
||||
$widgets = Widget::select('widget_id', 'widget_title')->orderBy('widget_title')->get();
|
||||
|
||||
return view('overview.default', compact('bare', 'dash_config', 'dashboard', 'user_dashboards', 'shared_dashboards', 'widgets'));
|
||||
return view('overview.default', compact('bare', 'dash_config', 'dashboard', 'hide_dashboard_editor', 'user_dashboards', 'shared_dashboards', 'widgets'));
|
||||
}
|
||||
|
||||
public function simple(Request $request)
|
||||
|
||||
Reference in New Issue
Block a user