{{-- Pterodactyl - Panel --}} {{-- Copyright (c) 2015 - 2017 Dane Everitt --}} {{-- This software is licensed under the terms of the MIT license. --}} {{-- https://opensource.org/licenses/MIT --}} @extends('layouts.master') @section('title') @lang('server.schedule.header') @endsection @section('content-header')

@lang('server.schedule.header')@lang('server.schedule.header_sub')

@endsection @section('content')

@lang('server.schedule.current')

@foreach($schedules as $schedule) is_active)class="muted muted-hover"@endif> @endforeach
@lang('strings.name') @lang('strings.queued') @lang('strings.tasks') @lang('strings.last_run') @lang('strings.next_run')
@can('edit-schedule', $server) {{ $schedule->name ?? trans('server.schedule.unnamed') }} @else {{ $schedule->name ?? trans('server.schedule.unnamed') }} @endcan @if ($schedule->is_processing) @lang('strings.yes') @else @lang('strings.no') @endif {{ $schedule->tasks_count }} @if($schedule->last_run_at) {{ Carbon::parse($schedule->last_run_at)->toDayDateTimeString() }}
({{ Carbon::parse($schedule->last_run_at)->diffForHumans() }}) @else @lang('strings.not_run_yet') @endif
@if($schedule->is_active) {{ Carbon::parse($schedule->next_run_at)->toDayDateTimeString() }}
({{ Carbon::parse($schedule->next_run_at)->diffForHumans() }}) @else n/a @endif
@can('delete-schedule', $server) @endcan @can('toggle-schedule', $server) @endcan
@endsection @section('footer-scripts') @parent {!! Theme::js('js/frontend/server.socket.js') !!} {!! Theme::js('js/frontend/tasks/management-actions.js') !!} @endsection