mirror of
https://github.com/oupala/apaxy.git
synced 2026-02-26 16:21:07 +01:00
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/css/lightgallery.min.css" />
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/js/lightgallery.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
var imageSelector = [
|
|
'.indexcolname a:contains(".jpg"):not(:contains(".json"))',
|
|
'.indexcolname a:contains(".jpeg"):not(:contains(".json"))',
|
|
'.indexcolname a:contains(".png"):not(:contains(".json"))',
|
|
].join(', ');
|
|
|
|
var $table = $('table'),
|
|
$images = $table.find(imageSelector);
|
|
|
|
if ($table.length && $images.length) {
|
|
$table.lightGallery({
|
|
selector: imageSelector,
|
|
mode: 'lg-fade',
|
|
download: true
|
|
});
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<div class="wrapper">
|
|
<!-- we open the `wrapper` element here, but close it in the `footer.html` file -->
|
|
|
|
<ol class="breadcrumb" id="breadcrumb">
|
|
</ol>
|
|
|
|
<input type="search" id="filter" placeholder="filter contents" />
|