From a5ff13269db053896b604fc29181d60e208d0463 Mon Sep 17 00:00:00 2001 From: horus Date: Wed, 16 Sep 2020 11:13:53 +0200 Subject: Major improvement. --- resources/views/list_anime.blade.php | 74 ++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 resources/views/list_anime.blade.php (limited to 'resources/views/list_anime.blade.php') diff --git a/resources/views/list_anime.blade.php b/resources/views/list_anime.blade.php new file mode 100644 index 0000000..fc17a1d --- /dev/null +++ b/resources/views/list_anime.blade.php @@ -0,0 +1,74 @@ +@extends('layouts.app') + +@section('content') +
+ +

{{ $title }}

+
+@foreach($all_anime as $anime) +
+
+
+
+
getName()) + @if ( 0 < $anime->score_today - $anime->score_begin ) + border-color: green; + @else + border-color: red; + @endif + @endif + "> +
+ +
{{ $anime->title }} @if ( ! compare($anime->title, $anime->title_pref) )
{{ $anime->title_pref }}@endif
+
+ score: {{ $anime->score_today }}, members: {{ $anime->members }} + @if( "surprising_anime" == \Request::route()->getName()) +
+ @if ( 0 < $anime->score_today - $anime->score_begin ) + Rose + @else + Fell + @endif + from {{ $anime->score_begin }} to {{ $anime->score_today }} (diff: {{ $anime->score_today - $anime->score_begin }}) + @endif +
+

+ + + + {!! replaceSpecialChars(e($anime->synopsis)) !!} +

+ More +
+
+
+ + + + +@endforeach +
+ +@if ($all_anime instanceof \Illuminate\Pagination\LengthAwarePaginator) + {{ $all_anime->links() }} +@endif + +
+@endsection -- cgit v1.2.3