--- a/site-media/style/messengerbag.css Tue Mar 24 19:45:03 2009 -0400
+++ b/site-media/style/messengerbag.css Thu Mar 26 20:43:23 2009 -0400
@@ -5,5 +5,11 @@
div#mb-rendered-note h5 {font-size:1em;font-weight:bold;}
div#mb-rendered-note h6 {font-size:1em;font-weight:bold;}
+p#mb-navigation { margin-top: -1em; }
+
span.mb-note-list-title { font-weight: bold; margin-right: 1em; }
span.mb-note-list-snip { color: #888; }
+
+form#mb-note-create h1 input { width: 81%; }
+form#mb-note-create p textarea { width: 80%; }
+input#mb-note-create-submit { font-size: 3em; }
--- a/templates/messengerbag/note_detail.html Tue Mar 24 19:45:03 2009 -0400
+++ b/templates/messengerbag/note_detail.html Thu Mar 26 20:43:23 2009 -0400
@@ -5,7 +5,8 @@
{% block title %}{{ note.title }}{% endblock %}
{% block content %}
- <h1>{{ note.title|typogrify }}</h1>
+ <h1><a href="{{ note.get_absolute_url }}">{{ note.title|typogrify }}</a></h1>
+ <p id="mb-navigation"><a href="{% url note-list %}">« back to your notes</a></p>
<div id="mb-rendered-note">
{{ note.body|markdown:"codehilite"|typogrify }}
</div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/messengerbag/note_form.html Thu Mar 26 20:43:23 2009 -0400
@@ -0,0 +1,21 @@
+{% extends "messengerbag/base.html" %}
+{% load typogrify %}
+{% load markup %}
+
+{% block title %}Create a Note{% endblock %}
+
+{% block content %}
+ <form id="mb-note-create" action="" method="post">
+ <h1>{{ form.title }}</h1>
+ {% for error in form.title.errors %}
+ <p class="mb-error">{{ error }}</p>
+ {% endfor %}
+
+ <p>{{ form.body }}</p>
+ {% for error in form.body.errors %}
+ <p class="mb-error">{{ error }}</p>
+ {% endfor %}
+
+ <input id="mb-note-create-submit" type="submit" value="Create" />
+ </form>
+{% endblock %}
\ No newline at end of file
--- a/templates/messengerbag/note_list.html Tue Mar 24 19:45:03 2009 -0400
+++ b/templates/messengerbag/note_list.html Thu Mar 26 20:43:23 2009 -0400
@@ -5,6 +5,9 @@
{% block content %}
<h1>Notebook</h1>
+ <p id="mb-navigation">
+ <a href="{% url note-create %}">+ Create a new note</a>
+ </p>
<p id="mb-note-list">
{% for note in note_list %}
<span class="mb-note-list-title">