forked from CGM_Public/pretix_original
Improve styling and naming of the answer copy button
This commit is contained in:
@@ -40,11 +40,11 @@ $(function () {
|
||||
$(".js-copy-answers").click(function (e) {
|
||||
e.preventDefault();
|
||||
var idx = $(this).data('id');
|
||||
bind_groups(idx);
|
||||
copy_answers(idx);
|
||||
});
|
||||
});
|
||||
|
||||
function bind_groups(idx) {
|
||||
function copy_answers(idx) {
|
||||
var elements = $('*[data-idx="'+idx+'"] input, *[data-idx="'+idx+'"] select, *[data-idx="'+idx+'"] textarea');
|
||||
var firstAnswers = $('*[data-idx="0"] input, *[data-idx="0"] select, *[data-idx="0"] textarea');
|
||||
elements.each(function(index){
|
||||
|
||||
@@ -104,6 +104,9 @@ section.front-page {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
#questions_group .panel-title a {
|
||||
line-height: 22px;
|
||||
}
|
||||
@media (max-width: $screen-sm-max) {
|
||||
.page-header h1 small {
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user