mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 12:29:26 +01:00
fix flashy
This commit is contained in:
parent
b9064302ba
commit
aed72f52dc
@ -10,7 +10,7 @@ var pages = function(dbot) {
|
||||
res.render('flashy', {
|
||||
'name': dbot.config.name,
|
||||
'colour': colour,
|
||||
'text': req.params.text
|
||||
'text': decodeURIComponent(req.params.text)
|
||||
});
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,3 @@
|
||||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
meta(charset='utf-8')
|
||||
@ -6,4 +5,6 @@ html(lang='en')
|
||||
title #{name} web interface
|
||||
body
|
||||
div.container
|
||||
blink [ span.flash(style='color: #'+colour+';') #{text} span ]
|
||||
blink [
|
||||
span.flash(style='color: #'+colour+';') #{text}
|
||||
span ]
|
||||
|
Loading…
Reference in New Issue
Block a user