Winter style
This commit is contained in:
@@ -37,7 +37,7 @@ Route::get('/', function()
|
||||
$tmovie = $tmdb->getMovie($nextfilm->tvdbid);
|
||||
$nimage = $tmdb->getImageUrl($tmovie['poster_path'], TMDb::IMAGE_POSTER, 'w342');
|
||||
} else {
|
||||
$nimage = "http://d3a8mw37cqal2z.cloudfront.net/assets/7ea4ac6f271e37d/images/no-poster-w130.jpg";
|
||||
$nimage = "img/no-poster-w92.jpg";
|
||||
}
|
||||
|
||||
$kommentare = Comment::neueste()->get();
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>@yield('title') Dumbo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link href="{{ asset('css/bootstrap.css') }}" type="text/css" rel="stylesheet">
|
||||
<link href="{{ asset('css/bootstrap-my.min.css') }}" type="text/css" rel="stylesheet">
|
||||
<link href="{{ asset('css/general.css') }}" type="text/css" rel="stylesheet">
|
||||
@yield('styles')
|
||||
</head>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<img src="{{$image}}" class="pull-left thumbnail" style="max-height: 100px; margin-right: 15px;">
|
||||
<h4>{{$topfilm->name}}</h4>
|
||||
<p><span class="glyphicon glyphicon-thumbs-up"></span> {{$topfilm->upvotes}}
|
||||
<span class="glyphicon glyphicon-sort-by-attributes"></span> {{$topfilm->downvotes + $topfilm->upvotes}}</p>
|
||||
<span class="glyphicon glyphicon-tree-conifer"></span> {{$topfilm->downvotes + $topfilm->upvotes}}</p>
|
||||
@if(!is_null(Auth::user()) && Auth::user()->admin)
|
||||
<a href='{{ url('view-next/' . $topfilm->id) }}' class='btn btn-success btn-xs'>Als nächstes sehen</a>
|
||||
@endif
|
||||
@@ -78,7 +78,7 @@
|
||||
<h4 class="panel-title">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#news{{$new->id}}">{{$new->headline}}</a>
|
||||
<small>{{$new->ersteller->name}} - {{\Carbon\Carbon::parse($new->updated_at)->format('d.m.Y')}}</small>
|
||||
</h5>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="news{{$new->id}}" class="panel-collapse collapse">
|
||||
<div class="panel-body">{{nl2br(htmlentities($new->body))}}</div>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
$vp = $film->upvotes;
|
||||
$np = $film->downvotes;
|
||||
?>
|
||||
<span class="glyphicon glyphicon-sort-by-attributes"></span> {{ $vp + $np }}
|
||||
<span class="glyphicon glyphicon-tree-conifer"></span> {{ $vp + $np }}
|
||||
</td>
|
||||
<td>
|
||||
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>
|
||||
|
Reference in New Issue
Block a user