Add button to confirm proposals

This commit is contained in:
2017-02-05 16:44:58 +08:00
parent ab603a1107
commit 0e8ae91d0d
2 changed files with 22 additions and 0 deletions
@@ -3,5 +3,7 @@
Issue{{#if proposal.executed}}d{{/if}} Issue{{#if proposal.executed}}d{{/if}}
<span class="amount">{{proposal.amount}}</span><span class="symbol">₭S</span> <span class="amount">{{proposal.amount}}</span><span class="symbol">₭S</span>
to <span class="recipient">{{proposal.recipientName}}</span> to <span class="recipient">{{proposal.recipientName}}</span>
<button {{action "confirm"}}>+1</button>
</li> </li>
{{/each}} {{/each}}
+20
View File
@@ -25,6 +25,26 @@ ul.proposal-list {
.recipient { .recipient {
font-weight: 500; font-weight: 500;
} }
button {
display: inline-block;
float: right;
height: 2rem;
line-height: 2rem;
margin-top: 1.1rem;
padding: 0 0.6rem;
border: 1px solid rgba(22, 21, 40, 1);
background-color: rgba(22, 21, 40, 0.6);
color: lightblue;
border-radius: 3px;
font-weight: 500;
text-transform: uppercase;
cursor: pointer;
&:hover {
background-color: rgba(22, 21, 40, 0.8);
}
}
} }
} }