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 ::1 host, http://[::1]:${config.appHttpPort}.`);
|
||||
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>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<style>
|
||||
|
@ -23,7 +22,6 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main,
|
||||
aside,
|
||||
section {
|
||||
|
@ -32,29 +30,24 @@
|
|||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
aside {
|
||||
background: #000;
|
||||
flex-shrink: 1;
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
aside p {
|
||||
margin: 0;
|
||||
color: #999999;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
aside a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
section span {
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
|
@ -64,44 +57,36 @@
|
|||
padding-bottom: 20px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
section p {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
section span+p {
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
section {
|
||||
height: 40px;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
section span,
|
||||
section p {
|
||||
height: 100%;
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
section span {
|
||||
border-bottom: 0;
|
||||
border-right: 1px solid #EAEAEA;
|
||||
padding: 0 20px 0 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
section span+p {
|
||||
margin: 0;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
aside {
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
aside p {
|
||||
max-width: 520px;
|
||||
text-align: center;
|
||||
|
@ -109,7 +94,6 @@
|
|||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<section>
|
||||
|
@ -118,5 +102,4 @@
|
|||
</section>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -4,18 +4,13 @@
|
|||
<title><%= (typeof fm.title !== 'undefined') ? `${fm.title} - ${h.getSiteName()}` : h.getSiteName() %></title>
|
||||
<%- include('./includes/common-head.ejs') %>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
|
||||
<%- include('./includes/top-navbar.ejs') %>
|
||||
|
||||
<%- include('./includes/no-trash-svg.ejs') %>
|
||||
|
||||
<main class="container">
|
||||
<header>
|
||||
<%- include('./includes/breadcrumbs.ejs') %>
|
||||
</header>
|
||||
|
||||
<% 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="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||
|
@ -29,7 +24,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<ul id="files" class="list-group shadow-lg">
|
||||
<% if (typeof files !== 'undefined') files.forEach(function(value, index) { %>
|
||||
<li class="list-group-item list-group-item-action flex-column align-items-start">
|
||||
|
@ -40,7 +34,6 @@
|
|||
<% }) %>
|
||||
</ul>
|
||||
</main>
|
||||
|
||||
<%- include('./includes/bottom-navbar.ejs') %>
|
||||
<%- include('./includes/bottom-scripts.ejs') %>
|
||||
</body>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<%- include('./includes/bottom-navbar.ejs') %>
|
||||
<%- include('./includes/bottom-scripts.ejs') %>
|
||||
</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>
|
||||
<% } %>
|
||||
</main>
|
||||
|
||||
<%- include('./includes/bottom-navbar.ejs') %>
|
||||
<%- include('./includes/bottom-scripts.ejs') %>
|
||||
</body>
|
||||
|
|
|
@ -4,17 +4,13 @@
|
|||
<title><%=h.getDirectoryTitle(directory)%></title>
|
||||
<%- include('./includes/common-head.ejs') %>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
|
||||
<%- include('./includes/top-navbar.ejs') %>
|
||||
<%- include('./includes/no-trash-svg.ejs') %>
|
||||
|
||||
<main class="container">
|
||||
<header>
|
||||
<%- include('./includes/breadcrumbs.ejs') %>
|
||||
</header>
|
||||
|
||||
<% 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="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||
|
@ -49,7 +45,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% 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="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||
|
@ -65,9 +60,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
</main>
|
||||
|
||||
<%- include('./includes/bottom-navbar.ejs') %>
|
||||
<%- include('./includes/bottom-scripts.ejs') %>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue
Block a user