aboutsummaryrefslogtreecommitdiffstats
path: root/notes/templates/view.html
diff options
context:
space:
mode:
Diffstat (limited to 'notes/templates/view.html')
-rw-r--r--notes/templates/view.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/notes/templates/view.html b/notes/templates/view.html
new file mode 100644
index 0000000..a6d3473
--- /dev/null
+++ b/notes/templates/view.html
@@ -0,0 +1,15 @@
+{% extends request.is_ajax|yesno:"blank.html,index.html" %}
+{% load markup %}
+
+{% block content %}
+<div data-role="page">
+ <div data-role="header">
+ <a href="/notes/" data-icon="arrow-l">Notes</a>
+ <h1>{{ note.title }}</h1>
+ <a href="{{ note.get_absolute_url }}edit/">Edit</a>
+ </div>
+ <div data-role="content">
+ <p>{{ version.content|restructuredtext }}</p>
+ </div>
+</div>
+{% endblock content %}