Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
working on getting a stub site for dotcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmatth committed Jan 21, 2012
1 parent 5020dcb commit 570fd1a
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
database.*
*.sqlite3
.DS_Store/*
*.pyc
59 changes: 59 additions & 0 deletions templates/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Le styles -->
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">
<style type="text/css">
body {
padding-top: 60px;
}
</style>

<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
</head>

<body>

<div class="topbar">
<div class="fill">
<div class="container">

<a class="brand">RetireOnAIM</a>

<ul class="nav">
<li><a href="/">Home</a></li>
<li><a class="active">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>

</div>
</div>
</div>

<div class="container">

<!-- Main hero unit for a primary marketing message or call to action -->
<div class="row">

<div class="span16">
<h2>About Us</h2>
<p>I'm a passionate developer and stock investor / trader that uses AIM, and want others to enjoy the benefits.</p>
</div>

</div> <!-- row -->

</div> <!-- /container -->

</body>
</html>
12 changes: 4 additions & 8 deletions templates/bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
</style>

<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
</head>

<body>
Expand All @@ -29,12 +25,12 @@
<div class="fill">
<div class="container">

<a class="brand" href="#">RetireOnAIM</a>
<a class="brand">RetireOnAIM</a>

<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li class="active"><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>

<!-- User or login on toolbar? -->
Expand Down
54 changes: 54 additions & 0 deletions templates/comingsoon.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Le styles -->
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">
<style type="text/css">
body {
padding-top: 60px;
}
</style>

<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
</head>

<body>

<div class="topbar">
<div class="fill">
<div class="container">

<a class="brand">RetireOnAIM</a>

<ul class="nav">
<li><a href="/">Home</a></li>
</ul>

</div>
</div>
</div>

<div class="container">

<div class="hero-unit">
<h1>Coming Soon!</h1>
<p>
<p>We are working hard to make RetireOnAIM the best place to track your stock portfolio. Check back with us soon to see what improvements we've made</p>
<p><a href="/" class="btn primary large">Home</a></p>
</div>

</div> <!-- /container -->

</body>
</html>
7 changes: 5 additions & 2 deletions urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
urlpatterns = patterns('',

(r'^$', TemplateView.as_view(template_name="bootstrap.html")),


(r'about/$', TemplateView.as_view(template_name="about.html")),

(r'contact/$', TemplateView.as_view(template_name="comingsoon.html")),
# Example:
(r'^aim/', include('aim.urls') ),
# (r'^aim/', include('aim.urls') ),

# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
Expand Down
Empty file added util/__init__.py
Empty file.

0 comments on commit 570fd1a

Please sign in to comment.