finished the upgrade to filament 4. completely revamped the frontend with codex, now it looks great!
This commit is contained in:
29
app/Settings/GeneralSettings.php
Normal file
29
app/Settings/GeneralSettings.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Settings;
|
||||
|
||||
use Spatie\LaravelSettings\Settings;
|
||||
|
||||
class GeneralSettings extends Settings
|
||||
{
|
||||
public string $gallery_heading = 'Style Gallery';
|
||||
|
||||
public int $new_image_timespan_minutes = 60;
|
||||
|
||||
public int $image_refresh_interval = 30_000;
|
||||
|
||||
public int $max_number_of_copies = 3;
|
||||
|
||||
public bool $show_print_button = true;
|
||||
|
||||
public ?string $selected_printer = null;
|
||||
|
||||
public ?string $custom_printer_address = null;
|
||||
|
||||
public ?int $default_style_id = null;
|
||||
|
||||
public static function group(): string
|
||||
{
|
||||
return 'general';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user