scoreboard.blade.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  2. <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
  3. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
  4. <div class="fancy-border">
  5. <h2 style='text-align: center'>Classement des <br> contributeurs</h2>
  6. <div class="fancy-border">
  7. <ul class="nav nav-tabs">
  8. <li class="active" style="font-size: 1.5em;" ><a data-toggle="pill" style="color:black" href="#home"> Top 5 </a></li>
  9. <!--<li><a data-toggle="pill" style="color:black" href="#menu1">Score global</a></li>-->
  10. <!--<li class="pull-right"><a data-toggle="pill" style="color:black" href="#info" > <i class="fa fa-question-circle-o fa-2x" aria-hidden="true"></i></a></li>-->
  11. <li class="pull-right ostrich"><a data-toggle="pill" style="color:black; font-size: 1.5em; font-weight: 600" href="#info" > ? </a></li>
  12. <!--<li class="pull-right ostrich"><a data-toggle="pill" style="color:black; font-size: 1.5em; font-weight: 600" href="#info" ><img src="images/question_mark.jpg"></a></li>-->
  13. </ul>
  14. <div class="tab-content">
  15. <div id="home" class="tab-pane fade in active">
  16. <div style="text-align: center; margin-top: 5px; display: inline-block;">
  17. <span class="score" style="text-align: center; display: inline-block;">
  18. @foreach($users_score as $key=>$user)
  19. @if($key == 0)
  20. <span style="text-align: center; display: inline-block; font-size: 1.3em;"> {{$key + 1}}. {{$user->name}} ({{intval($user->real_score)}} points)
  21. <!--</span> <span style="font-size: 0.7em; line-height: 10%">({{intval($user->score * $user->quantity)}}&nbsp; points) </span>-->
  22. @else
  23. {{$key + 1}}. {{$user->name}} ({{intval($user->real_score)}} points)
  24. <!--<span style="font-size: 0.7em; line-height: 10%">({{intval($user->score * $user->quantity)}}&nbsp; points) </span>-->
  25. @endif
  26. <br>
  27. @endforeach
  28. </span>
  29. </div>
  30. </div>
  31. <!-- <div id="menu1" class="tab-pane fade">
  32. <div style="text-align: center; margin-top: 5px;">
  33. <div class="score" style="text-align: center; display: inline-block;">
  34. @foreach($users_quantity as $key=>$user)
  35. @if($key == 0)
  36. <span style="text-align: center; display: inline-block; font-size: 1.5em"> {{$key + 1}}. {{$user->name}} </span>
  37. @else
  38. {{$key + 1}}. {{$user->name}}
  39. @endif
  40. <br>
  41. @endforeach
  42. </div>
  43. <p>Le score global prend en compte le nombre d'annotations produites ainsi que le score de confiance obtenu par chaque joueur.</p>
  44. </div>
  45. </div>-->
  46. <div id="info" class="tab-pane fade">
  47. <div style="text-align: justify; font-size: 1.5em; margin-top: 5px;">
  48. <!-- <div class="score" style="text-align: center; display: inline-block;">
  49. @foreach($users_quantity as $key=>$user)
  50. @if($key == 0)
  51. <span style="text-align: center; display: inline-block; font-size: 1.5em"> {{$key + 1}}. {{$user->name}} </span>
  52. @else
  53. {{$key + 1}}. {{$user->name}}
  54. @endif
  55. <br>
  56. @endforeach
  57. </div>-->
  58. <p>Ce classement prend en compte le nombre d'annotations produites par chaque utilisateur ainsi que l'exactitude des réponses fournies sur les phrases de test dissimulées dans les séquences.</p>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>