From 4f7b84194b056b5d6d9acca4cceb2cabc04fd8a5 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 29 Dec 2018 08:37:39 -0600 Subject: cleaned up JS and made modal handler. --- design/templates/notes/notebook_create.html | 36 -------------- design/templates/notes/notebook_detail.html | 4 +- design/templates/notes/notebook_list.html | 55 ++++++++++++++++++++++ design/templates/notes/notes_create.html | 30 ++++-------- design/templates/notes/notes_detail.html | 34 +++++++------ design/templates/notes/notes_list.html | 54 ++++++++++++++++----- design/templates/notes/notes_listold.html | 9 ---- design/templates/notes/partials/note_list.html | 6 +-- design/templates/notes/partials/notebook_form.html | 19 ++++++++ 9 files changed, 148 insertions(+), 99 deletions(-) delete mode 100644 design/templates/notes/notebook_create.html create mode 100644 design/templates/notes/notebook_list.html delete mode 100644 design/templates/notes/notes_listold.html create mode 100644 design/templates/notes/partials/notebook_form.html (limited to 'design/templates/notes') diff --git a/design/templates/notes/notebook_create.html b/design/templates/notes/notebook_create.html deleted file mode 100644 index 1386946..0000000 --- a/design/templates/notes/notebook_create.html +++ /dev/null @@ -1,36 +0,0 @@ -{% 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 %} -

Pick color

-

-
- -
- -
-
-
-{% endblock %} - diff --git a/design/templates/notes/notebook_detail.html b/design/templates/notes/notebook_detail.html index a0b06a3..73c13ab 100644 --- a/design/templates/notes/notebook_detail.html +++ b/design/templates/notes/notebook_detail.html @@ -47,11 +47,11 @@ {% include "notes/partials/note_list.html" with object=object hidecolor=True hidenotebook=True %} {% endfor %} -