49 lines
2.4 KiB
PHP
49 lines
2.4 KiB
PHP
@extends('profilelayout')
|
|
@section('novidcontent')
|
|
<div class="container">
|
|
<ul class="list-group">
|
|
<div class="uploadheader">
|
|
<h3 id="upheader">Upload</h3>
|
|
</div>
|
|
<li class="list-group-item">
|
|
@include('partials.flash')
|
|
<button id="btn-upload" type="button" class="btn btn-primary btn-sm"><span class="laz0r">Fire the laz0r</span>
|
|
<span class="" id="laz0r-fire"></span>
|
|
<span class="hidden-xs" id="shoop-laz0r"></span>
|
|
</button>
|
|
<div id="dragndrop" class="form-group col-md-3" data-uploadlimit="{{ isset($user) ? ($user->can('break_max_filesize') ? 'false' : 'true') : 'true' }}">
|
|
<a id="dragndrop-link" href="#">
|
|
<span style="display: table; width: 100%; height: 100%;">
|
|
<span id="dragndrop-text">
|
|
<i class="fa fa-cloud-upload"></i>
|
|
Drop or select WebM!
|
|
</span>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item">{!! Form::text('videotitle', null, ['id' => 'videotitle', 'class' => 'form-control', 'placeholder' => 'Video Title']) !!}</li>
|
|
<li class="list-group-item">{!! Form::text('interpret', null, ['id' => 'interpret', 'class' => 'form-control', 'placeholder' => 'Artist']) !!}</li>
|
|
<li class="list-group-item">{!! Form::text('songtitle', null, ['id' => 'songtitle', 'class' => 'form-control', 'placeholder' => 'Songtitle']) !!}</li>
|
|
<li class="list-group-item">{!! Form::text('imgsource', null, ['id' => 'imgsource', 'class' => 'form-control', 'placeholder' => 'Video Source']) !!}</li>
|
|
<li class="list-group-item">
|
|
<?php
|
|
$categories = [];
|
|
foreach(App\Models\Category::all() as $cat)
|
|
$categories[$cat->id] = $cat->name;
|
|
?>
|
|
{!! Form::select('category', $categories, 8, ['id' => 'category', 'class' => 'form-control']) !!}
|
|
</li>
|
|
<li class="list-group-item">
|
|
{!! Form::checkbox('nsfw', 'true', false, ['id' => 'nsfw']) !!} <label id="nsfw" for="nsfw" class="badge badge-danger">NSFW?</label>
|
|
{!! Form::text('tags', null, ['id' => 'tags_upload', 'class' => 'row', 'placeholder' => 'Input tags...', 'name' => 'tags', 'data-role' => 'tagsinput']) !!}</li>
|
|
<li class="list-group-item">
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<input name="file" type="file" hidden accept=".webm"></input>
|
|
</div>
|
|
</div>
|
|
@endsection
|