You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fastgallery/testing/gallery/subdir/subsubdir/index.html

95 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>subsubdir</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link href="../../fastgallery.css" rel="stylesheet">
<link href="../../primer.css" rel="stylesheet">
</head>
<body class="bg-gray">
<div id="thumbnails">
<h1 class="px-2 pb-2 my-0 m-md-3 m-lg-4">subsubdir</h1>
<!-- Thumbnail view. First subfolders. -->
<div class="container-xl m-0 m-md-2 m-lg-3">
<div class="col-4 col-md-3 col-lg-2 float-left p-md-2 p-lg-3">
<a href="../">
<img class="box border border-gray box-shadow width-fit" src="../../back.png" alt="Back">
</a>
<span class="px-2 pb-2 width-fit css-truncate css-truncate-target">Back</span>
</div>
<div class="col-4 col-md-3 col-lg-2 float-left p-md-2 p-lg-3">
<img class="box border border-gray box-shadow width-fit" src="_thumbnail/recorder.jpg" alt="recorder.heic" onclick="changePicture(0);displayModal(true);">
<span class="px-2 pb-2 width-fit css-truncate css-truncate-target">recorder.heic</span>
</div>
</div>
</div>
<!-- Modal which shows individual pictures full-screen.
Covers thumbnail view. Hidden by default, unless URL contains
hashtag and thumbnail name. -->
<div class="position-fixed top-0 left-0 width-full height-full d-flex flex-column flex-justify-center flex-items-center box border border-gray box-shadow bg-gray" id="modal" hidden>
<div class="bg-gray clearfix position-absolute top-0 p-1" id="modalHeader">
<div class="float-right modalControl float-left" onclick="displayModal(false);">
<i data-feather="x"></i>
</div>
<div class="float-right modalControl float-left">
<a href="#" id="modalDownload" download>
<i data-feather="download"></i>
</a>
</div>
</div>
<div id="modalMedia" class="d-flex flex-justify-center"></div>
<div class="bg-gray position-absolute bottom-0 d-flex flex-justify-center p-1" id="modalFooter">
<div class="float-left modalControl float-left" onclick="prevPicture();">
<i data-feather="chevron-left"></i>
</div>
<div class="mx-auto float-left width-fit css-truncate css-truncate-target" id="modalDescription"></div>
<div class="float-right modalControl float-left" onclick="nextPicture();">
<i data-feather="chevron-right"></i>
</div>
</div>
</div>
<!-- Statically generated javascript array of pictures on this page -->
<script>
const pictures = [
{
thumbnail: "_thumbnail/recorder.jpg",
fullsize: "_fullsize/recorder.jpg",
original: "_original/recorder.heic",
filename: "recorder.heic"
}
]
</script>
<script src="../../fastgallery.js"></script>
<script src="../../feather.min.js"></script>
<script src="../../serviceWorker.js"></script>
<script>
feather.replace()
</script>
</body>
</html>