forked from progrium/hd-log
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hello world with templates and other dojo stuff
- Loading branch information
Showing
9 changed files
with
121 additions
and
4 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
requirements | ||
============ | ||
-members only access | ||
-members can post updates | ||
-members can comment on updates | ||
-members can get emailed updates | ||
|
||
wishlist | ||
======== | ||
-gravatars for icons | ||
-tags in general (pretty useful) | ||
-linked mentions for other members | ||
-members get notifications with notify.io | ||
-post daily archive to staff wiki | ||
-"share publicly" that lets bubble up to twitter | ||
-multiple log streams (tags? tabs?) | ||
-integrate Buzz/"activitystrea.ms" standards | ||
|
||
model | ||
===== | ||
Update | ||
-created | ||
-updated | ||
-body | ||
-user | ||
|
||
Comment | ||
-created | ||
-updated | ||
-body | ||
-user | ||
-update (reference) | ||
|
||
Profile | ||
-wants_emails |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Allow: / |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
body { font-family: Verdana,Arial,sans-serif; margin: 0px;} | ||
#wrapper { margin-left: auto; margin-right: auto; width: 700px; } | ||
|
||
#top a:visited { color: blue;} | ||
#top { height: 20px; border-bottom: 1px solid #ccc; text-align: right; font-size: 12px; padding-right: 5px; padding-top: 4px; } | ||
|
||
#header { margin-left: auto; margin-right: auto; width: 670px; height: 125px;} | ||
#header img { margin-right: 10px;} | ||
#header h1 { font-size: 42px; margin-top: 20px; padding-top: 10px; margin-bottom: 0px; padding-bottom: 0px;} | ||
#header h2 { font-size: x-large; margin: 0px; } | ||
|
||
.step span { color: white; background-color: #b10026; padding: 1px; padding-left: 4px; padding-right: 4px;} | ||
.step.inactive span { background-color: gray;} | ||
.step.inactive { color: gray; } | ||
|
||
h3 { margin-top: 0px;} | ||
h4 { margin-bottom: 0px;} | ||
|
||
table td { padding-left: 10px; padding-top: 4px;} | ||
|
||
form div { margin-top: 10px; } | ||
|
||
label { display: block; font-size: smaller;} | ||
|
||
a:visited { color: blue;} | ||
|
||
#content { border-top: 3px solid #d50025; background: #eee; padding: 10px; } | ||
#primary { background: white; width: 660px; padding: 10px; -moz-border-radius: 8px; -webkit-border-radius: 8px;} | ||
h4 { font-size: smaller; } | ||
|
||
.label { font-size: smaller; font-weight: bold; margin-top: 10px;} | ||
#content h2 { margin-bottom: 5px; margin-top: 5px;} | ||
#content table { margin-bottom: 20px;} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<html> | ||
<head> | ||
<title>Hacker Dojo Log</title> | ||
<link href="/static/style.css" type="text/css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<div id="top"> | ||
{% if user %} | ||
<span><strong>{{user.email}}</strong> | <a href="{{logout_url}}">Logout</a></span> | ||
{% else %} | ||
<span><a style="font-weight: bold;" href="{{login_url}}">Login</a> | <a href="http://signup.hackerdojo.com/upgrade/needaccount">Need an account?</a></span> | ||
{% endif %} | ||
</div> | ||
<div id="wrapper"> | ||
<div id="header"> | ||
<img src="/static/dojo_icon.png" style="float: left;" /> | ||
<h1>Hacker Dojo</h1> | ||
<h2 style="font-size: x-large;">Log</h2> | ||
</div> | ||
<div id="content"> | ||
{% block content %}{% endblock %} | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends 'base.html' %} | ||
{% block content %} | ||
|
||
Hello world, {{your_name}}! | ||
|
||
{% endblock %} |