diff --git a/public/css/swagg.css b/public/css/swagg.css index 98c46e0..f90604c 100644 --- a/public/css/swagg.css +++ b/public/css/swagg.css @@ -3,7 +3,6 @@ body { background: #000; margin: 8px; color: #00FF00; - font: normal 16px/20px Courier, Courier New, monospace; } a { diff --git a/templates/index.html.ep b/templates/index.html.ep index 9c28bb2..983f059 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -108,7 +108,7 @@ +--------------------------+
- +
<%= $fortune %>
+--------------------------+
@@ -121,19 +121,8 @@
+--------------------------+
-
-

Please sign the guestbook and let SwaggNet know what you really - think.

- - Sign the Guestbook! - -
-
-
- +--------------------------+
-
- +

TODO: visitor count goes here

+--------------------------+
diff --git a/www-swagg.pl b/www-swagg.pl index ca853d2..c899beb 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -4,8 +4,9 @@ use Mojolicious::Lite; get '/' => sub { my ($c) = @_; - - $c->render() + my $fortune = `fortune`; + + $c->render(fortune => $fortune) } => 'index'; app->start();