Merge branch 'indexpage' of github.com:ZeusWPI/zeus.ugent.be into indexpage

This commit is contained in:
Eloïse Piret 2016-10-03 15:25:38 +02:00
commit 54077996cf
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,36 +19,36 @@
</div> </div>
</div> </div>
<div class="tile is-vertical is-2"> <div class="tile is-vertical is-2">
<div class="tile is-parent"> <a class="tile" href="https://zeus.ugent.be/wiki">
<div class="tile is-child box has-text-centered" > <div class="tile is-parent">
<a href="https://zeus.ugent.be/wiki"> <div class="tile is-child box has-text-centered" >
<%= fa 'wikipedia-w' %> <%= fa 'wikipedia-w' %>
</a> </div>
</div> </div>
</div> </a>
<div class="tile is-parent"> <a class="tile" href="/cammie">
<div class="tile is-child box has-text-centered"> <div class="tile is-parent">
<a href="/cammie"> <div class="tile is-child box has-text-centered">
<%= 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">
<div class="tile is-parent"> <a class="tile" href="https://github.com/ZeusWPI">
<div class="tile is-child box has-text-centered"> <div class="tile is-parent">
<a href="https://github.com/ZeusWPI"> <div class="tile is-child box has-text-centered">
<%= fa 'github' %> <%= fa 'github' %>
</a> </div>
</div> </div>
</div> </a>
<div class="tile is-parent"> <a class="tile" href="https://www.facebook.com/zeus.wpi/?fref=ts">
<div class="tile is-child box has-text-centered"> <div class="tile is-parent">
<a href="https://www.facebook.com/zeus.wpi/?fref=ts"> <div class="tile is-child box has-text-centered">
<%= fa 'facebook-official' %> <%= fa 'facebook-official' %>
</a> </div>
</div> </div>
</div> </a>
</div> </div>
</div> </div>
<div class="tile"> <div class="tile">
@ -58,29 +58,11 @@
<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 </div>
</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>
@ -88,3 +70,4 @@
</div> </div>
</div> </div>
</div> </div>
<%= asset :js, :gamification %>