+
Internal Server Error
Wooops, something went wrong
+
+
+
+
diff --git a/img/chch_nacht.jpg b/public/img/chch_nacht.jpg
similarity index 100%
rename from img/chch_nacht.jpg
rename to public/img/chch_nacht.jpg
diff --git a/img/line_blue.png b/public/img/line_blue.png
similarity index 100%
rename from img/line_blue.png
rename to public/img/line_blue.png
diff --git a/img/line_green.png b/public/img/line_green.png
similarity index 100%
rename from img/line_green.png
rename to public/img/line_green.png
diff --git a/img/line_red.png b/public/img/line_red.png
similarity index 100%
rename from img/line_red.png
rename to public/img/line_red.png
diff --git a/img/marx_blue.png b/public/img/marx_blue.png
similarity index 100%
rename from img/marx_blue.png
rename to public/img/marx_blue.png
diff --git a/img/marx_green.png b/public/img/marx_green.png
similarity index 100%
rename from img/marx_green.png
rename to public/img/marx_green.png
diff --git a/img/marx_red.png b/public/img/marx_red.png
similarity index 100%
rename from img/marx_red.png
rename to public/img/marx_red.png
diff --git a/img/raw/interfug stamp_final_6er_a4.svg b/public/img/raw/interfug stamp_final_6er_a4.svg
similarity index 100%
rename from img/raw/interfug stamp_final_6er_a4.svg
rename to public/img/raw/interfug stamp_final_6er_a4.svg
diff --git a/img/raw/schema.png b/public/img/raw/schema.png
similarity index 100%
rename from img/raw/schema.png
rename to public/img/raw/schema.png
diff --git a/img/raw/schema.svg b/public/img/raw/schema.svg
similarity index 100%
rename from img/raw/schema.svg
rename to public/img/raw/schema.svg
diff --git a/img/raw/schema.xcf b/public/img/raw/schema.xcf
similarity index 100%
rename from img/raw/schema.xcf
rename to public/img/raw/schema.xcf
diff --git a/img/raw/texture.svg b/public/img/raw/texture.svg
similarity index 100%
rename from img/raw/texture.svg
rename to public/img/raw/texture.svg
diff --git a/img/texture_blue.png b/public/img/texture_blue.png
similarity index 100%
rename from img/texture_blue.png
rename to public/img/texture_blue.png
diff --git a/img/texture_green.png b/public/img/texture_green.png
similarity index 100%
rename from img/texture_green.png
rename to public/img/texture_green.png
diff --git a/img/texture_red.png b/public/img/texture_red.png
similarity index 100%
rename from img/texture_red.png
rename to public/img/texture_red.png
diff --git a/misc/ocr_a_regular.ttf b/public/misc/ocr_a_regular.ttf
similarity index 100%
rename from misc/ocr_a_regular.ttf
rename to public/misc/ocr_a_regular.ttf
diff --git a/style/style.css.php b/public/style/style.css
similarity index 81%
rename from style/style.css.php
rename to public/style/style.css
index 9d385c6..6ebdd3e 100644
--- a/style/style.css.php
+++ b/public/style/style.css
@@ -1,24 +1,3 @@
-"red","rgb"=>"#e30613"),
-Array("name"=>"green","rgb"=>"#3aaa35"),
-Array("name"=>"blue","rgb"=>"#009fe3")
-);
-/*
- *
-.yellow{
-color:#ffde00;
-}
- *
- */
- $color=$colors[rand(0, 2)];
-?>
-
@charset 'UTF-8';
/*********************************************************************************/
@@ -133,14 +112,14 @@ color:#ffde00;
#marx{
min-width:130px;
width:*;
- background: url("/img/marx_.png") no-repeat right;
+ background: url("/img/marx_blue.png") no-repeat right;
background-size:cover;
}
#line{
min-width:130px;
width:*;
- background: url("/img/line_.png") right;
+ background: url("/img/line_blue.png") right;
background-size:contain;
}
@@ -149,8 +128,8 @@ color:#ffde00;
width:700px;
height: 100vh;
min-width:500px;
- border-right: 4px solid ;
- border-left: 4px solid ;
+ border-right: 4px solid #009fe3;
+ border-left: 4px solid #009fe3;
position: relative;
}
@@ -211,7 +190,7 @@ color:#ffde00;
#nav li, header
{
- border: 4px solid ;
+ border: 4px solid #009fe3;
background: white;
margin-bottom:12px;
padding:4px;
@@ -225,7 +204,7 @@ color:#ffde00;
#nav a span
{
/*text-transform:*/
- background:url("/img/texture_.png") no-repeat right bottom;
+ background:url("/img/texture_blue.png") no-repeat right bottom;
background-size:70%;
font-family:'OCR';
display: inline-block;
diff --git a/t/001_base.t b/t/001_base.t
new file mode 100644
index 0000000..0330a69
--- /dev/null
+++ b/t/001_base.t
@@ -0,0 +1,5 @@
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+use_ok 'ChaosChemnitz::Interfug15::Webseite';
diff --git a/t/002_index_route.t b/t/002_index_route.t
new file mode 100644
index 0000000..3006c66
--- /dev/null
+++ b/t/002_index_route.t
@@ -0,0 +1,15 @@
+use strict;
+use warnings;
+
+use ChaosChemnitz::Interfug15::Webseite;
+use Test::More tests => 2;
+use Plack::Test;
+use HTTP::Request::Common;
+
+my $app = ChaosChemnitz::Interfug15::Webseite->to_app;
+is( ref $app, 'CODE', 'Got app' );
+
+my $test = Plack::Test->create($app);
+my $res = $test->request( GET '/' );
+
+ok( $res->is_success, '[GET /] successful' );
diff --git a/text/anreise.html b/views/anreise.tt
similarity index 100%
rename from text/anreise.html
rename to views/anreise.tt
diff --git a/text/cfp.html b/views/cfp.tt
similarity index 100%
rename from text/cfp.html
rename to views/cfp.tt
diff --git a/text/home.html b/views/home.tt
similarity index 100%
rename from text/home.html
rename to views/home.tt
diff --git a/text/kontakt.html b/views/kontakt.tt
similarity index 100%
rename from text/kontakt.html
rename to views/kontakt.tt
diff --git a/views/layouts/main.tt b/views/layouts/main.tt
new file mode 100644
index 0000000..7832e88
--- /dev/null
+++ b/views/layouts/main.tt
@@ -0,0 +1,43 @@
+
+
+
+