1ce04db85761

Stupid hgignore!
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 11 Mar 2009 18:58:18 -0400
parents ddeb4782a44c
children 80a83fa13e59
branches/tags (none)
files .hgignore templates/messengerbag/base.html templates/messengerbag/note_detail.html templates/messengerbag/note_list.html

Changes

--- a/.hgignore	Wed Mar 11 18:31:45 2009 -0400
+++ b/.hgignore	Wed Mar 11 18:58:18 2009 -0400
@@ -9,10 +9,10 @@
 
 site-media/storage/*
 
-messengerbag/*
-
 syntax: regexp
 # This is ugly but it works.
 deploy-[^t][^e][^m][^p].*
 deploy\.py
 
+[^p][^l][^a][^t][^e][^s]/messengerbag//messengerbag/.*
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/messengerbag/base.html	Wed Mar 11 18:58:18 2009 -0400
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block title %}Messenger Bag{% endblock %}
+{% block header %}/ messenger bag{% endblock %}
+
+{% block style %}
+    <link rel="stylesheet" href="/site-media/style/messengerbag.css" 
+          type="text/css"/>
+{% endblock %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/messengerbag/note_detail.html	Wed Mar 11 18:58:18 2009 -0400
@@ -0,0 +1,12 @@
+{% extends "messengerbag/base.html" %}
+{% load typogrify %}
+{% load markup %}
+
+{% block title %}{{ note.title }}{% endblock %}
+
+{% block content %}
+    <h1>{{ note.title|typogrify }}</h1>
+    <div id="mb-rendered-note">
+        {{ note.body|markdown:"codehilite"|typogrify }}
+    </div>
+{% endblock %}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/messengerbag/note_list.html	Wed Mar 11 18:58:18 2009 -0400
@@ -0,0 +1,17 @@
+{% extends "messengerbag/base.html" %}
+{% load typogrify %}
+
+{% block title %}Messenger Bag{% endblock %}
+
+{% block content %}
+    <h1>Notebook</h1>
+    <p id="mb-note-list">
+        {% for note in note_list %}
+            <span class="mb-note-list-title">
+                <a href="{{ note.get_absolute_url }}">{{ note.title|typogrify }}</a>
+            </span>
+            <span class="mb-note-list-snip">{{ note.snippet|typogrify }}</span>
+            <br/>
+        {% endfor %}
+    </p>
+{% endblock %}
\ No newline at end of file