Removed unused stuff module ejs

This commit is contained in:
MrFry 2019-10-07 18:27:18 +02:00
parent 7c4bc687e4
commit 344ae366fe
2 changed files with 1 additions and 97 deletions

View file

@ -86,7 +86,7 @@ app.get('/*', function (req, res) {
}
})
res.render('folders', {
res.render('stuff/folders', {
folders: f,
dirname: relPath,
prevDir

View file

@ -1,96 +0,0 @@
<html>
<body bgcolor="#212127">
<head>
<title><%=dirname%></title>
<meta charset="UTF-8">
<style>
body {
font: normal 14px Verdana;
color: #999999;
}
td {
vertical-align: top
}
textarea {
font: normal 14px Verdana;
color: #999999;
background-color: #212127;
width: 100%;
height: 700;
}
a {
color: #9999ff;
}
.subtable {
border-collapse: collapse;
table-layout:fixed;
width:100%
}
.maintable {
border-collapse: collapse;
table-layout:fixed;
width:100%
padding:0; margin:0;
border: none !important;
}
tr {
line-height: 29px;
width:32%;
}
.butt {
background-color: #212127;
color: #999999;
cursor: pointer;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 13px;
}
.active,
.butt:hover {
background-color: #555;
}
</style>
</head>
<center>
<h1>
<%=dirname%>
</h1>
</center>
<a href=<%= "http://qmining.tk/stuff" + prevDir%> > Up one level </a>
</p>
<table class="maintable">
<% for (var i = 0; i < folders.length; i++) { %>
<tr>
<td>
<button class="butt">
<table class="subtable">
<td style='width:30%;'>
<a href="<%= "http://qmining.tk/stuff" + folders[i].path%>"> <%=folders[i].name %> </a>
</td>
<td style='width:30%;'>
<%=folders[i].path %>
</td>
<td style='width:20%;'>
<%=folders[i].mtime %>
</td>
<td style='width:10%;'>
<%=folders[i].size %> MB
</td>
</table>
</button>
</td>
</tr>
<% } %>
</table>
</body>
</html>