mirror of
https://github.com/reality/dbot.git
synced 2024-12-03 17:39:28 +01:00
20 lines
671 B
Plaintext
20 lines
671 B
Plaintext
!!! 5
|
|
html(lang: 'en')
|
|
head
|
|
meta(charset: 'utf-8')
|
|
link(rel: 'stylesheet', type: 'text/css', href: '/styles.css')
|
|
title Depressionbot web interface
|
|
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>';
|
|
}
|
|
body
|
|
div#title Depressionbot web interface
|
|
!{body}
|