2019-12-24 14:51:29 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="author" content="<% author %>" />
|
|
|
|
<meta name="generator" content="MinigalNano <% version %>" />
|
2021-08-03 14:12:11 +02:00
|
|
|
<title>
|
|
|
|
<% title %>
|
|
|
|
</title>
|
2019-12-24 14:51:29 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss.php" />
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="<% gallery_root %>css/w3.css" type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet" href="<% gallery_root %>css/all.min.css" type="text/css" media="screen" />
|
|
|
|
<style type="text/css">
|
|
|
|
/*----lazyloading---*/
|
|
|
|
.loader {
|
|
|
|
background: url('images/loader.gif') center center no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.b-lazy {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.b-lazy.b-loaded {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gallery {
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gallery div {
|
|
|
|
flex: 1 1 200px;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gallery p {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 15px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gallery span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.w3-modal {
|
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
.kt-color {
|
|
|
|
color: #FF0084;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#container {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.w3-text-theme {
|
|
|
|
color: #ff0084 !important
|
|
|
|
}
|
|
|
|
|
|
|
|
.w3-theme {
|
|
|
|
color: #fff !important;
|
|
|
|
background-color: #ff0084 !important
|
|
|
|
}
|
|
|
|
|
|
|
|
.w3-hover-theme:hover {
|
|
|
|
color: #fff !important;
|
|
|
|
background-color: #ff0084 !important
|
|
|
|
}
|
|
|
|
|
|
|
|
.w3-theme-d3 {
|
|
|
|
color: #fff !important;
|
|
|
|
background-color: #b3005c !important
|
|
|
|
}
|
|
|
|
|
|
|
|
.top {
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: xx-large;
|
|
|
|
text-align: center;
|
|
|
|
padding: 4px 16px;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
bottom: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
font-weight: bold;
|
|
|
|
padding-top: 0.3em;
|
|
|
|
margin: 0.3em 0px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.w3-display-middle {
|
|
|
|
position: absolute;
|
|
|
|
top: 10%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -10%);
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#modal01 {
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
|
|
|
padding: .3em;
|
|
|
|
}
|
|
|
|
|
2020-10-12 15:16:05 +02:00
|
|
|
#modal01 span {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2019-12-24 14:51:29 +01:00
|
|
|
.modal-content {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#modal-content-img,
|
|
|
|
#video01 {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#modal-content-img img,
|
|
|
|
#video01 video {
|
|
|
|
max-width: 98%;
|
2021-08-03 13:57:33 +02:00
|
|
|
max-height: 73vh;
|
2019-12-24 14:51:29 +01:00
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comment01 {
|
|
|
|
position: relative;
|
2020-10-12 15:16:05 +02:00
|
|
|
margin: 0 auto 12px;
|
2019-12-24 14:51:29 +01:00
|
|
|
padding: 4px;
|
|
|
|
box-shadow: 0px 5px rgba(89, 0, 46, 0.5);
|
|
|
|
text-align: left;
|
|
|
|
width: 85vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comment01 span {
|
2021-08-03 13:57:33 +02:00
|
|
|
font-size: .8rem;
|
2019-12-24 14:51:29 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-08-03 13:57:33 +02:00
|
|
|
.modal-content .w3-theme-d3 ul {
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
|
2019-12-24 14:51:29 +01:00
|
|
|
.fas {
|
|
|
|
font-size: 2.5em;
|
|
|
|
}
|
2020-10-12 12:00:15 +02:00
|
|
|
|
|
|
|
.closeModal {
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: bolder;
|
|
|
|
text-align: right;
|
2021-08-03 13:57:33 +02:00
|
|
|
margin: 0 1rem 0 0;
|
2020-10-12 12:00:15 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.closeModal a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2021-08-03 13:57:33 +02:00
|
|
|
|
|
|
|
.toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-12-24 14:51:29 +01:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="w3-black">
|
|
|
|
<header role="banner" class="w3-container w3-theme-d2">
|
|
|
|
<div id="innerheader" class="w3-text-theme">
|
2021-08-03 14:12:11 +02:00
|
|
|
<h1><a href="<% gallery_root %>" id="top">
|
|
|
|
<% title %>
|
|
|
|
</a></h1>
|
|
|
|
<nav role="navigation">
|
|
|
|
<% breadcrumb_navigation %>
|
|
|
|
</nav>
|
|
|
|
<aside>
|
|
|
|
<% folder_comment %>
|
|
|
|
</aside>
|
2019-12-24 14:51:29 +01:00
|
|
|
</div>
|
|
|
|
<div id="Message" class="Message">
|
|
|
|
<% messages %>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<div class="w3-bar w3-center">
|
|
|
|
<% page_navigation %>
|
|
|
|
</div>
|
2020-10-12 12:00:15 +02:00
|
|
|
|
2019-12-24 14:51:29 +01:00
|
|
|
<main id="container" class="w3-container w3-black">
|
|
|
|
<div id="gallery" class="w3-row-padding w3-section w3-margin-top">
|
|
|
|
<% thumbnails %>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<div class="w3-bar w3-center">
|
|
|
|
<% page_navigation %>
|
|
|
|
</div>
|
|
|
|
|
2020-10-12 12:00:15 +02:00
|
|
|
<div id="modal01" class="w3-modal w3-animate-zoom">
|
|
|
|
<p class="closeModal"><a href="#" onclick="closeModal(); return false;">X</a></p>
|
2019-12-24 14:51:29 +01:00
|
|
|
<div class="modal-content">
|
2021-08-03 13:57:33 +02:00
|
|
|
<div id="modal-content-img" onclick="closeModal(); return false;"><img id="img01"></div>
|
2019-12-24 14:51:29 +01:00
|
|
|
<div id="video01"></div>
|
2020-10-09 11:48:53 +02:00
|
|
|
<div class="w3-theme-d3 w3-shadow">
|
|
|
|
<p id="comment01"></p>
|
2020-10-12 15:16:05 +02:00
|
|
|
<p>
|
2021-08-03 13:57:33 +02:00
|
|
|
<a href="#" id="toggle">View sharelink</a>
|
2021-08-03 14:12:11 +02:00
|
|
|
<ul style="text-align: left;" id="listShareLink">
|
|
|
|
<li id="thumburl"></li>
|
|
|
|
<li id="fullurl"></li>
|
|
|
|
<li id="markdown"></li>
|
2020-10-12 15:16:05 +02:00
|
|
|
</ul>
|
|
|
|
</p>
|
2019-12-24 14:51:29 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="#top" class="top w3-button w3-theme w3-right">↥</a>
|
|
|
|
<footer role="contentinfo" class="w3-black w3-center w3-text-theme">
|
|
|
|
Gallery by <% author %> /
|
2021-08-03 14:12:11 +02:00
|
|
|
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered
|
|
|
|
by
|
|
|
|
MiniGal Nano <% version %></a> /
|
|
|
|
Inspired theme from Board by Tom Canac /
|
|
|
|
<a title="<% title %> RSS" href="rss.php">RSS</a> /
|
|
|
|
<a title="Contact" href="/contact.php">Contact</a>
|
2019-12-24 14:51:29 +01:00
|
|
|
</footer>
|
|
|
|
<script src="<% gallery_root %>js/lazy.js"></script>
|
|
|
|
<script src="<% gallery_root %>js/script.js"></script>
|
|
|
|
<script>
|
2021-08-03 14:12:11 +02:00
|
|
|
document.querySelector('#listShareLink').classList.toggle('toggle');
|
|
|
|
document.querySelector('#toggle').onclick = function () {
|
|
|
|
event.preventDefault();
|
|
|
|
document.querySelector('#listShareLink').classList.toggle('toggle');
|
|
|
|
}
|
2021-08-03 13:57:33 +02:00
|
|
|
|
2020-10-12 12:00:15 +02:00
|
|
|
function closeModal() {
|
|
|
|
document.getElementById("modal01").style.display = "none"
|
|
|
|
document.getElementById("video01").innerHTML = null;
|
2021-08-03 13:57:33 +02:00
|
|
|
document.getElementById("img01").src = null;
|
2020-10-12 12:00:15 +02:00
|
|
|
}
|
|
|
|
|
2019-12-24 14:51:29 +01:00
|
|
|
function onClick(element) {
|
|
|
|
document.getElementById("img01").src = null;
|
|
|
|
document.getElementById("comment01").innerHTML = null;
|
|
|
|
document.getElementById("video01").innerHTML = null;
|
|
|
|
document.getElementById("comment01").innerHTML = element.dataset.desc;
|
2020-10-12 12:00:15 +02:00
|
|
|
document.getElementById("thumburl").innerHTML = "Thumbnail : " + element.firstElementChild.currentSrc;
|
|
|
|
document.getElementById("fullurl").innerHTML = "Full : " + element.href;
|
2020-10-12 15:21:53 +02:00
|
|
|
document.getElementById("markdown").innerHTML = "Markdown : [![](" + element.firstElementChild.currentSrc + ")](" + element.href + ")";
|
2019-12-24 14:51:29 +01:00
|
|
|
|
|
|
|
if (typeof element.dataset.video !== 'undefined') {
|
|
|
|
document.getElementById("img01").style.display = "none";
|
|
|
|
document.getElementById("video01").style.display = "";
|
|
|
|
document.getElementById("video01").innerHTML = "<video height='90%' controls id='the_Video' poster='" + element.href + "'><source src='" + element.dataset.video + "' type='video/webm'></video>";
|
|
|
|
} else {
|
|
|
|
document.getElementById("video01").style.display = "none";
|
|
|
|
document.getElementById("img01").style.display = "";
|
|
|
|
document.getElementById("img01").src = element.href;
|
|
|
|
}
|
|
|
|
document.getElementById("modal01").style.display = "block";
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|