Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding empty, though necessary, directories.

  • Loading branch information...
commit 8a142f3b1de0c6d1ba284fa93d8597025d74a3b6 1 parent 52c55a1
@alsonkemp alsonkemp authored
View
0  App/Controllers/.gitignore
No changes.
View
0  App/Layouts/.gitignore
No changes.
View
58 App/Layouts/Default.hs
@@ -1,58 +0,0 @@
-import Control.Monad.Trans
-import Data.List
-import Data.Maybe
-import qualified Network.HTTP as HTTP
-import qualified Network.URI as URI
-
-page = <html>
- <head>
- <% styleSheet "normalize" "screen" %>
- <% styleSheet "pressurized" "screen" %>
- <% styleSheet "turbinado" "screen" %>
- <% javaScript "jquery" %>
- <% javaScript "jsddm" %>
- <% googleAnalytics "UA-6158816-1" %>
- </head>
- <body>
- <div id="wrapper">
- <div id="header">
- <div id="logo">
- <h1>
- <a href="http://www.turbinado.org">
- <img src="/images/turbinado.jpg" />
- <span style="left:140px; position:absolute; top:65px;">
- Turbinado
- </span>
- </a>
- </h1>
- </div>
- </div>
- <div id="menu">
- <ul>
- <% menuItem "/Home/Index" "Home" %>
- <% menuItem "/Home/Performance" "Performance" %>
- <% menuItem "/Home/Architecture" "Architecture" %>
- <% menuItem "/Home/Install" "Install" %>
- <% menuItem "/Tutorial/Index" "Tutorial" %>
- <% menuItem "/Develop/Index" "Develop" %>
- </ul>
- </div>
- <div id="page">
- <div id="content">
- <% insertView %>
- </div>
- </div>
- <div style="clear: both;" />
- </div>
- <div id="footer">
- <p>Copyright (c) 2008 Turbinado.org. All rights reserved.</p>
- <p>Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
- </div>
- </body>
- </html>
-
-menuItem :: FilePath -> String -> View XML
-menuItem p t = do e <- getEnvironment
- let ru = HTTP.rqURI $ fromJust $ getRequest e
- active = if isPrefixOf p (URI.uriPath ru) then "active" else ""
- <li class=active><a href=p><%t%></a></li>
View
53 App/Layouts/Default.hs.old
@@ -1,53 +0,0 @@
-page :: View XML
-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>
View
114 App/Layouts/index.html
@@ -1,114 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<!--
-Design by Free CSS Templates
-http://www.freecsstemplates.org
-Released for free under a Creative Commons Attribution 2.5 License
-
-Name : Pressurized
-Description: A two-column, fixed-width design with dark color scheme.
-Version : 1.0
-Released : 20081103
-
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta name="keywords" content="" />
-<meta name="description" content="" />
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<title>Pressurized by Free CSS Templates</title>
-<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
-</head>
-<body>
-<div id="wrapper">
- <div id="header">
- <div id="logo">
- <h1><a href="#">Pressurized </a></h1>
- <p> design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
- </div>
- </div>
- <!-- end #header -->
- <div id="menu">
- <ul>
- <li class="first"><a href="#">Home</a></li>
- <li><a href="#">Blog</a></li>
- <li><a href="#">Photos</a></li>
- <li><a href="#">About</a></li>
- <li><a href="#">Links</a></li>
- <li><a href="#">Contact</a></li>
- </ul>
- </div>
- <!-- end #menu -->
- <div id="page">
- <div id="content">
- <div class="post">
- <h1 class="title"><a href="#">Welcome to Pressurized </a></h1>
- <div class="entry">
- <p>This is <strong>Pressurized</strong>, a free, fully standards-compliant CSS template designed by FreeCssTemplates<a href="http://www.nodethirtythree.com/"></a> for <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>. The photo used in this design is from <a href="http://www.pdphoto.org/">PDPhoto.rog</a>. This free template is released under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attributions 2.5</a> license, so you’re pretty much free to do whatever you want with it (even use it commercially) provided you keep the links in the footer intact. Aside from that, have fun with it :)</p>
- <p>Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.</p>
- </div>
- <p class="meta">Posted by <a href="#">Someone</a> on March 10, 2008
- &nbsp;&bull;&nbsp; <a href="#" class="comments">Comments (64)</a> &nbsp;&bull;&nbsp; <a href="#" class="permalink">Full article</a></p>
- </div>
- <div class="post">
- <h2 class="title"><a href="#">Lorem ipsum sed aliquam</a></h2>
- <div class="entry">
- <p>Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Phasellus <a href="#">dapibus semper urna</a>. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc, ut consectetuer nisl felis ac diam. Etiam non felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem. Phasellus pellentesque. Mauris quam enim, molestie in, rhoncus ut, lobortis a, est.</p>
- <p>Praesent ac lectus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus augue. Fusce eget tellus ultrices ligula volutpat adipiscing. Aenean ligula lectus, vehicula in, dictum a, fermentum nec, felis. Nunc ac turpis in leo posuere imperdiet.</p>
- </div>
- <p class="meta">Posted by <a href="#">Someone</a> on March 8, 2008
- &nbsp;&bull;&nbsp; <a href="#" class="comments">Comments (64)</a> &nbsp;&bull;&nbsp; <a href="#" class="permalink">Full article</a></p>
- </div>
- <div class="post">
- <h2 class="title"><a href="#">Phasellus pellentesque turpis </a></h2>
- <div class="entry">
- <p>Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc, ut consectetuer nisl felis ac diam. Etiam non felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem. Phasellus pellentesque. Mauris quam enim molestie rhoncus lobortis a, est.</p>
- </div>
- <p class="meta">Posted by <a href="#">Someone</a> on March 8, 2008
- &nbsp;&bull;&nbsp; <a href="#" class="comments">Comments (64)</a> &nbsp;&bull;&nbsp; <a href="#" class="permalink">Full article</a></p>
- </div>
- </div>
- <!-- end #content -->
- <div id="sidebar">
- <ul>
- <li>
- <h2>Aliquam tempus</h2>
- <p>Mauris vitae nisl nec metus placerat perdiet est. Phasellus dapibus semper urna ornare consectetuer hendrerit.</p>
- </li>
- <li>
- <h2>Categories</h2>
- <ul>
- <li><a href="#">Uncategorized</a> (3)<span>Lorem Ipsum Dolor Sit Amit</span></li>
- <li><a href="#">Lorem Ipsum</a> (42)<span>Lorem Ipsum Dolor Sit Amit</span></li>
- <li><a href="#">Urna Congue Rutrum</a> (28)<span>Lorem Ipsum Dolor Sit Amit</span> </li>
- <li><a href="#">Vivamus Fermentum</a> (13)<span>Lorem Ipsum Dolor Sit Amit</span> </li>
- </ul>
- </li>
- <li>
- <h2>Blogroll</h2>
- <ul>
- <li><a href="#">Phasellus Pellentesque</a><span>Lorem Ipsum Dolor Sit Amit</span> </li>
- <li><a href="#">Consectetuer Adipiscing</a><span>Lorem Ipsum Dolor Sit Amit</span> </li>
- <li><a href="#">Urna Congue Rutrum</a><span>Lorem Ipsum Dolor Sit Amit</span> </li>
- </ul>
- </li>
- <li>
- <h2>Archives</h2>
- <ul>
- <li><a href="#">December 2007</a>&nbsp;(29)<span>Lorem Ipsum Dolor Sit Amit</span></li>
- <li><a href="#">November 2007</a>&nbsp;(30)<span>Lorem Ipsum Dolor Sit Amit</span></li>
- <li><a href="#">October 2007</a>&nbsp;(31)<span>Lorem Ipsum Dolor Sit Amit</span></li>
- </ul>
- </li>
- </ul>
- </div>
- <!-- end #sidebar -->
- <div style="clear: both;">&nbsp;</div>
- </div>
- <!-- end #page -->
- <div id="footer">
- <p>Copyright (c) 2008 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
- </div>
- <!-- end #footer -->
-</div>
-</body>
-</html>
View
0  App/Models/.gitignore
No changes.
View
0  App/Models/Bases/.gitignore
No changes.
View
0  App/Views/.gitignore
No changes.
View
0  Config/App.hs → Config/App.hs.sample
File renamed without changes
View
0  Config/Routes.hs → Config/Routes.hs.sample
File renamed without changes
View
0  Database/.gitignore
No changes.
View
0  Database/migrations/.gitignore
No changes.
View
8 scripts/GenerateModels.hs
@@ -0,0 +1,8 @@
+
+import Turbinado.Database.ORM.Generator
+import Config.Master
+
+main = do putStrLn "Generation starting."
+ generateModels
+ putStrLn "Generation completed."
+ putStrLn "Have a gander at App/Models."
View
0  static/.gitignore
No changes.
View
0  static/css/.gitignore
No changes.
View
0  static/images/.gitignore
No changes.
View
0  static/js/.gitignore
No changes.
View
0  tmp/.gitignore
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.