Commit 8ac0a465 by Sven Marnach

Turn move and delete buttons into proper HTML buttons.

parent 3d0e750f
......@@ -4,6 +4,10 @@
clear: right;
float: right;
margin-top: 1em;
opacity: 0.5;
}
.poll-delete-answer:hover {
opacity: 1;
}
#poll-question-editor-container, #poll-feedback-editor-container{
width: 100%;
......@@ -23,10 +27,12 @@
}
.poll-move-up {
display: block;
opacity: .5;
}
.poll-move-down {
display: block;
opacity: .5;
}
......
......@@ -3,10 +3,10 @@
<li class="field comp-setting-entry is-set poll-{{noun}}-studio-item">
<div class="wrapper-comp-setting">
<div class="poll-move">
<div class="poll-move-up">&#9650;</div>
<div class="poll-move-down">&#9660;</div>
<button class="poll-move-up">&#9650;<span class="sr">&nbsp;move poll up</span></button>
<button class="poll-move-down">&#9660;<span class="sr">&nbsp;move poll down</span></button>
</div>
<a href="#" class="button action-button poll-delete-answer" onclick="return false;">Delete</a>
<button class="button action-button poll-delete-answer">Delete</button>
<label class="label setting-label poll-setting-label" for="{{noun}}-label-{{key}}">{{noun}}</label>
<input class="input setting-input" name="{{noun}}-label-{{key}}" id="{{noun}}-label-{{key}}" value="{{text}}" type="text" /><br />
{{#if image}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment