2011-09-13 22:25:40 +02:00
|
|
|
!!! 5
|
|
|
|
html(lang: 'en')
|
|
|
|
head
|
|
|
|
meta(charset: 'utf-8')
|
2011-11-08 19:52:59 +01:00
|
|
|
link(rel: 'stylesheet', type: 'text/css', href: '/styles.css')
|
2011-11-08 16:36:18 +01:00
|
|
|
title Depressionbot web interface
|
2011-11-08 20:07:30 +01:00
|
|
|
script
|
|
|
|
var quotes = document.getElementsByTagName("a");
|
|
|
|
var i, ii;
|
|
|
|
for (i = 0, ii = quotes.length; i < ii; i++) {
|
|
|
|
var quote = quotes[i];
|
|
|
|
var q_name = quote.innerHTML;
|
|
|
|
var img = new Image();
|
|
|
|
img.src = 'http://dl.dropbox.com/u/13375195/depressionbot/images/quoted/' + q_name + '.gif';
|
|
|
|
quote.innerHTML = img.outerHTML + ' <span>' + q_name + '</span>';
|
|
|
|
}
|
2011-09-15 21:00:16 +02:00
|
|
|
body
|
2011-11-08 16:36:18 +01:00
|
|
|
div#title Depressionbot web interface
|
2011-09-15 21:00:16 +02:00
|
|
|
!{body}
|