-
Notifications
You must be signed in to change notification settings - Fork 0
/
symfony4-crud-template.html
46 lines (45 loc) · 1.83 KB
/
symfony4-crud-template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!--
source: https://www.w3schools.com/howto/howto_js_todolist.asp (modified by netprogs.pl for the course purposes)
-->
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="public/css/styles.css">
</head>
<body>
<div class="header">
<h2>My To Do List</h2>
<form action="">
<input type="text" id="myInput" placeholder="Task title..." />
<button type="submit" class="addBtn">Add a task</button>
</form>
</div>
<ul>
<li>
<a href="done"> <span class="task-list-item">Do shopping </span> </a
><a onclick="return confirm('Are you sure to delete?')" href="delete"><span class="close">X</span></a>
</li>
<li class="checked">
<a href="undone"> <span class="task-list-item">Buy eggs </span> </a
><a onclick="return confirm('Are you sure to delete?')" href="delete"><span class="close">X</span></a>
</li>
<li>
<a href="done"> <span class="task-list-item">Meet John </span> </a
><a onclick="return confirm('Are you sure to delete?')" href="delete"><span class="close">X</span></a>
</li>
<li>
<a href="done"> <span class="task-list-item">Read a book </span> </a
><a onclick="return confirm('Are you sure to delete?')" href="delete"><span class="close">X</span></a>
</li>
<li>
<a href="done"> <span class="task-list-item">Learn Doctrine ORM </span> </a
><a onclick="return confirm('Are you sure to delete?')" href="delete"><span class="close">X</span></a>
</li>
<li>
<a href="done"> <span class="task-list-item">Prepare a meal </span> </a
><a onclick="return confirm('Are you sure to delete?')" href="delete"><span class="close">X</span></a>
</li>
</ul>
</body>
</html>