server ver
This commit is contained in:
36
resources/views/layout69/profile.blade.php
Normal file
36
resources/views/layout69/profile.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
@include('partials.profileheader')
|
||||
<fieldset>
|
||||
<legend><a href="/{{$user->baseurl()}}/">View {{ $title }}</a></legend>
|
||||
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Video Title</th>
|
||||
<th>Artist</th>
|
||||
<th>Songtitle</th>
|
||||
<th class="hidden-xs">Video Source</th>
|
||||
<th>Category</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<tr data-thumb="{{$thumb}}">
|
||||
<td><a href="/{{$user->baseurl()}}/{{$video->id}}">{{$video->id}}</a></td>
|
||||
<td>{{$video->videotitle or ''}}</td>
|
||||
<td>{{$video->interpret or ''}}</td>
|
||||
<td>{{$video->songtitle or ''}}</td>
|
||||
<td class="hidden-xs">{{$video->imgsource or ''}}</td>
|
||||
<td><a href="{{url($video->category->shortname)}}">{{$video->category->name}}</a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
{!! $videos->render() !!}
|
||||
</fieldset>
|
||||
@endsection
|
Reference in New Issue
Block a user