Winter style

This commit is contained in:
2014-12-04 16:36:42 +01:00
parent fd8e6df520
commit c8a49168ce
5 changed files with 307 additions and 107 deletions

View File

@@ -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();

View File

@@ -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>

View File

@@ -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>&nbsp;{{$topfilm->upvotes}}
<span class="glyphicon glyphicon-sort-by-attributes"></span>&nbsp;{{$topfilm->downvotes + $topfilm->upvotes}}</p>
<span class="glyphicon glyphicon-tree-conifer"></span>&nbsp;{{$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&auml;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>

View File

@@ -27,7 +27,7 @@
$vp = $film->upvotes;
$np = $film->downvotes;
?>
<span class="glyphicon glyphicon-sort-by-attributes"></span>&nbsp;{{ $vp + $np }}
<span class="glyphicon glyphicon-tree-conifer"></span>&nbsp;{{ $vp + $np }}
</td>
<td>
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>