fix some more stuff

This commit is contained in:
Lorin Werthen 2016-10-03 14:41:36 +02:00
parent 92f7b845d0
commit 06cc8a514a
2 changed files with 35 additions and 44 deletions

View file

@ -0,0 +1,8 @@
$ ->
$.getJSON 'https://zeus.ugent.be/game/top4/show.json', (data) ->
str = "<ol>"
for x in data
str += "<li><a href=\"#{x.github_url}\">#{x.github_name}</a> (#{x.score} Z$)</li>"
str += "</ol>"
$('#gamification-coders').html(str)

View file

@ -19,38 +19,38 @@
</div> </div>
</div> </div>
<div class="tile is-vertical is-2"> <div class="tile is-vertical is-2">
<a class="tile" href="https://zeus.ugent.be/wiki">
<div class="tile is-parent"> <div class="tile is-parent">
<div class="tile is-child box has-text-centered" > <div class="tile is-child box has-text-centered" >
<a href="https://zeus.ugent.be/wiki">
<%= fa 'wikipedia-w' %> <%= fa 'wikipedia-w' %>
</div>
</div>
</a> </a>
</div> <a class="tile" href="/cammie">
</div>
<div class="tile is-parent"> <div class="tile is-parent">
<div class="tile is-child box has-text-centered"> <div class="tile is-child box has-text-centered">
<a href="/cammie">
<%= fa 'video-camera' %> <%= fa 'video-camera' %>
<\a>
</div> </div>
</div> </div>
</a>
</div> </div>
<div class="tile is-vertical is-2"> <div class="tile is-vertical is-2">
<a class="tile" href="https://github.com/ZeusWPI">
<div class="tile is-parent"> <div class="tile is-parent">
<div class="tile is-child box has-text-centered"> <div class="tile is-child box has-text-centered">
<a href="https://github.com/ZeusWPI">
<%= fa 'github' %> <%= fa 'github' %>
</div>
</div>
</a> </a>
</div> <a class="tile" href="https://www.facebook.com/zeus.wpi/?fref=ts">
</div>
<div class="tile is-parent"> <div class="tile is-parent">
<div class="tile is-child box has-text-centered"> <div class="tile is-child box has-text-centered">
<a href="https://www.facebook.com/zeus.wpi/?fref=ts">
<%= fa 'facebook-official' %> <%= fa 'facebook-official' %>
</div>
</div>
</a> </a>
</div> </div>
</div> </div>
</div>
</div>
<div class="tile"> <div class="tile">
<div class="tile is-4 is-parent"> <div class="tile is-4 is-parent">
<div class="tile is-child box"> <div class="tile is-child box">
@ -63,29 +63,10 @@
<div class="tile is-vertical"> <div class="tile is-vertical">
<div class="tile is-parent"> <div class="tile is-parent">
<div class="tile is-child box"> <div class="tile is-child box">
<p> <div class="content">
Numero uno: @werthen <h1><a href="https://zeus.ugent.be/game">Top Zeus WPI coders this week</a></h1>
</p> <div id="gamification-coders">
<p> <!-- EMPTY -->
Numero dos: @myncke
</p>
<p>
Numero tres: @iepoev
</p>
<p>
Numero quatro: @becousae
</p>
</div>
</div>
<div class="tile">
<div class="tile is-6 is-parent">
<div class="tile is-child box">
GITHUB
</div>
</div>
<div class="tile is-6 is-parent">
<div class="tile is-child box">
GITHUB
</div> </div>
</div> </div>
</div> </div>
@ -93,3 +74,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<%= asset :js, :gamification %>