diff options
author | Camil Staps | 2019-12-30 16:57:13 +0100 |
---|---|---|
committer | Camil Staps | 2020-01-03 19:06:02 +0100 |
commit | ad10a6467f76822b9289832eeb0d0ac2038b32d1 (patch) | |
tree | 1d78251ad49be1a744dc4573a1b3cf54e295e3a4 /resources/views/user/top.blade.php | |
parent | Clarify incorrect parsing message when input is short (diff) |
Strip down for simple app for Greek verb λύω
Diffstat (limited to 'resources/views/user/top.blade.php')
-rw-r--r-- | resources/views/user/top.blade.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/resources/views/user/top.blade.php b/resources/views/user/top.blade.php deleted file mode 100644 index eeeafde..0000000 --- a/resources/views/user/top.blade.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php -use HebrewParseTrainer\User; - -$users = User::where('isadmin', false) - ->orderBy('points', 'desc') - ->take(3) - ->get(); -?> -@if(count($users) > 0) -<div class="panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title">Top contributors</h3> - </div> - <div class="panel-body"> - <table class="table table-hover"> - <thead> - <tr> - <th></th> - <th>Name</th> - <th>Points</th> - </tr> - </thead> - <tbody> - @foreach($users as $user) - <tr> - <td><a href="http://gravatar.com"><img src="https://gravatar.com/avatar/{{ md5(strtolower(trim($user->email))) }}?s=40"/></a></td> - <td>{{{ $user->name }}}</td> - <td>{{{ $user->points }}}</td> - </tr> - @endforeach - </tbody> - </table> - - @if(Auth::check()) - <p>You have {{ Auth::user()->points }} points.</p> - @endif - </div> -</div> -@endif |