forked from nm3clol/nm3clol-express-app
Cleanup a lot of tab stops from 4 spaces to 2 and adjust other whitespace.
This commit is contained in:
parent
6979c455ef
commit
e0b93cf355
|
@ -38,5 +38,5 @@ app.listen(config.appHttpPort, () => {
|
||||||
console.log(`To access your app, you can use the 127.0.0.1 host, http://127.0.0.1:${config.appHttpPort}.`);
|
console.log(`To access your app, you can use the 127.0.0.1 host, http://127.0.0.1:${config.appHttpPort}.`);
|
||||||
console.log(`To access your app, you can use the ::1 host, http://[::1]:${config.appHttpPort}.`);
|
console.log(`To access your app, you can use the ::1 host, http://[::1]:${config.appHttpPort}.`);
|
||||||
console.log(`To access your app, you might can use the app host name, ${config.appHttpUrl}.`);
|
console.log(`To access your app, you might can use the app host name, ${config.appHttpUrl}.`);
|
||||||
console.log(`This app is configured to use the web site URL, ${config.siteUrl}.`);
|
console.log(`This app is configured to use the web site URL for URL generation, as needed, ${config.siteUrl}. Certain site features won't work correctly unless this is on a publicly accessible URL.`);
|
||||||
});
|
});
|
|
@ -1,6 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<style>
|
<style>
|
||||||
|
@ -23,7 +22,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
main,
|
main,
|
||||||
aside,
|
aside,
|
||||||
section {
|
section {
|
||||||
|
@ -32,29 +30,24 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
background: #000;
|
background: #000;
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
padding: 30px 20px;
|
padding: 30px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside p {
|
aside p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside a {
|
aside a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
section span {
|
section span {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
@ -64,44 +57,36 @@
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section p {
|
section p {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
section span+p {
|
section span+p {
|
||||||
margin: 20px 0 0 0;
|
margin: 20px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
section {
|
section {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
section span,
|
section span,
|
||||||
section p {
|
section p {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
section span {
|
section span {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
border-right: 1px solid #EAEAEA;
|
border-right: 1px solid #EAEAEA;
|
||||||
padding: 0 20px 0 0;
|
padding: 0 20px 0 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
section span+p {
|
section span+p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
padding: 50px 0;
|
padding: 50px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside p {
|
aside p {
|
||||||
max-width: 520px;
|
max-width: 520px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -109,7 +94,6 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<section>
|
<section>
|
||||||
|
@ -118,5 +102,4 @@
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -4,18 +4,13 @@
|
||||||
<title><%= (typeof fm.title !== 'undefined') ? `${fm.title} - ${h.getSiteName()}` : h.getSiteName() %></title>
|
<title><%= (typeof fm.title !== 'undefined') ? `${fm.title} - ${h.getSiteName()}` : h.getSiteName() %></title>
|
||||||
<%- include('./includes/common-head.ejs') %>
|
<%- include('./includes/common-head.ejs') %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="initPage()">
|
<body onload="initPage()">
|
||||||
|
|
||||||
<%- include('./includes/top-navbar.ejs') %>
|
<%- include('./includes/top-navbar.ejs') %>
|
||||||
|
|
||||||
<%- include('./includes/no-trash-svg.ejs') %>
|
<%- include('./includes/no-trash-svg.ejs') %>
|
||||||
|
|
||||||
<main class="container">
|
<main class="container">
|
||||||
<header>
|
<header>
|
||||||
<%- include('./includes/breadcrumbs.ejs') %>
|
<%- include('./includes/breadcrumbs.ejs') %>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<% if (typeof content !== 'undefined') {%>
|
<% if (typeof content !== 'undefined') {%>
|
||||||
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg">
|
<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">
|
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||||
|
@ -29,7 +24,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<ul id="files" class="list-group shadow-lg">
|
<ul id="files" class="list-group shadow-lg">
|
||||||
<% if (typeof files !== 'undefined') files.forEach(function(value, index) { %>
|
<% if (typeof files !== 'undefined') files.forEach(function(value, index) { %>
|
||||||
<li class="list-group-item list-group-item-action flex-column align-items-start">
|
<li class="list-group-item list-group-item-action flex-column align-items-start">
|
||||||
|
@ -40,7 +34,6 @@
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</ul>
|
</ul>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<%- include('./includes/bottom-navbar.ejs') %>
|
<%- include('./includes/bottom-navbar.ejs') %>
|
||||||
<%- include('./includes/bottom-scripts.ejs') %>
|
<%- include('./includes/bottom-scripts.ejs') %>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%- include('./includes/bottom-navbar.ejs') %>
|
<%- include('./includes/bottom-navbar.ejs') %>
|
||||||
<%- include('./includes/bottom-scripts.ejs') %>
|
<%- include('./includes/bottom-scripts.ejs') %>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
<p class="center">Page <%= page %> out of <%= totalPages %>. Displaying results <%= (page-1)*pageSize+1 %> through <%= Math.min(page*pageSize, totalResults) %> out of <%= totalResults %> total results.</p>
|
<p class="center">Page <%= page %> out of <%= totalPages %>. Displaying results <%= (page-1)*pageSize+1 %> through <%= Math.min(page*pageSize, totalResults) %> out of <%= totalResults %> total results.</p>
|
||||||
<% } %>
|
<% } %>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<%- include('./includes/bottom-navbar.ejs') %>
|
<%- include('./includes/bottom-navbar.ejs') %>
|
||||||
<%- include('./includes/bottom-scripts.ejs') %>
|
<%- include('./includes/bottom-scripts.ejs') %>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -4,17 +4,13 @@
|
||||||
<title><%=h.getDirectoryTitle(directory)%></title>
|
<title><%=h.getDirectoryTitle(directory)%></title>
|
||||||
<%- include('./includes/common-head.ejs') %>
|
<%- include('./includes/common-head.ejs') %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="initPage()">
|
<body onload="initPage()">
|
||||||
|
|
||||||
<%- include('./includes/top-navbar.ejs') %>
|
<%- include('./includes/top-navbar.ejs') %>
|
||||||
<%- include('./includes/no-trash-svg.ejs') %>
|
<%- include('./includes/no-trash-svg.ejs') %>
|
||||||
|
|
||||||
<main class="container">
|
<main class="container">
|
||||||
<header>
|
<header>
|
||||||
<%- include('./includes/breadcrumbs.ejs') %>
|
<%- include('./includes/breadcrumbs.ejs') %>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<% if (typeof videoURL !== 'undefined') {%>
|
<% if (typeof videoURL !== 'undefined') {%>
|
||||||
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg">
|
<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">
|
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||||
|
@ -49,7 +45,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (typeof subtitleVTT !== 'undefined') {%>
|
<% if (typeof subtitleVTT !== 'undefined') {%>
|
||||||
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg" style="max-height:65vh;overflow-y:scroll">
|
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg" style="max-height:65vh;overflow-y:scroll">
|
||||||
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||||
|
@ -65,9 +60,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<%- include('./includes/bottom-navbar.ejs') %>
|
<%- include('./includes/bottom-navbar.ejs') %>
|
||||||
<%- include('./includes/bottom-scripts.ejs') %>
|
<%- include('./includes/bottom-scripts.ejs') %>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user