Skip to content

Commit

Permalink
Begin implementing Filament as the dashboard system
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 17, 2024
1 parent 47df50b commit 8293132
Show file tree
Hide file tree
Showing 94 changed files with 1,858 additions and 102 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"require": {
"php": "^8.1",
"doctrine/dbal": "^3.6",
"filament/filament": "^3.2",
"guzzlehttp/guzzle": "^7.8",
"illuminate/console": "^10.0",
"illuminate/database": "^10.0",
Expand Down Expand Up @@ -83,7 +84,8 @@
},
"laravel": {
"providers": [
"Cachet\\CachetCoreServiceProvider"
"Cachet\\CachetCoreServiceProvider",
"Cachet\\CachetDashboardServiceProvider"
]
}
},
Expand Down
5 changes: 0 additions & 5 deletions config/cachet.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
'api',
],

'dashboard_middleware' => [
'cachet',
Authenticate::class,
],

/*
|--------------------------------------------------------------------------
| Cachet Major Outage Threshold
Expand Down
1 change: 1 addition & 0 deletions public/build/assets/theme.c49c6bb2.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
"file": "assets/cachet.6977faaa.css",
"src": "resources/css/cachet.css",
"isEntry": true
},
"resources/css/dashboard/theme.css": {
"file": "assets/theme.c49c6bb2.css",
"src": "resources/css/dashboard/theme.css",
"isEntry": true
}
}
9 changes: 9 additions & 0 deletions resources/css/dashboard/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import preset from '../../../vendor/filament/filament/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
}
3 changes: 3 additions & 0 deletions resources/css/dashboard/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import '/vendor/filament/filament/resources/css/theme.css';

@config 'tailwind.config.js';
3 changes: 3 additions & 0 deletions resources/svg/clock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8293132

Please sign in to comment.