From 4974eb58480f413c67f5f6e8fac430186eda2b62 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 29 Nov 2018 16:57:26 -0600 Subject: uploading all recent changes ahead of sys upgrade --- design/templates/base.html | 39 ++++++++++++++++++----- design/templates/notes/notebook_create.html | 46 +++++++++++++++++++++++++++ design/templates/notes/notebook_detail.html | 49 +++++++++++++++++++++++++++++ design/templates/notes/notes_detail.html | 38 ++++++++++++++++++---- design/templates/notes/notes_list.html | 34 +++++++++++++++++--- design/templates/notes/notes_listold.html | 9 ++++++ design/templates/sell.html | 6 ++++ 7 files changed, 204 insertions(+), 17 deletions(-) create mode 100644 design/templates/notes/notebook_create.html create mode 100644 design/templates/notes/notebook_detail.html create mode 100644 design/templates/notes/notes_listold.html create mode 100644 design/templates/sell.html (limited to 'design/templates') diff --git a/design/templates/base.html b/design/templates/base.html index f14e5df..bb54717 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -20,8 +20,16 @@
@@ -29,8 +37,23 @@ @@ -38,12 +61,12 @@
- {%endcomment%} {% block content %} {% endblock %}
@@ -65,9 +88,11 @@ {% block jsinclude %}{%endblock%} diff --git a/design/templates/notes/notebook_create.html b/design/templates/notes/notebook_create.html new file mode 100644 index 0000000..8ffc94a --- /dev/null +++ b/design/templates/notes/notebook_create.html @@ -0,0 +1,46 @@ +{% extends 'base.html' %} + +{% block extrastyles %} + +{% endblock %} +{% block content %} +
+
+
+{% csrf_token %} +{{ form.non_field_errors }} +{% for field in form %} +
+{{field.label_tag}} +{{field}} +{% if field.errors %}{{field.errors}}{% endif %} +
+{% endfor %} +

+
+ +
+ +
+
+
+{% endblock %} + diff --git a/design/templates/notes/notebook_detail.html b/design/templates/notes/notebook_detail.html new file mode 100644 index 0000000..36873e1 --- /dev/null +++ b/design/templates/notes/notebook_detail.html @@ -0,0 +1,49 @@ +{% extends 'base.html' %} + +{% block content %} +
+
+ {%comment%} +
+ + {% csrf_token %} + {{ form.non_field_errors }} + {% for field in form %} +
+ {{field.label_tag}} + {{field}} + {% if field.errors %}{{field.errors}}{% endif %} +
+ {% endfor %} +

+
+ {%endcomment%} +{{object}} + +
+ +
+
+
+{% endblock %} diff --git a/design/templates/notes/notes_detail.html b/design/templates/notes/notes_detail.html index bf46ab8..95583bd 100644 --- a/design/templates/notes/notes_detail.html +++ b/design/templates/notes/notes_detail.html @@ -10,12 +10,24 @@
- -
+
+ tags: +
    {% for tag in object.tags.all %} +
  • + {{tag}} +
  • + {%endfor%}
+
+ notebook: + {{object.notebook.name}} +
+
+

{{object.date_created|date:"M d, Y"}}

- {% if object.url %}

SourceArchive

{% endif %} + {% if object.url %}

SourceArchive

{% endif %}
+

{{object.title}}

{% if object.body_html %}{{object.body_html|safe}}{%else%}{{object.body_text}}{%endif%}
{% csrf_token %} @@ -26,8 +38,11 @@
+
+
{% endblock %} {% block jsinclude %} + {% endblock %} diff --git a/design/templates/notes/notes_list.html b/design/templates/notes/notes_list.html index 8066369..b1c1700 100644 --- a/design/templates/notes/notes_list.html +++ b/design/templates/notes/notes_list.html @@ -1,9 +1,35 @@ {% extends 'base.html' %} + {% block content %}
-

Notes

-
+ + +
+
{% endblock %} diff --git a/design/templates/notes/notes_listold.html b/design/templates/notes/notes_listold.html new file mode 100644 index 0000000..8066369 --- /dev/null +++ b/design/templates/notes/notes_listold.html @@ -0,0 +1,9 @@ +{% extends 'base.html' %} +{% block content %} +
+

Notes

+ +
+{% endblock %} diff --git a/design/templates/sell.html b/design/templates/sell.html new file mode 100644 index 0000000..001823b --- /dev/null +++ b/design/templates/sell.html @@ -0,0 +1,6 @@ +{% extends 'base.html' %} +{% block content %} +
+

TK Notes

+
+{% endblock %} -- cgit v1.2.3-70-g09d2