# HG changeset patch # User Steve Losh # Date 1238114603 14400 # Node ID 0a73822701d907dc442e3709aefd8ff14807470c # Parent ee7c7ef51fdbdc1936a0a07f0ad93f3d3d8eafd3 Update the MB templates. diff -r ee7c7ef51fdb -r 0a73822701d9 site-media/style/messengerbag.css --- 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; } diff -r ee7c7ef51fdb -r 0a73822701d9 templates/messengerbag/note_detail.html --- 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 %} -

{{ note.title|typogrify }}

+

{{ note.title|typogrify }}

+

« back to your notes

{{ note.body|markdown:"codehilite"|typogrify }}
diff -r ee7c7ef51fdb -r 0a73822701d9 templates/messengerbag/note_form.html --- /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.title }}

+ {% for error in form.title.errors %} +

{{ error }}

+ {% endfor %} + +

{{ form.body }}

+ {% for error in form.body.errors %} +

{{ error }}

+ {% endfor %} + + +
+{% endblock %} \ No newline at end of file diff -r ee7c7ef51fdb -r 0a73822701d9 templates/messengerbag/note_list.html --- 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 %}

Notebook

+

+ + Create a new note +

{% for note in note_list %}