@extends('layouts.user-no-nav') @section('page_title', __('Your live streams')) @section('styles') {!! Minify::stylesheet([ '/libs/dropzone/dist/dropzone.css', '/css/pages/stream.css', ])->withFullUrl() !!} @stop @section('scripts') {!! Minify::javascript([ '/libs/dropzone/dist/dropzone.js', '/js/FileUpload.js', '/js/pages/streams.js', ])->withFullUrl() !!} @stop @section('content')
{{__('Streams')}}
@if(!GenericHelper::isUserVerified() && getSetting('site.enforce_user_identity_checks')) @endif

{{__("Active streams")}}

@if(StreamsHelper::getUserInProgressStream()) @include('elements.streams.stream-element',['stream'=>$activeStream, 'isLive' => true]) @else {{__("There are no active streams. Click the button above to start a new one.")}} @endif

{{__("Previous streams")}}

@if($previousStreams->count())
@foreach($previousStreams as $stream) @include('elements.streams.stream-element',['stream'=>$stream, 'isLive' => false]) @endforeach @if($previousStreams->total() > 6)
{{ $previousStreams->onEachSide(1)->links() }}
@endif
@else {{__("There are no previous streams.")}} @endif
@include('elements.streams.stream-create-update-dialog') @include('elements.streams.stream-stop-dialog') @include('elements.streams.stream-delete-dialog') @include('elements.streams.stream-details-dialog') @include('elements.dropzone-dummy-element') @stop