-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (72 loc) · 2.89 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
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Add this in <head> element-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/html2canvas.min.js"></script>
<script src="https://smtpjs.com/v3/smtp.js"></script>
<link rel="stylesheet" href="mystyle.css">
<!--EmailJS-->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"></script>
<script type="text/javascript">
(function() {
emailjs.init("O6MhpQU5rKBOldgZa");
})();
</script>
<!--End sendmail-->
<title>Memorify.ai</title>
</head>
<body>
<div id="myDIV" class="header">
<h2 style="margin:5px">🔄 Memorify.ai Tasks</h2>
<input type="text" id="myInput" placeholder="📝 Title...">
<span onclick="newElement()" class="addBtn">📅 Add</span>
</div>
<ul id="myUL">
<li>Hit the gym</li>
<li class="checked">Pay bills</li>
</ul>
<script type="text/javascript" src="myscript.js"></script>
<!--Take screenshot-->
<br>
<div id="photo">
<h3>Snapshot of the current To-Do List</h3>
<button onclick="takeshot()"> 📸Capture it!</button>
<br>
<h3> ➜ Output:</h3>
<div id="output"></div>
<script id="myscript" type="text/javascript" src="takesnapshot.js"></script>
<h3> ➜ Email Details:</h3>
<label class='field' for="thename">🢘 to_name </label>
<textarea name="test" id="thename">[email protected]</textarea>
<label class='field' for="themail">🢘 from_name</label>
<textarea name="test" id="themail">[email protected]</textarea>
<label class='field' for="themsg">🢘 Message</label>
<textarea name="test" id="themsg">{⚠️ Delete me!} Add some notes in here! .. </textarea>
<button onclick="sendemail()">📋 Submit</button>
<p style="color:green" id="demo"></p>
</div>
<!--Send the snapshot by email-->
<br>
<button onclick="emailCurrentPage()">📧 Email Share</button>
<script type="text/javascript" src="sendmail.js"></script>
<p style="color:green" id="share"></p>
<!--SmtpJS.com-->
<br>
<button onclick="picDiv()">🖼️ Save the Snapshot</button>
<p style="color:green" id="shared"></p>
<br>
<!--Footer-->
<footer>
<p>© 2022 Reda Mastouri</p>
</footer>
<!-- Add this before closing body tag -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>