Commit 8ac0a465 by Sven Marnach

Turn move and delete buttons into proper HTML buttons.

parent 3d0e750f
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
clear: right; clear: right;
float: right; float: right;
margin-top: 1em; margin-top: 1em;
opacity: 0.5;
}
.poll-delete-answer:hover {
opacity: 1;
} }
#poll-question-editor-container, #poll-feedback-editor-container{ #poll-question-editor-container, #poll-feedback-editor-container{
width: 100%; width: 100%;
...@@ -23,10 +27,12 @@ ...@@ -23,10 +27,12 @@
} }
.poll-move-up { .poll-move-up {
display: block;
opacity: .5; opacity: .5;
} }
.poll-move-down { .poll-move-down {
display: block;
opacity: .5; opacity: .5;
} }
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<li class="field comp-setting-entry is-set poll-{{noun}}-studio-item"> <li class="field comp-setting-entry is-set poll-{{noun}}-studio-item">
<div class="wrapper-comp-setting"> <div class="wrapper-comp-setting">
<div class="poll-move"> <div class="poll-move">
<div class="poll-move-up">&#9650;</div> <button class="poll-move-up">&#9650;<span class="sr">&nbsp;move poll up</span></button>
<div class="poll-move-down">&#9660;</div> <button class="poll-move-down">&#9660;<span class="sr">&nbsp;move poll down</span></button>
</div> </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> <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 /> <input class="input setting-input" name="{{noun}}-label-{{key}}" id="{{noun}}-label-{{key}}" value="{{text}}" type="text" /><br />
{{#if image}} {{#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