forked from nm3clol/nm3clol-express-app
61 lines
2.2 KiB
Plaintext
61 lines
2.2 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title><%=h.getDirectoryTitle({directory})%></title>
|
|
<%- include('./includes/common-head.ejs') %>
|
|
</head>
|
|
|
|
<body onload="initPage()">
|
|
|
|
<%- include('./includes/top-navbar.ejs') %>
|
|
|
|
<main class="container">
|
|
<header>
|
|
<h1 class="mt-5">
|
|
<i> </i>
|
|
<% paths.forEach(function(value, index) { %>
|
|
<% if (h.shouldShowDirectorySeparator({index})) { %>
|
|
<span class="separator">› </span>
|
|
<% } %>
|
|
<% if (h.shouldShowWelcomeBanner({paths})) { %>
|
|
Welcome to <%= h.getDirectoryTitle({directory}) %>
|
|
<% } else if (h.shouldOmitLinkOnLastBreadcrumb({paths, index})) { %>
|
|
<%= h.trimSlashes({path: value.name}) %>
|
|
<% } else { %>
|
|
<a href="/<%= value.url %>">
|
|
<%= h.getDirectoryName({directory: value.name}) %>
|
|
</a>
|
|
<% } %>
|
|
<% }); %>
|
|
</h1>
|
|
</header>
|
|
|
|
<% if (typeof info !== 'undefined') {%>
|
|
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg">
|
|
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
|
<h1 class="title"><%= (typeof info.title !== 'undefined') ? info.title : "" %> </h1>
|
|
<video class="object-fit-fill ratio ratio-16x9" controls allowfullscreen>
|
|
<source src="<%-videoURL%>">
|
|
<track
|
|
label="English"
|
|
kind="subtitles"
|
|
srclang="en"
|
|
src="<%-subtitleURL%>"
|
|
default />
|
|
</video>
|
|
</div>
|
|
</div>
|
|
<% } %>
|
|
|
|
</main>
|
|
|
|
<%- include('./includes/bottom-navbar.ejs') %>
|
|
|
|
<!-- Bootstrap JS (optional, if you need Bootstrap JS features) -->
|
|
<script src="https://daball.me/vendor/jquery/jquery.min.js"></script>
|
|
<script src="https://daball.me/vendor/popper.js/dist/popper.min.js"></script>
|
|
<script src="https://daball.me/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
<script src="https://daball.me/vendor/jquery-easing/jquery.easing.min.js"></script>
|
|
<script src="https://daball.me/layouts/blog/js/blog.min.js"></script>
|
|
</body>
|
|
</html> |