forked from GitHub/dbot
fix flashy
This commit is contained in:
parent
b9064302ba
commit
aed72f52dc
@ -10,7 +10,7 @@ var pages = function(dbot) {
|
|||||||
res.render('flashy', {
|
res.render('flashy', {
|
||||||
'name': dbot.config.name,
|
'name': dbot.config.name,
|
||||||
'colour': colour,
|
'colour': colour,
|
||||||
'text': req.params.text
|
'text': decodeURIComponent(req.params.text)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
doctype html
|
|
||||||
html(lang='en')
|
html(lang='en')
|
||||||
head
|
head
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
@ -6,4 +5,6 @@ html(lang='en')
|
|||||||
title #{name} web interface
|
title #{name} web interface
|
||||||
body
|
body
|
||||||
div.container
|
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