mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Submodule pull
This commit is contained in:
commit
2a2eabc97c
4 changed files with 6 additions and 29 deletions
|
@ -179,10 +179,10 @@ app.get('/menuClick', function (req, res) {
|
|||
})
|
||||
|
||||
// all questions readable
|
||||
app.get('/allqr', function (req, res) {
|
||||
res.render('allqr', {
|
||||
d: data.toString().split('\n')
|
||||
})
|
||||
app.get('/allqr.txt', function (req, res) {
|
||||
res.set('Content-Type', 'text/plain')
|
||||
res.send(data.toString())
|
||||
res.end()
|
||||
logger.LogReq(req)
|
||||
})
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<%=scount%> tárgy és <%=qcount%> kérdés
|
||||
</h2>
|
||||
</p>
|
||||
<a href="<%=siteurl%>/allqr"> Letöltés </a>
|
||||
<a href="<%=siteurl%>/allqr.txt"> Letöltés </a> (ctrl-s ha nem tölti le file-ba)
|
||||
<button class="openall" onclick="openall()"> Összes kinyitása </button>
|
||||
</center>
|
||||
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
<html>
|
||||
|
||||
<body bgcolor="#212127">
|
||||
|
||||
<head>
|
||||
<title>All questions</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.8" />
|
||||
<style>
|
||||
body {
|
||||
font: normal 14px Verdana;
|
||||
color: #999999;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<% for (var i = 0; i < d.length; i++) { %>
|
||||
<%= d[i] %>
|
||||
</br>
|
||||
<% } %>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1 +1 @@
|
|||
Subproject commit 3d1399c13b54b4c881c3c7af95003b0397d36290
|
||||
Subproject commit 194fc22d06adc664aa1a8a3a02a81edae613f888
|
Loading…
Add table
Add a link
Reference in a new issue