Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Style points page as table.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjacobs31 committed Oct 10, 2016
1 parent 1916468 commit a37acf4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions oneplus/templates/prog/points.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
<a href="/menu"><div class="text heading purple-back darkgrey-front"><li class="icon points"></li><p>Points</p></div></a>
</div>
<div class="text heading darkgrey-back"><p>Your points earned<span class="purple-front large-font-normal pull-right">{{ state.points_points }}</span></p></div>

<div class="menu">
{% for mod in modules %}
<div class="item text grey-back white-front"><p>{{ mod.name }}<span class="right large-font-normal">{{ mod.score }}</span></p></div>
{% endfor %}
<div class="content padded">
<table class="borderless" width="100%">
{% for mod in modules %}
<tr class="item grey-back white-front">
<td class="body-copy vert-center wrap-words">{{ mod.name }}</td>
<td class="text-right body-copy vert-center slim-num-field">{{ mod.score }}</td>
</tr>
{% endfor %}
</table>
</div>

{% endblock %}

0 comments on commit a37acf4

Please sign in to comment.