diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-23 22:09:36 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-23 22:09:36 +0200 |
commit | 585ce5b679406ffe8644b23e3a267d7af8e3a5de (patch) | |
tree | 27dff9a966b9c265e929330b48314f1c38d48428 /public | |
parent | ignore logs (diff) | |
download | jitterbug-585ce5b679406ffe8644b23e3a267d7af8e3a5de.tar.gz |
initial import
Diffstat (limited to '')
-rw-r--r-- | public/404.html | 17 | ||||
-rw-r--r-- | public/500.html | 17 | ||||
-rw-r--r-- | public/css/error.css | 70 | ||||
-rw-r--r-- | public/css/style.css | 34 | ||||
-rwxr-xr-x | public/dispatch.cgi | 3 | ||||
-rwxr-xr-x | public/dispatch.fcgi | 6 | ||||
-rw-r--r-- | public/favicon.ico | bin | 0 -> 1406 bytes |
7 files changed, 147 insertions, 0 deletions
diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..2edb296 --- /dev/null +++ b/public/404.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en-US"> +<head> +<title>Error 404</title> +<link rel="stylesheet" href="/css/error.css" /> +<meta charset=UTF-8" /> +</head> +<body> +<h1>Error 404</h1> +<div id="content"> +<h2>Page Not Found</h2><p>Sorry, this is the void.</p> +</div> +<footer> +Powered by <a href="http://perldancer.org/">Dancer</a> 1.1810 +</footer> +</body> +</html> \ No newline at end of file diff --git a/public/500.html b/public/500.html new file mode 100644 index 0000000..006b273 --- /dev/null +++ b/public/500.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en-US"> +<head> +<title>Error 500</title> +<link rel="stylesheet" href="/css/error.css" /> +<meta charset=UTF-8" /> +</head> +<body> +<h1>Error 500</h1> +<div id="content"> +<h2>Internal Server Error</h2><p>Wooops, something went wrong</p> +</div> +<footer> +Powered by <a href="http://perldancer.org/">Dancer</a> 1.1810 +</footer> +</body> +</html> \ No newline at end of file diff --git a/public/css/error.css b/public/css/error.css new file mode 100644 index 0000000..003ee2a --- /dev/null +++ b/public/css/error.css @@ -0,0 +1,70 @@ +body { + font-family: Lucida,sans-serif; +} + +h1 { + color: #AA0000; + border-bottom: 1px solid #444; +} + +h2 { color: #444; } + +pre { + font-family: "lucida console","monaco","andale mono","bitstream vera sans mono","consolas",monospace; + font-size: 12px; + border-left: 2px solid #777; + padding-left: 1em; +} + +footer { + font-size: 10px; +} + +span.key { + color: #449; + font-weight: bold; + width: 120px; + display: inline; +} + +span.value { + color: #494; +} + +/* these are for the message boxes */ + +pre.content { + background-color: #eee; + color: #000; + padding: 1em; + margin: 0; + border: 1px solid #aaa; + border-top: 0; + margin-bottom: 1em; +} + +div.title { + font-family: "lucida console","monaco","andale mono","bitstream vera sans mono","consolas",monospace; + font-size: 12px; + background-color: #aaa; + color: #444; + font-weight: bold; + padding: 3px; + padding-left: 10px; +} + +pre.content span.nu { + color: #889; + margin-right: 10px; +} + +pre.error { + background: #334; + color: #ccd; + padding: 1em; + border-top: 1px solid #000; + border-left: 1px solid #000; + border-right: 1px solid #eee; + border-bottom: 1px solid #eee; +} + diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..b4ae038 --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,34 @@ +body { + font-family: Lucida,sans-serif; + color: #eee; + background-color: #1f1b1a; +} + +#content { + color: #000; + background-color: #eee; + padding: 1em; + margin: 1em; + padding-top: 0.5em; +} + +a { + color: #a5ec02; +} + +h1 { + color: #a5ec02; +} + +footer { + border-top: 1px solid #aba29c; + margin-top: 2em; + padding-top: 1em; + font-size: 10px; + color: #ddd; +} + +pre { + font-family: \"lucida console\",\"monaco\",\"andale mono\",\"bitstream vera sans mono\",\"consolas\",monospace; +} + diff --git a/public/dispatch.cgi b/public/dispatch.cgi new file mode 100755 index 0000000..0d040ec --- /dev/null +++ b/public/dispatch.cgi @@ -0,0 +1,3 @@ +#!/usr/bin/env perl +use Plack::Runner; +Plack::Runner->run('/home/franck/code/projects/c/jitterbug/jitterbug.pl'); diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi new file mode 100755 index 0000000..90e14c9 --- /dev/null +++ b/public/dispatch.fcgi @@ -0,0 +1,6 @@ +#!/usr/bin/env perl +use Plack::Handler::FCGI; + +my $app = do('/home/franck/code/projects/c/jitterbug/jitterbug.pl'); +my $server = Plack::Handler::FCGI->new(nproc => 5, detach => 1); +$server->run($app); diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..957f4b4 --- /dev/null +++ b/public/favicon.ico Binary files differ |