-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
169 lines (143 loc) · 6.83 KB
/
Copy pathindex.html
File metadata and controls
169 lines (143 loc) · 6.83 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">
<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
<link rel="stylesheet" href="dist/style.css">
<title>Simple note App</title>
</head>
<body>
<div id="app-title" class="columns ">
<div class="column is-half is-offset-one-quarter box">
<h1 class=" has-text-centered title is-3">Simple Note app</h1>
<h6 class=" has-text-centered title is-6 tags">
<span class="tag is-info">Webpack</span>
<span class="tag is-info">FetchAPI</span>
<span class="tag is-info">BulmaCSS</span>
<span class="tag is-info">Json Server</span>
<span class="tag is-info">Sass</span>
</h6>
</div>
</div>
<div class="columns">
<!-- form -->
<div class="column is-half is-offset-one-quarter">
<div class="field">
<label for="title" class="label">Title</label>
<div class="control">
<input id="noteTitle" class="input" type="text" placeholder="Text">
</div>
</div>
<div class="field">
<label for="author" class="label">Author</label>
<div class="control">
<input id="noteAuthor" class="input" type="text" placeholder="Author">
</div>
</div>
<div class="field">
<label for="title" class="label">Body</label>
<div class="control">
<textarea id="noteBody" class="textarea" placeholder="Note text"></textarea>
</div>
</div>
<input type="hidden" id="id" value="">
<div class="buttons">
<button class="button is-success add-note">
<span>Add note </span>
<span class="icon"><i class="fas fa-plus-square"></i></span>
</button>
<button class="button is-danger delete-all">
<span>Delete All</span>
<span class="icon"><i class="fas fa-eraser"></i></span>
</button>
</div>
</div>
</div>
<div class="columns">
<div class="column is-half is-offset-one-quarter notes-container">
<h4 id="notes-list-heading" class="title is-4 has-text-centered has-text-primary">Notes <i class="fas fa-tasks"></i></h4>
<!-- Notifications -->
<!--
<div class="notification is-success">
<button class="delete"></button>
Primar lorem ipsum dolor sit amet, consectetur
</div>
-->
<!-- List items-->
<ul id="notes-container">
<!--
<li>
<div id="note-1" class="card">
<header class="card-header">
<p class="card-header-title">Note Title</p>
<a href="#" class="confirm-operation card-header-icon" aria-label="cancel operation">
<span class="icon"><i class="fas fa-check-circle"></i></span>
</a>
<a href="#" class="cancel-operation card-header-icon" aria-label="cancel operation">
<span class="icon"><i class="fas fa-undo"></i></span>
</a>
<a href="#" class="edit-note card-header-icon" aria-label="edit note">
<span class="icon"><i class="far fa-edit"></i></span>
</a>
<a href="#" class="delete-note card-header-icon" aria-label="delete note">
<span class="icon"><i class="fas fa-trash"></i></span>
</a>
</header>
<div class="card-content">
<div class="content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</div>
</div>
<footer class="card-footer has-text-grey has-text-left">
<p class="note-author card-footer-item">By: <span class="card-author-name">Aivirth</span></p>
</footer>
</div>
</li>
<li>
<div id="note-2" class="card">
<header class="card-header">
<p class="card-header-title">Simulated standard state</p>
<a href="#" class="edit-note card-header-icon" aria-label="edit note">
<span class="icon"><i class="far fa-edit"></i></span>
</a>
<a href="#" class="delete-note card-header-icon" aria-label="delete note">
<span class="icon"><i class="fas fa-trash"></i></span>
</a>
</header>
<div class="card-content">
<div class="content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</div>
</div>
<footer class="card-footer has-text-grey has-text-left">
<p class="note-author card-footer-item">By: Aivirth</p>
</footer>
</div>
</li>
<li>
<div id="note-3" class="card">
<header class="card-header">
<p class="card-header-title"><input class="input title-edit-state" type="text" value="Simulated Edit state"></p>
<a href="#" class="confirm-operation card-header-icon" aria-label="cancel operation">
<span class="icon"><i class="fas fa-check-circle"></i></span>
</a>
<a href="#" class="cancel-operation card-header-icon" aria-label="cancel operation">
<span class="icon"><i class="fas fa-undo"></i></span>
</a>
</header>
<div class="card-content">
<div class="content">
<textarea class="textarea body-edit-state">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</textarea>
</div>
</div>
<footer class="card-footer has-text-grey has-text-left">
<p class="note-author card-footer-item">By: Aivirth</p>
</footer>
</div>
</li>
-->
</ul>
</div>
</div>
<script src="dist/bundle.js"></script>
</body>
</html>