Skip to content

Commit

Permalink
Change the label behavior to the proposals #56
Browse files Browse the repository at this point in the history
  • Loading branch information
acotiuga committed Oct 29, 2019
1 parent 477a9d0 commit 28d5c91
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions application-xpoll-ui/src/main/resources/XPoll/XPollSheet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@
#if ($xcontext.action == 'export')
#if($isChecked)X#end
#else
#if ($isRadio)
<input type="radio" #if($isCurrentUser)id="${user}_$proposal.hashCode()"#end name="$user"
value="$proposal.hashCode()" $checked $disabled />
#else
<input type="checkbox" #if($isCurrentUser)id="$proposal.hashCode()"#end name="$proposal.hashCode()"
$checked $disabled />
#end
<label>
#if ($isRadio)
<input type="radio" #if($isCurrentUser)id="${user}_$proposal.hashCode()"#end name="$user"
value="$proposal.hashCode()" $checked $disabled />
#else
<input type="checkbox" #if($isCurrentUser)id="$proposal.hashCode()"#end name="$proposal.hashCode()"
$checked $disabled />
#end
</label>
#end
</td>
#end
Expand Down Expand Up @@ -437,8 +439,10 @@
background-color: $theme.backgroundSecondaryColor;
}

.xpoll th label {
.xpoll th label,
.xpoll td label {
font-weight: bold;
display: block;
}

.polls {
Expand Down

0 comments on commit 28d5c91

Please sign in to comment.