update main branch #47

Merged
jorge merged 166 commits from develop into main 2021-12-01 11:20:13 +01:00
3 changed files with 20 additions and 13 deletions
Showing only changes of commit 6af87367eb - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,13 @@
(function($) {
$(document).ready(function() {
$('._expand_site_item').click(function() {
$(this).next('tr').toggle();
return false;
});
});
})(jQuery)
$(function(){
$("#site-list").on( "click", ".accordion-title", function() {
var content = $(this).closest('.accordion-item')
.find('.accordion-content')
if ($(content).is(':visible')) {
$(content).slideUp('fast')
} else {
$(content).slideDown('fast')
}
return false;
});
})

View File

@ -21,11 +21,13 @@ $collections = htmlentities(json_encode($collections, JSON_HEX_QUOT), ENT_QUOTES
//$collections = json_encode($collections);
?>
<div data-vue-component="archive-list"
data-collections='<?= $collections ?>'
data-page_size=3>
<div id="site-list">
<div
data-vue-component="archive-list"
data-collections='<?= $collections ?>'
data-page_size=3>
</div>
</div>
<script src="/themes/archive/asset/js/archive-list.js"></script>