aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO25
-rw-r--r--scripts/src/notebook-edit.js3
2 files changed, 26 insertions, 2 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..c2a48c1
--- /dev/null
+++ b/TODO
@@ -0,0 +1,25 @@
+## Note and Notebooks
+ * add defailt "trash" notebook and note manager to not show notes in the trash.
+ * add delete note option to list and detail views
+ * notebook main -- add form for editing all notebooks
+ * add loading animation when saving, hide when done.
+ * add search to notebook list on create and edit note pages
+
+
+## Accounts
+ * port modal login to new modal system
+ * make settings actually editable
+ * add settings for showing color
+ * which editor???
+ * hook into groups to see if user is allowed to add more notebooks
+ * add payment via stripe
+
+## Annotation
+ * model for annoations:
+ - note
+ - owner
+ - position
+ - dates
+
+
+## Outlines
diff --git a/scripts/src/notebook-edit.js b/scripts/src/notebook-edit.js
index c1aa278..802ec79 100644
--- a/scripts/src/notebook-edit.js
+++ b/scripts/src/notebook-edit.js
@@ -64,7 +64,6 @@ function initNotebookCreator(btn, title, url) {
};
}
}
-
function edit_notebook(btn, title, form, picker, fname, url){
var form_inputs = form.getElementsByTagName('input');
console.log(picker);
@@ -97,7 +96,7 @@ function edit_notebook(btn, title, form, picker, fname, url){
//console.log(JSON.stringify(data, null, ' '));
var request = new XMLHttpRequest();
request.open('PATCH', url);
- var csrftoken = Cookies.get('csrftoken');
+ var csrftoken = getCookie('csrftoken');
request.setRequestHeader('X-CSRFToken', csrftoken);
request.onload = function() {
if (request.status >= 200 && request.status < 400) {