Browse Source

feat: added project logo

master
parent
commit
d79a323a62
  1. 5
      pages/base.html
  2. 7
      pages/index.html
  3. BIN
      static/android-chrome-192x192.png
  4. BIN
      static/android-chrome-512x512.png
  5. BIN
      static/apple-touch-icon.png
  6. BIN
      static/favicon-16x16.png
  7. BIN
      static/favicon-32x32.png
  8. BIN
      static/favicon.ico

5
pages/base.html

@ -9,15 +9,14 @@
<title>dela</title> <title>dela</title>
<link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
<script src="/static/bootstrap/js/bootstrap.min.js"></script> <script src="/static/bootstrap/js/bootstrap.min.js"></script>
<!-- <link rel="stylesheet" href="/static/stylesheet.css"> --> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/static/images/favicon.png" type="image/x-icon">
</head> </head>
<body class="d-flex flex-column h-100"> <body class="d-flex flex-column h-100">
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom"> <header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
<div class="col-md-3 mb-2 mb-md-0"> <div class="col-md-3 mb-2 mb-md-0">
<a href="/" class="d-inline-flex link-body-emphasis text-decoration-none"> <a href="/" class="d-inline-flex link-body-emphasis text-decoration-none">
<svg class="bi" width="40" height="32" role="img" aria-label="Bootstrap"><use xlink:href="#bootstrap"></use></svg> <img width="32" height="32" src="/static/android-chrome-192x192.png" alt="Dela">
</a> </a>
</div> </div>

7
pages/index.html

@ -41,10 +41,6 @@ document.addEventListener('DOMContentLoaded', async function() {
} }
newTodoTextInput.value = ""; newTodoTextInput.value = "";
// let newTodoDueInput = document.getElementById("new-todo-due");
// let newTodoDue = newTodoDueInput.value;
// newTodoDueInput.value = 0;
// Make a request // Make a request
let response = await post_new_todo(username, password, {text: newTodoText}); let response = await post_new_todo(username, password, {text: newTodoText});
if (response.ok) { if (response.ok) {
@ -69,7 +65,10 @@ document.addEventListener('DOMContentLoaded', async function() {
todos.push(item); todos.push(item);
let todoCompleteBtnID = "btn-complete-" + String(item.id); let todoCompleteBtnID = "btn-complete-" + String(item.id);
// Display
let timeCreated = new Date(item.timeCreatedUnix * 1000);
todosDiv.innerHTML += "<tr><td>" + item.text + "</td>" + todosDiv.innerHTML += "<tr><td>" + item.text + "</td>" +
"<td>" + " " + timeCreated.getDate() + "/" + timeCreated.getMonth() + "/" + timeCreated.getFullYear() + "</td>" +
"<td><button class='btn btn-success' id='" + todoCompleteBtnID + "'>" + "<td><button class='btn btn-success' id='" + todoCompleteBtnID + "'>" +
"Done</button></td></tr>"; "Done</button></td></tr>";

BIN
static/android-chrome-192x192.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
static/android-chrome-512x512.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
static/apple-touch-icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
static/favicon-16x16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

BIN
static/favicon-32x32.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Loading…
Cancel
Save