fix some more stuff
This commit is contained in:
parent
92f7b845d0
commit
06cc8a514a
2 changed files with 35 additions and 44 deletions
8
content/assets/scripts/gamification.coffee
Normal file
8
content/assets/scripts/gamification.coffee
Normal 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)
|
|
@ -19,38 +19,38 @@
|
|||
</div>
|
||||
</div>
|
||||
<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-child box has-text-centered" >
|
||||
<a href="https://zeus.ugent.be/wiki">
|
||||
<%= fa 'wikipedia-w' %>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="tile" href="/cammie">
|
||||
<div class="tile is-parent">
|
||||
<div class="tile is-child box has-text-centered">
|
||||
<a href="/cammie">
|
||||
<%= fa 'video-camera' %>
|
||||
<\a>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="tile is-vertical is-2">
|
||||
<a class="tile" href="https://github.com/ZeusWPI">
|
||||
<div class="tile is-parent">
|
||||
<div class="tile is-child box has-text-centered">
|
||||
<a href="https://github.com/ZeusWPI">
|
||||
<%= fa 'github' %>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="tile" href="https://www.facebook.com/zeus.wpi/?fref=ts">
|
||||
<div class="tile is-parent">
|
||||
<div class="tile is-child box has-text-centered">
|
||||
<a href="https://www.facebook.com/zeus.wpi/?fref=ts">
|
||||
<%= fa 'facebook-official' %>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tile">
|
||||
<div class="tile is-4 is-parent">
|
||||
<div class="tile is-child box">
|
||||
|
@ -63,29 +63,10 @@
|
|||
<div class="tile is-vertical">
|
||||
<div class="tile is-parent">
|
||||
<div class="tile is-child box">
|
||||
<p>
|
||||
Numero uno: @werthen
|
||||
</p>
|
||||
<p>
|
||||
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 class="content">
|
||||
<h1><a href="https://zeus.ugent.be/game">Top Zeus WPI coders this week</a></h1>
|
||||
<div id="gamification-coders">
|
||||
<!-- EMPTY -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -93,3 +74,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%= asset :js, :gamification %>
|
||||
|
|
Loading…
Reference in a new issue