mirror of https://github.com/bra1n/townsquare.git
voting, majority & passed clarified (closes #82)
This commit is contained in:
parent
5bccde5943
commit
2717b69ea2
|
@ -18,8 +18,9 @@
|
||||||
<td>Nominator</td>
|
<td>Nominator</td>
|
||||||
<td>Nominee</td>
|
<td>Nominee</td>
|
||||||
<td>Type</td>
|
<td>Type</td>
|
||||||
<td>Majority</td>
|
<td>Votes</td>
|
||||||
<td><font-awesome-icon icon="hand-paper" /> Hand up</td>
|
<td><font-awesome-icon icon="hand-paper" /> Hand up</td>
|
||||||
|
<td>Passed</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -27,12 +28,14 @@
|
||||||
<td>{{ vote.nominator }}</td>
|
<td>{{ vote.nominator }}</td>
|
||||||
<td>{{ vote.nominee }}</td>
|
<td>{{ vote.nominee }}</td>
|
||||||
<td>{{ vote.type }}</td>
|
<td>{{ vote.type }}</td>
|
||||||
<td>{{ vote.majority }}</td>
|
<td><strong>{{ vote.votes.length }}</strong> / {{ vote.majority }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ vote.votes.length }}
|
|
||||||
<font-awesome-icon icon="user-friends" />
|
<font-awesome-icon icon="user-friends" />
|
||||||
{{ vote.votes.join(", ") }}
|
{{ vote.votes.join(", ") }}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<font-awesome-icon icon="check-square" v-if="vote.votes.length >= vote.majority" />
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -98,5 +101,8 @@ tbody {
|
||||||
td:nth-child(4) {
|
td:nth-child(4) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
td:nth-child(6) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue