summaryrefslogtreecommitdiffstats
path: root/dat
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-06-27 01:46:46 -0500
committerNeil Moore <neil@s-z.org>2012-06-27 01:46:46 -0500
commit1b12a9b9d996f44ea0af83984234cf355f83c183 (patch)
tree8294787a8e6475cca06e32e161963af0ca3f1feb /dat
parente3c516e54f13188862055c18729dbf328d2f79eb (diff)
downloadcrawlbot-1b12a9b9d996f44ea0af83984234cf355f83c183.tar.gz
crawlbot-1b12a9b9d996f44ea0af83984234cf355f83c183.zip
Whitespace fixes.
Diffstat (limited to 'dat')
-rw-r--r--dat/log/.logview.shtml84
-rwxr-xr-xdat/log/crawl-dev.log.concat4
2 files changed, 43 insertions, 45 deletions
diff --git a/dat/log/.logview.shtml b/dat/log/.logview.shtml
index 6cc5308..079a2a3 100644
--- a/dat/log/.logview.shtml
+++ b/dat/log/.logview.shtml
@@ -6,9 +6,9 @@ wensleysubmit = function() {
}
wensleysearch = function() {
wensley('crawl-dev.log.concat', {
- s: $('input#s').val(),
- re: $('input#re:checked').val(),
- cs: $('input#cs:checked').val(),
+ s: $('input#s').val(),
+ re: $('input#re:checked').val(),
+ cs: $('input#cs:checked').val(),
});
}
wensleyclear = function() {
@@ -23,10 +23,10 @@ wensley = function(logurl, args) {
// Ugh: try to handle colour and bold tags.
data = data.replace(/\cC(?:0(\d)|([1-9]\d?))(?:,(?:0(\d)|([1-9]\d?)))?([^\cC\cO\n]*\cO?)/g, '<span class="fg$1$2 bg$3$4">$5</span>');
data = data.replace(/\cB([^\cB\cO\n]*)\cO?/g, '<b>$1</b>');
- data = data.replace(/\cO/g, '');
+ data = data.replace(/\cO/g, '');
- // Search headers
- data = data.replace(/(\d+ match(?:es)? in )##(.*):/g, '<h3>$1<a onclick="wensley(\'%23%23$2\', {})" href="#">##$2</a>:</h3>');
+ // Search headers
+ data = data.replace(/(\d+ match(?:es)? in )##(.*):/g, '<h3>$1<a onclick="wensley(\'%23%23$2\', {})" href="#">##$2</a>:</h3>');
data = data.replace(/\n/g, "<br>");
$('div#stuff').html('<h2>Wensley is so awesome</h2><a href="#files">Jump to list of logs</a> | <a href="#" onclick="wensleyclear()">Close log</a><div class="irc">' + data + '</div>');
@@ -34,42 +34,42 @@ wensley = function(logurl, args) {
}
</script>
<style type="text/css">
- h3 { margin-bottom: 0em; }
- .irc { font-family: monospace; }
- .fg0 { color: white; }
- .fg1 { color: black; }
- .fg2 { color: #4040ff; }
- .fg3 { color: green; }
- .fg4 { color: red; }
- .fg5 { color: #ff4040; }
- .fg6 { color: purple; }
- .fg7 { color: #606000; }
- .fg8 { color: #a0a000; }
- .fg9 { color: #40ff40; }
- .fg10 { color: teal; }
- .fg11 { color: #00ffff; }
- .fg12 { color: #8080ff; }
- .fg13 { color: #ff00ff; }
- .fg14 { color: #404040; }
- .fg15 { color: #808080; }
- .fg16 { color: black; }
- .bg0 { background: white; }
- .bg1 { background: black; }
- .bg2 { background: #4040ff; }
- .bg3 { background: green; }
- .bg4 { background: red; }
- .bg5 { background: #ff4040; }
- .bg6 { background: purple; }
- .bg7 { background: #606000; }
- .bg8 { background: #a0a000; }
- .bg9 { background: #40ff40; }
- .bg10 { background: teal; }
- .bg11 { background: #00ffff; }
- .bg12 { background: #8080ff; }
- .bg13 { background: #ff00ff; }
- .bg14 { background: #404040; }
- .bg15 { background: #808080; }
- .bg16 { background: black; }
+ h3 { margin-bottom: 0em; }
+ .irc { font-family: monospace; }
+ .fg0 { color: white; }
+ .fg1 { color: black; }
+ .fg2 { color: #4040ff; }
+ .fg3 { color: green; }
+ .fg4 { color: red; }
+ .fg5 { color: #ff4040; }
+ .fg6 { color: purple; }
+ .fg7 { color: #606000; }
+ .fg8 { color: #a0a000; }
+ .fg9 { color: #40ff40; }
+ .fg10 { color: teal; }
+ .fg11 { color: #00ffff; }
+ .fg12 { color: #8080ff; }
+ .fg13 { color: #ff00ff; }
+ .fg14 { color: #404040; }
+ .fg15 { color: #808080; }
+ .fg16 { color: black; }
+ .bg0 { background: white; }
+ .bg1 { background: black; }
+ .bg2 { background: #4040ff; }
+ .bg3 { background: green; }
+ .bg4 { background: red; }
+ .bg5 { background: #ff4040; }
+ .bg6 { background: purple; }
+ .bg7 { background: #606000; }
+ .bg8 { background: #a0a000; }
+ .bg9 { background: #40ff40; }
+ .bg10 { background: teal; }
+ .bg11 { background: #00ffff; }
+ .bg12 { background: #8080ff; }
+ .bg13 { background: #ff00ff; }
+ .bg14 { background: #404040; }
+ .bg15 { background: #808080; }
+ .bg16 { background: black; }
</style>
</head>
<body>
diff --git a/dat/log/crawl-dev.log.concat b/dat/log/crawl-dev.log.concat
index f42ba51..ecfc76b 100755
--- a/dat/log/crawl-dev.log.concat
+++ b/dat/log/crawl-dev.log.concat
@@ -15,9 +15,7 @@ $q->param("download") and @dlhead = (
-Content_disposition => "attachment; filename = crawl-dev-search.log"
);
-print $q->header({
- -type => 'text/plain', -encoding => 'UTF-8', @dlhead
-});
+print $q->header({ -type => 'text/plain', -encoding => 'UTF-8', @dlhead });
chdir "/home/szorg/public_html/crawl-dev";