diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 621522d4..15ddcee3 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -93,33 +93,128 @@ Active Proposals - - - - {{ myVotes[prop.id] || 'Vote' }} - - - - -
- {{ prop.id }}. {{ prop.title }} -
- {{ formatType(prop.contents['@type']) }} {{ formatEnding(prop.voting_end_time) }} -
-
-
+ + + {{ prop.id }} + + + + +
+ {{ prop.title }} +
+ {{ formatType(prop.contents['@type']) }} {{ formatEnding(prop.voting_end_time) }} +
+
+ + + + + + + + + + + + + {{ percent(prop.tally.yes) }}% voted Yes + + + {{ percent(prop.tally.no) }}% voted No + + + {{ percent(prop.tally.veto) }}% voted No With Veto + + + {{ percent(prop.tally.abstain) }}% voted Abstain + + + + + {{ myVotes[prop.id] ? `${myVotes[prop.id]}`: 'Vote' }} + + + + + + + + {{ addNewLine(prop.description) }} + + + +
No active proposal! @@ -343,7 +438,7 @@