forked from alsonkemp/turbinado
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
196 additions
and
50,543 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
module Develop (index) where | ||
|
||
index :: Controller () | ||
index = return () | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
module Home (index) where | ||
|
||
index :: Controller () | ||
index = return () :: Controller () | ||
index = return () | ||
|
||
about :: Controller () | ||
about = return () | ||
|
||
performance :: Controller () | ||
performance = return () | ||
|
||
hello :: Controller () | ||
hello = do e <- getEnvironment | ||
e' <- doIO $ clearLayout e | ||
put e' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,53 @@ | ||
module Default (page) where | ||
|
||
-- This is for XML, so doesn't do anything but insert the page | ||
page :: View XML | ||
page = insertView | ||
|
||
page = <html> | ||
<head> | ||
<% styleSheet "normalize" "screen" %> | ||
<% styleSheet "jsddm" "screen" %> | ||
<% styleSheet "turbinado" "screen" %> | ||
<% javaScript "jquery" %> | ||
<% javaScript "jsddm" %> | ||
<script type="text/javascript"> | ||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
</script> | ||
<script type="text/javascript"> | ||
var pageTracker = _gat._getTracker("UA-6158816-1"); | ||
pageTracker._trackViewview(); | ||
</script> | ||
</head> | ||
<body> | ||
<table class="wrapper"> | ||
<tr> | ||
<td class="title"> | ||
<h1>Turbinado</h1> | ||
<img class="title-image" src="/images/turbinado.jpg" /> | ||
<h2>Sugar For</h2> | ||
<h2>The Web</h2> | ||
</td> | ||
<td class="container"> | ||
<ul id="jsddm"> | ||
<li><a href="/Home/Index">Home</a> | ||
<ul> | ||
<li><a href="/Home/About">About</a></li> | ||
<li><a href="/Home/Performance">Performance</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="/Tutorial/Index">Tutorial</a> | ||
</li> | ||
<li><a href="/Develop/Index">Develop</a></li> | ||
</ul> | ||
<div class="clear"></div> | ||
<% breadCrumbs %> | ||
<div id="content-block" class="content-block"> | ||
<% insertView %> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2"> | ||
<div class="footer">Turbinado - www.turbinado.org</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.