-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
172 lines (153 loc) · 7.61 KB
/
index.html
File metadata and controls
172 lines (153 loc) · 7.61 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
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="An Web Application to Save Securely all Personal Notes, list and To-do's">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="Rohit Kavitake">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NotePen</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://kit.fontawesome.com/09f2d0ec8f.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap" rel="stylesheet">
<link rel="icon" href="https://img.icons8.com/cotton/64/000000/note--v1.png">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<nav class="navbar bg-light navbar-light">
<div class="navbar-brand" id="logo">
<h2><img class="brand-img" src="https://img.icons8.com/cotton/40/000000/note--v2.png"/> NotePen</h2>
</div>
<div class="justify-content-end">
<img hidden class="profile" src=""/>
<h4 class="navbar-text" id="name"></h4>
<button class="btn btn-info" id="signInbtn" >Sign-In</button>
<button hidden class="btn btn-info btn-sm" id="signout">Sign-Out</button>
</div>
</nav>
</header>
<main>
<div class="container">
<div class="container">
<!-- <h2>Modal Example</h2> -->
<!-- Button to Open the Modal -->
<center>
<button type="button" id="createbtn"class="btn btn-primary" data-toggle="modal" data-target="#myModal">
<img src="https://img.icons8.com/android//000000/plus.png"/> Create new pen
</button>
</center>
<!-- The Modal -->
<div class="modal" id="myModal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title"><i class="fas fa-pencil-alt"></i> Add Task</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<form>
<label for="title" >Title :-</label>
<input type="text" id="title" placeholder="Title" class="form-control" required>
<label for="task">Enter the Content :-</label>
<textarea rows="10" id="task" placeholder="Enter Notes Here" wrap="hard" required></textarea>
<button type="reset" id="reset" class="btn btn-danger">Reset</button>
<label id="feedback"></label>
</form>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="addPen()">Done</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="landing" class="container">
<div class="center">
<center>
<div class="info">
<h1>An Web Application to Save Securely all Personal Notes, list and To-do's</h1>
<button class="btn btn-primary" onclick="signIn()" >Get Started</button>
</div>
<div class="image">
<img class="img-fluid" src="assets/Logo.png">
</div>
</center>
</div>
</div>
<div class="container-fluid">
<div class="row" id="ShowData">
</div>
</div>
<div class="modal" id="updateData">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title"><i class="fas fa-pencil-alt"></i> Edit Task</h4>
<button type="button" id="closeModal" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<form>
<label for="title" >Title :-</label>
<input type="text" id="updatetitle" placeholder="Title" class="form-control" required>
<label for="task">Enter the Content :-</label>
<textarea rows="10" id="updatetask" placeholder="Enter Notes Here" wrap="hard" required></textarea>
<button type="delete" id="deletebtn" class="btn btn-danger">Delete Note</button>
<!-- <label id="feedback"></label> -->
</form>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="updatebtn" >Update</button>
</div>
</div>
</div>
</div>
</main>
<footer id="sticky-footer" class="py-1 bg-dark text-white-50">
<div class="container text-center">
<p>Copyright © || Developer @ <a href="mailto:kavitakerohit2001@gmail.com">Rohit Kavitake</a></p>
</div>
</footer>
<!-- Firebase sdk -->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.3.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.3.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.3.1/firebase-firestore.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.3.1/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyAtS4ukctATq6eyZ_0ar64gEyGGDN5zvHk",
authDomain: "nootepenn.firebaseapp.com",
projectId: "nootepenn",
storageBucket: "nootepenn.appspot.com",
messagingSenderId: "121540545122",
appId: "1:121540545122:web:7f7ec261932044e86adf3b",
measurementId: "G-Z87171F5SB"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<script src="js/main.js"></script>
</body>
</html>