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

Commit

Permalink
[ux] better tables especially on mobile (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Apr 21, 2016
1 parent a298c33 commit 596c9c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions static/partials/institution.html
Expand Up @@ -2,7 +2,7 @@

<div ng-show="g.selected">

<div>
<div class="center">
<div>
<span class="policymaker_name">{{g.selected.title}}</span>
({{g.selected.policymaker_type}})
Expand All @@ -17,12 +17,12 @@
<div>compliance: {{g.selected.percentage|number:2}}%</div>
</div>

<table class="table">
<div class="table-responsive"><table
class="table table-stripped table-condensed">
<tr>
<th>#</th>
<th>field</th>
<th>value</th>
<th>is-compliant</th>
<th>reason</th>
<th>caveats</th>
<th>guidelines</th>
Expand All @@ -36,7 +36,6 @@
<td>{{entry.field_id}}</td>
<td>{{entry.field}}</td>
<td>{{entry.value}}</td>
<td>{{entry.is_compliant}}</td>
<td>{{entry.reason}}</td>
<td>{{entry.caveats}}</td>

Expand All @@ -54,7 +53,7 @@
</td>
</td>
<tr>
</table>
</table></div>

</div>
</div>

0 comments on commit 596c9c3

Please sign in to comment.