mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Merge branch 'master' of gitlab.com:MrFry/mrfrys-node-server
This commit is contained in:
@@ -285,7 +285,8 @@ app.post('/isAdding', function (req, res) {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
app.get('/q', function (req, res) {
|
app.get('/ask', function (req, res) {
|
||||||
|
logger.LogReq(req)
|
||||||
if (Object.keys(req.query).length === 0) {
|
if (Object.keys(req.query).length === 0) {
|
||||||
res.json({
|
res.json({
|
||||||
message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`,
|
message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`,
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.collapsible {
|
.collapsible {
|
||||||
background-color: #212127;
|
background-color: #232329;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
padding: 0 18px;
|
padding: 0 18px;
|
||||||
display: none;
|
display: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #212127;
|
background-color: #232329;
|
||||||
}
|
}
|
||||||
.subjTitle {
|
.subjTitle {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
if (i % 2 == 0) {
|
if (i % 2 == 0) {
|
||||||
e.style.backgroundColor = "#2f2f37"
|
e.style.backgroundColor = "#2f2f37"
|
||||||
} else {
|
} else {
|
||||||
e.style.backgroundColor = "#212127"
|
e.style.backgroundColor = "#232329"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Submodule public/moodle-test-userscript updated: fe74436ab1...1e8154802c
Reference in New Issue
Block a user