Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rough out HTML page.

  • Loading branch information...
commit 457fdd1aef46be4858f2ba19f36dae25712b143e 1 parent 072f07c
@jbarnette authored
Showing with 55 additions and 13 deletions.
  1. +8 −1 Rakefile
  2. +47 −12 config/templates/index.html.erb
View
9 Rakefile
@@ -73,7 +73,14 @@ task :templates do
end
directory "projects"
-directory "public"
+
+file "public" do
+ mkdir "public"
+
+ Dir["vendor/cijoe/lib/cijoe/public/*"].each do |f|
+ ln_s File.expand_path(f), "public/#{File.basename f}"
+ end
+end
file "config/htpasswd" do |t|
puts "Creating #{t.name} entry for #{ENV['USER']}."
View
59 config/templates/index.html.erb
@@ -1,17 +1,52 @@
<!DOCTYPE html>
-
<html>
-<head>
- <title>fuck you</title>
-</head>
+ <head>
+ <link href="screen.css" media="screen" rel="stylesheet" type="text/css" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <title>Fortress Joe</title>
+ </head>
+ <body>
+ <div class="site">
+ <div class="title">
+ <a href="/">Fortress Joe</a>
+ <span class="extra">
+ because the good guys never get an underground lair
+ </span>
+ </div>
-<body>
- <h1>fuck you</h1>
+ <div id="home">
+ <ul class="posts">
+ <% @projects.each do |p| %>
+ <li>
+ <a href="/<%= p %>"><%= p %></a>
+ </li>
+ <% end %>
+ </ul>
+ </div>
- <ul>
- <% @projects.each do |p| %>
- <li><a href="/<%= p %>"><%= p %></a></li>
- <% end %>
- </ul>
-</body>
+ <div class="footer">
+ <div class="contact">
+ <p>
+ <a href="http://github.com/defunkt/cijoe/tree/master#readme">Documentation</a><br/>
+ <a href="http://github.com/defunkt/cijoe">Source</a><br/>
+ <a href="http://github.com/defunkt/cijoe/issues">Issues</a><br/>
+ <a href="http://twitter.com/defunkt">Twitter</a>
+ </p>
+ </div>
+ <div class="contact">
+ <p>
+ Designed by <a href="http://tom.preston-werner.com/">Tom Preston-Werner</a><br/>
+ Influenced by <a href="http://integrityapp.com/">Integrity</a><br/>
+ Built with <a href="http://sinatrarb.com/">Sinatra</a><br/>
+ Keep it simple, Sam.
+ </p>
+ </div>
+ <div class="rss">
+ <a href="http://github.com/defunkt/cijoe">
+ <img src="octocat.png" alt="Octocat!" />
+ </a>
+ </div>
+ </div>
+ </div>
+ </body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.