Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

tables.php 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Date / Time Formatting
  6. |--------------------------------------------------------------------------
  7. |
  8. | These are the formats that Filament will use to display dates and times
  9. | by default.
  10. |
  11. */
  12. 'date_format' => 'M j, Y',
  13. 'date_time_format' => 'M j, Y H:i:s',
  14. 'time_format' => 'H:i:s',
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Default Filesystem Disk
  18. |--------------------------------------------------------------------------
  19. |
  20. | This is the storage disk Filament will use to find media. You may use any
  21. | of the disks defined in the `config/filesystems.php`.
  22. |
  23. */
  24. 'default_filesystem_disk' => env('TABLES_FILESYSTEM_DRIVER', 'public'),
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Dark mode
  28. |--------------------------------------------------------------------------
  29. |
  30. | By enabling this setting, your tables will be ready for Tailwind's Dark
  31. | Mode feature.
  32. |
  33. | https://tailwindcss.com/docs/dark-mode
  34. |
  35. */
  36. 'dark_mode' => false,
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Pagination
  40. |--------------------------------------------------------------------------
  41. |
  42. | This is the configuration for the pagination of tables.
  43. |
  44. */
  45. 'pagination' => [
  46. 'default_records_per_page' => 10,
  47. 'records_per_page_select_options' => [5, 10, 25, 50, -1],
  48. ],
  49. /*
  50. |--------------------------------------------------------------------------
  51. | Layout
  52. |--------------------------------------------------------------------------
  53. |
  54. | This is the configuration for the general layout of tables.
  55. |
  56. */
  57. 'layout' => [
  58. 'actions' => [
  59. 'cell' => [
  60. 'alignment' => 'right',
  61. ],
  62. 'modal' => [
  63. 'actions' => [
  64. 'alignment' => 'left',
  65. ],
  66. ],
  67. ],
  68. ],
  69. ];