initial commit

This commit is contained in:
erichhasl
2017-08-31 22:40:53 +02:00
commit 4557aa8251
36 changed files with 2043 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<html>
<head>
<title> <pagetitle/> </title>
<link href="/css/base.css" rel="stylesheet" type="text/css">
<meta charset="utf8">
</head>
<body>
<!-- START OF MAIN -->
<div id="main">
<!-- HEADER -->
<div id="header">
<apply template="header"/>
</div>
<div id="content">
<apply-content />
</div>
</div>
<!-- END OF MAIN -->
<!-- FOOTER -->
<div id="footer">
<apply template="footer"/>
</div>
</body>
</html>
+12
View File
@@ -0,0 +1,12 @@
<apply template="base">
<div class="singlecolumn">
<h2>Logout</h2>
<p>Willst du dich wirklich abmelden?</p>
<form method="post">
<input type="submit" value="Abmelden">
</form>
</div>
</apply>
+211
View File
@@ -0,0 +1,211 @@
body,html{
font-size: 16px;
font-family: "Georgia", serif;
line-height: 29px;
color:#0c1a30;
padding:0;
height: 100%;
margin: 0 0 1px;
}
#main{
background:#fff scroll repeat-x 0px -100px;
margin: 0;
padding: 0;
width:100%;
min-height: 100%;
/*background: #FFFFFF;*/
}
#content {
width: 960px;
margin: 0 auto;
overflow:hidden;
position: relative;
}
h1 {
font-size: 22px;
}
h2{
font-size: 22px;
}
h3 a:link, h3 a:visited, h2 a:link, h2 a:visited {
color: #2C558A;
}
h3 {
font-size: 19px;
}
h4 {
font-size: 17px;
}
h1,h2,h3,h4{
color: #2c558a;
font-weight: normal;
text-shadow: #fff 0px 1px 1px;
letter-spacing:0.1em;
font-family: "Gill Sans", "PT Sans", "Arial", sans-serif;
text-transform: uppercase;
}
ul {
list-style: none;
margin: 0 0 29px 10px;
padding-left: 10px;
text-indent: -13px;
}
p.error {
color: #EE3333;
}
a:link,a:visited{
color: #2B7EA1;
text-decoration: none;
}
#footer {
color: green;
}
#header {
background-color: white;
}
#heading {
width: 100%;
background: #132742 url(nav-back.png) scroll repeat-x bottom left;
color: #C4E7FF;
padding: 25px 0 0 0;
margin:0;
height: 60px;
overflow:hidden;
}
#heading .inner{
width: 960px;
margin:0 auto;
overflow:hidden;
line-height: 1em;
vertical-align: top;
height: 100px;
padding: 0;
position: relative;
/*height: 4em;*/
}
#heading h1 {
margin:0;
padding: 0;
margin: 0 auto;
position: absolute;
top: 10px;
left: 50px;
vertical-align: top;
}
#heading img {
width: 32px;
margin:0;
padding: 0;
margin: 0 auto;
position: absolute;
top: 0px;
left: 0px;
vertical-align: top;
}
#title a {
color: fff;
}
#nav {
overflow: hidden;
color: #C4E7FF;
height: 36px;
padding: 4px 0 0 0; margin: 0;
float: right;
}
#nav ul {
padding: 0;
margin: 0;
height: 100%;
display: inline;
}
#nav li {
vertical-align: top;
padding: 15 0 10px 0;
height: 30px;
display: block;
list-style-type: none;
float: left;
letter-spacing: -0.01em;
margin: 0 20px;
font-family: "Droid Sans", sans-serif;
text-shadow: 1px 1px #142845;
}
#nav a:link, #nav a:visited {
color: inherit;
vertical-align: top;
height: 100%;
display: block;
}
#nav a:hover, #nav a:active {
color: #fff;
vertical-align: top;
height: 100%;
display: block;
}
a.nolink:link, a.nolink:visited {
text-decoration: none;
color: #FF3333;
}
a.nolink:hover {
text-decoration: underline;
}
.singlecolumn h2 {
line-height: 44px;
border-bottom: 1px solid #C2D1E1;
margin-bottom: 13px;
padding: 0px;
}
#footer {
position: relative;
top: 0;
left: 0;
width: 100%;
clear: both;
border-top: 1px solid #C2D1E1;
color: #a0acba;
padding: 4px 0px;
height: 31px;
font-family: "PT Sans", sans-serif;
font-size: 0.75em;
text-align: right;
background: #f5f9ff;
vertical-align: middle;
line-height: 31px;
overflow: hidden;
}
#footer p {
padding: 0 20px;
margin: 0;
}
#footer p.left {
float: left;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

+13
View File
@@ -0,0 +1,13 @@
<apply template="base">
<div class="singlecolumn">
<h2>Seite nicht gefunden</h2>
<p>
Die seite <path/> existiert nicht. Vielleicht war der Link veraltet.
<a href="/">Hier</a> kommst du wieder zur Startseite.
</p>
<p>
Bei weiteren Problemene kannst du dich an den Systemadministrator wenden.
</p>
</div>
</apply>
+2
View File
@@ -0,0 +1,2 @@
<p class="left">Powered by Haskell und FastCGI</p>
<p>Copyright (C) Christian Merten 2017</p>
+15
View File
@@ -0,0 +1,15 @@
<div id="heading">
<div class="inner">
<img src="/css/logo.png">
<h1 id="title"><a href="/">Haskweb</a></h1>
<div id="nav">
<ul id="navlist">
<li><a href="/">Home</a></li>
<li><a href="/info">About</a></li>
<li><a href="${login_path}"><login_name/></a></li>
</ul>
</div>
</div>
</div>
+3
View File
@@ -0,0 +1,3 @@
<apply template="base">
<p>Hier gibts tolle Infos!</p>
</apply>
+7
View File
@@ -0,0 +1,7 @@
<apply template="base">
<div class="singlecolumn">
<h2>Login</h2>
<p>Du bist <kind/> angemeldet!</p>
<p><a href="/logout">Hier</a> kannst du dich abmelden.</p>
</div>
</apply>
+8
View File
@@ -0,0 +1,8 @@
<apply template="base">
<div class="singlecolumn">
<h2>Login</h2>
<p>Du bist <kind/> abgemeldet!</p>
<p><a href="/login">Hier</a> kannst du dich anmelden.</p>
</div>
</apply>
+20
View File
@@ -0,0 +1,20 @@
<apply template="base">
<div class="singlecolumn">
<h2>Login</h2>
<p>
Hier kannst du dich anmelden, um auf geschützte Bereiche zuzugreifen.<br>
Du hast noch keine Account? Dann kann du dich <a href="/register">hier</a> registrieren.<br>
</p>
<p class="error"><errormsg/>
<form method="post">
Benutzername:<br>
<input type="text" name="username"><br>
Passwort:<br>
<input type="password" name="password"><br><br>
<input type="submit" value="Anmelden">
</form>
</div>
</apply>
+9
View File
@@ -0,0 +1,9 @@
<apply template="base">
<div class="singlecolumn">
<h2>Geheimes Zeug</h2>
<p>
Jetzt kannst du die spannenden Sachen sehen, für die
man angemeldet sein muss!
</p>
</div>
</apply>
+21
View File
@@ -0,0 +1,21 @@
<apply template="base">
<div class="singlecolumn">
<h2>Registrierung</h2>
<p>
Hier kannst du dich registrieren.<br>
Du hast schon einen Account? Dann melde dich <a href="/login">hier</a> an.<br>
</p>
<p class="error"><errormsg/>
<form method="post">
Benutzername:<br>
<input type="text" name="username"><br>
Passwort:<br>
<input type="password" name="password"><br>
Passwort bestätigen:<br>
<input type="password" name="confirm_password"><br><br>
<input type="submit" value="Anmelden">
</form>
</div>
</apply>
+10
View File
@@ -0,0 +1,10 @@
<apply template="base">
<div class="singlecolumn">
<h2>Registrierung abgeschlossen</h2>
<p>
Du hast dich erfolgreich registriert.<br>
<a href="/login">Hier</a> gehts zur Anmeldung.
</p>
</div>
</apply>
+25
View File
@@ -0,0 +1,25 @@
<apply template="base">
<div class="singlecolumn">
<h2>Startseite</h2>
<p>
Das ist die Startseite der tollen Webseite!
Du wart hier heute schon <b><visited/></b> mal!<br>
Schau dich hier ruhig um, es gibt total viel tolles zu sehen! Jede
Menge sinnloser Text! Vielleicht wird es hier in Zukunft auch
die ein oder andere Dokumentation zu sehen geben.
</p>
<h3>Neuigkeiten</h3>
<p>
Hier werden tolle Informationen veröffentlicht! Aktuell gibt es aber
nichts neues! Vielleicht ja später mal! Es lohnt sich definitiv
hier nicht regelmäßig vorbei zu schauen, da sich hier eh nichts
ändert!
</p>
<h3>Lala</h3>
<p>Ab und zu steht hier auch mal sinnvolles Zeug, meistens aber nur Müll!</p>
</div>
</apply>