diff --git a/pages/base.html b/pages/base.html index 83a76f5..4826cc6 100644 --- a/pages/base.html +++ b/pages/base.html @@ -9,15 +9,14 @@ dela - - +
- + Dela
diff --git a/pages/index.html b/pages/index.html index 25fa342..0c13a70 100644 --- a/pages/index.html +++ b/pages/index.html @@ -41,10 +41,6 @@ document.addEventListener('DOMContentLoaded', async function() { } newTodoTextInput.value = ""; - // let newTodoDueInput = document.getElementById("new-todo-due"); - // let newTodoDue = newTodoDueInput.value; - // newTodoDueInput.value = 0; - // Make a request let response = await post_new_todo(username, password, {text: newTodoText}); if (response.ok) { @@ -69,7 +65,10 @@ document.addEventListener('DOMContentLoaded', async function() { todos.push(item); let todoCompleteBtnID = "btn-complete-" + String(item.id); + // Display + let timeCreated = new Date(item.timeCreatedUnix * 1000); todosDiv.innerHTML += "" + item.text + "" + + "" + " " + timeCreated.getDate() + "/" + timeCreated.getMonth() + "/" + timeCreated.getFullYear() + "" + ""; diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100644 index 0000000..15cf8b2 Binary files /dev/null and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png new file mode 100644 index 0000000..b92e81b Binary files /dev/null and b/static/android-chrome-512x512.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..e5f44eb Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..025b4a5 Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..49fffe6 Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..3e39d10 Binary files /dev/null and b/static/favicon.ico differ