-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (78 loc) · 3.09 KB
/
index.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous"
/>
<title>TODO</title>
<script src="https://unpkg.com/[email protected]"></script>
</head>
<body class="main-background max-vw-100">
<div class="m-auto min-vh-100 max-vh-100 max-vw-100">
<div
class="px-2 navbar d-flex justify-content-start flex-row green-background mb-5 my-xs-auto min-vh-25"
>
<h1 class="text-white display-2">TODO</h1>
<div class="d-inline px-5"></div>
</div>
<div id="app" class="d-flex flex-column row align-items-center">
<div
class="box card row col-xs-12 col-sm-11 min-vh-25 col-lg-4 py-5 my-1 my-xs-auto "
id="heading"
>
<h2 class="text-center text-white display-4 my-xs-auto min-vh-auto">{{today}}</h2>
</div>
<div class="spacer"></div>
<li
class="d-flex flex-column row align-items-center"
v-for="task in tasks"
>
<div class="row col-xs-12 col-sm-11 min-vh-25 col-lg-4 py-1 my-1 my-xs-auto">
<div class="item">
<input type="checkbox" />
<p class="display-6 my-xs-auto">{{task}}</p>
</div>
<div class="spacer"></div>
</div>
</li>
<div class="text-center d-flex justify-content-center align-content-center row col-xs-12 col-sm-11 min-vh-25 col-lg-4 py-1 my-1 my-xs-auto">
<div class=" d-flex justify-content-center align-content-center row col-12 carditem text-center">
<div class="row col-10 "> <input
class="col-12 m-1 p-1 text-center display-6"
type="text"
placeholder="New Item"
autocomplete="off"
:value="text"
@input="event => text = event.target.value"
v-on:keyup.enter="addTask(text);text=''"
style="width: 100%;"
/></div>
<button class=" col-1 m-1 p-0 vh-25 " @click="addTask(text);text=''"> <p class="display-6">+</p></button>
</div>
</div>
<div class="spacer"></div>
<div class="row d-flex justify-content-center align-content-center col-12 vh-25 col-lg-4 p-auto m-auto">
<button
id="clear"
class="btn text-white text-center col-11 vh-25 "
type="submit"
@click="clear()"
>
<p class="display-6">
clear
</p>
</button>
</div>
<div class="spacer"></div>
<div class="row col-xs-12 col-sm-11 min-vh-25 col-lg-4 py-1 my-1 my-xs-auto">
<p class="text-center my-xs-auto display-7">made by Rotem Albukrek</p>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>