idleman 2 年之前
父节点
当前提交
39a4fe8d31
共有 3 个文件被更改,包括 4 次插入25 次删除
  1. 2 4
      plugin/dashboard/css/component.css
  2. 1 20
      plugin/notification/notification.plugin.php
  3. 1 1
      plugin/workflow/css/main.css

+ 2 - 4
plugin/dashboard/css/component.css

@@ -46,9 +46,7 @@
     background: transparent;
 }
 
-.dashboard-container {
-	background-color: #efefef;
-}
+
 .dashboard-container .dashboard-grid{
 	border: 1px solid transparent;
 	display: grid;
@@ -110,7 +108,7 @@
 	position: absolute;
 	background-color: #ffffff;
 	border-radius: 10px;
-	box-shadow: 0 0 20px 0 #cecece !important;
+	box-shadow: 0 0 20px 0 #cecece ;
 	transition: transform 0.15s ease-in, box-shadow 0.15s ease-in;
 }
 .dashboard-container .dashboard-widget.ui-draggable-dragging{

+ 1 - 20
plugin/notification/notification.plugin.php

@@ -179,26 +179,7 @@ function notification_cron($time){
 	Plugin::need('notification/Notification');
 	Notification::clear();
 }
-/*
-function notification_widget(&$widgets){
-	Plugin::need('dashboard/DashboardWidget');
-
-	$modelWidget = new DashboardWidget();
-	$modelWidget->model = 'notification';
-	$modelWidget->title = 'Notification';
-	$modelWidget->options[] = array('function'=>'window.location = \'index.php?module=notification\';','icon'=>'fa-eye','title'=>'Toutes les notifications');
-	$modelWidget->icon = 'fas fa-bell';
-	$modelWidget->background = '#ffbe5c';
-	$modelWidget->load = 'action.php?action=notification_widget_load';
-	$modelWidget->configure = 'action.php?action=notification_widget_configure';
-	$modelWidget->configure_callback = 'notification_widget_configure_save';
-	$modelWidget->js = [Plugin::url().'/js/widget.js?v='.time()];
-	$modelWidget->css = [Plugin::url().'/css/widget.css?v=1'.time()];
-	$modelWidget->description = "Affiche les dernières alertes des catégories de notification sélectionnées";
-
-	$widgets[] = $modelWidget;
-}
-*/
+
 Plugin::addHook('widget',function(&$models){
 		
 		$model = new DashboardWidget();

+ 1 - 1
plugin/workflow/css/main.css

@@ -10,7 +10,7 @@
 }
 
 html.module-workflow,.module-workflow body{
-	    background-color: #f1f1f1!important;
+
 	    height:100%;
 }
 .module-workflow body{