-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ejs
More file actions
43 lines (35 loc) · 1.56 KB
/
index.ejs
File metadata and controls
43 lines (35 loc) · 1.56 KB
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
<html>
<body>
<%- include("./public/partials/header.ejs") %>
<div class="d-flex flex-column row align-items-center">
<div class="box card row col-4 py-5 my-1" id="heading">
<h2 class="text-center text-white">
<%=today%>
</h2>
</div>
<% for(var i=0;i<tasks.length;i++) {%>
<div class="row col-4 py-1 my-1" >
<div class="item">
<input type="checkbox">
<p>
<%=tasks[i]%>
</p>
</div>
</div>
<% }%>
<div class="row col-4 py-1 my-1" >
<form class="carditem text-center " action="/submit" method="post">
<input class="text-center" type="text" name="newItem" placeholder="New Item" autocomplete="off">
<button class=" my-2" type="submit">+</button>
</form>
</div>
<div class="row col-4 py-1 my-1" >
<form class=" text-center " action="/clear" method="post">
<button id="clear" class="btn text-white text-center col-12" type="submit">clear</button>
</form>
</div>
<div class="row col-4 py-1 my-1" >
<p class="text-center" >made by Rotem Albukrek</p>
</div>
</body>
</html>