Options

{!! Form::select('daily_timeframe', ['daily' => 'Daily', 'weekly' => 'Weekly', 'monthly' => 'Monthly', 'yearly' => 'Yearly'], $daily ? $daily->daily_timeframe : 0, ['class' => 'form-control stock-field', 'data-name' => 'daily_timeframe']) !!} {!! Form::label('daily_timeframe', 'Daily Timeframe') !!} {!! add_help('This is the timeframe that the daily can be collected in. I.E. yearly will only allow one roll per year. Weekly allows one roll per week. Rollover will happen on UTC time.') !!}
{!! Form::select('progress_display', ['none' => 'None', 'all' => 'All rewards shown'], $daily ? $daily->progress_display : 0, ['class' => 'form-control stock-field', 'data-name' => 'progress_display']) !!} {!! Form::label('progress_display', 'Prize Display') !!} {!! add_help('Decides what kind of information on the rewards for each segment should be shown on the daily page.') !!}
{!! Form::checkbox('is_active', 1, $daily->id ? $daily->is_active : 1, ['class' => 'form-check-input', 'data-toggle' => 'toggle']) !!} {!! Form::label('is_active', 'Set Active', ['class' => 'form-check-label ml-3']) !!} {!! add_help( 'If turned off, the ' . __('dailies.daily') . ' will not be visible to regular users.', ) !!}
{!! Form::checkbox('is_timed_daily', 1, $daily->is_timed_daily ?? 0, [ 'class' => 'form-check-input daily-timed daily-toggle daily-field', 'id' => 'is_timed_daily', ]) !!} {!! Form::label('is_timed_daily', 'Set Timed ' . __('dailies.daily'), ['class' => 'form-check-label ml-3']) !!} {!! add_help('Sets the ' . __('dailies.daily') . ' as timed between the chosen dates.') !!}
{!! Form::label('start_at', 'Start Time') !!} {!! add_help( 'The ' . __('dailies.daily') . ' will cycle in at this date.', ) !!} {!! Form::text('start_at', $daily->start_at, ['class' => 'form-control', 'id' => 'datepicker2']) !!}
{!! Form::label('end_at', 'End Time') !!} {!! add_help( 'The ' . __('dailies.daily') . ' will cycle out at this date.', ) !!} {!! Form::text('end_at', $daily->end_at, ['class' => 'form-control', 'id' => 'datepicker3']) !!}

Images

The images for the wheel! Keep in mind that if you use an image as the wheel, the segments must align with how a non-image wheel would look like, or your reward distribution will be off.

@if ($daily->has_image) @endif {!! Form::label(__('dailies.daily') . ' Image (Optional)') !!} {!! add_help('This image is used on the ' . __('dailies.daily') . ' index.') !!}
{!! Form::file('image') !!}
Recommended size: None (Choose a standard size for all {{ __('dailies.daily') }} images). File type: png.
@if ($daily->has_image)
{!! Form::checkbox('remove_image', 1, false, ['class' => 'form-check-input', 'data-toggle' => 'toggle', 'data-off' => 'Leave Daily Image As-Is', 'data-on' => 'Remove Daily Image']) !!}
@endif
@if ($wheel?->wheel_extension) @endif {!! Form::label('Wheel Image (Optional)') !!}
{!! Form::file('wheel_image') !!}
Recommended size: The size of your chosen Wheel. Make sure that the segments align correctly.
@if (isset($wheel?->wheel_extension))
{!! Form::checkbox('remove_wheel', 1, false, ['class' => 'form-check-input', 'data-toggle' => 'toggle', 'data-off' => 'Leave Wheel As-Is', 'data-on' => 'Remove Wheel Image']) !!}
@endif
@if ($wheel?->stopper_extension) @endif {!! Form::label('Stopper Image (Optional)') !!}
{!! Form::file('stopper_image') !!}
Recommended size: 50 x 50px.
@if (isset($wheel?->stopper_extension))
{!! Form::checkbox('remove_stopper', 1, false, ['class' => 'form-check-input', 'data-toggle' => 'toggle', 'data-off' => 'Leave Stopper As-Is', 'data-on' => 'Remove Stopper Image']) !!}
@endif
@if ($wheel?->background_extension) @endif {!! Form::label('Background Image (Optional)') !!} {!! add_help('This image is used as a wheel background and will take the place of the daily image.') !!}
{!! Form::file('background_image') !!}
Recommended size: Any, just play around until it looks good!
@if (isset($wheel?->background_extension))
{!! Form::checkbox('remove_background', 1, false, ['class' => 'form-check-input', 'data-toggle' => 'toggle', 'data-off' => 'Leave Background As-Is', 'data-on' => 'Remove Background Image']) !!}
@endif

Wheel Style

{!! Form::number('size', $wheel->size ?? 400, ['class' => 'form-control']) !!} {!! Form::label('size', 'Size') !!} {!! add_help('The pixel size of the wheel.') !!}
{!! Form::select('alignment', ['center' => 'Center', 'left' => 'Left', 'right' => 'Right'], $wheel->alignment ?? 'center', ['class' => 'form-control']) !!} {!! Form::label('alignment', 'Alignment') !!} {!! add_help('Whether the wheel should load on the left, right or center.') !!}
{!! Form::number('segment_number', $wheel->segment_number ?? 1, ['class' => 'form-control']) !!} {!! Form::label('segment_number', 'Segment Number') !!} {!! add_help('How many segments does the wheel have?') !!}
{!! Form::select('text_orientation', ['curved' => 'Curved', 'vertical' => 'Vertical'], $wheel->text_orientation ?? 'curved', ['class' => 'form-control']) !!} {!! Form::label('text_orientation', 'Text Orientation') !!} {!! add_help('How text on the wheel should be displayed.') !!}
{!! Form::number('text_fontsize', $wheel->text_fontsize ?? 24, ['class' => 'form-control']) !!} {!! Form::label('text_fontsize', 'Text Font Size') !!} {!! add_help('Font size of the text on the wheel.') !!}
@include('dailies._segment_style', ['segments' => $wheel->segmentStyles, 'totalSegments' => $wheel->segment_number])

Rewards

Please add what reward the {{ __('dailies.daily') }} should award users each day. If you would like an element of chance in it, linking a loot table here is recommended.

The segment field defines which reward is set for what segment. The first segment is always on the right of the top middle of the wheel.

@include('dailies._loot_select', ['loots' => $daily->rewards, 'showLootTables' => true, 'showRaffles' => true])