Spaces:
Sleeping
Sleeping
Update se_mes_im2.html
Browse files- se_mes_im2.html +9 -1
se_mes_im2.html
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Camera Image</title>
|
|
|
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: Arial, sans-serif;
|
|
@@ -54,6 +55,7 @@
|
|
| 54 |
<input type="file" name="photo">
|
| 55 |
<button type="submit">Upload</button>
|
| 56 |
</form>
|
|
|
|
| 57 |
<script>
|
| 58 |
document.getElementById('uploadForm').addEventListener('submit', function(event) {
|
| 59 |
event.preventDefault();
|
|
@@ -86,7 +88,13 @@
|
|
| 86 |
tempInput.select();
|
| 87 |
document.execCommand("copy");
|
| 88 |
document.body.removeChild(tempInput);
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
}
|
| 91 |
</script>
|
| 92 |
</body>
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Camera Image</title>
|
| 7 |
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
|
| 8 |
<style>
|
| 9 |
body {
|
| 10 |
font-family: Arial, sans-serif;
|
|
|
|
| 55 |
<input type="file" name="photo">
|
| 56 |
<button type="submit">Upload</button>
|
| 57 |
</form>
|
| 58 |
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
|
| 59 |
<script>
|
| 60 |
document.getElementById('uploadForm').addEventListener('submit', function(event) {
|
| 61 |
event.preventDefault();
|
|
|
|
| 88 |
tempInput.select();
|
| 89 |
document.execCommand("copy");
|
| 90 |
document.body.removeChild(tempInput);
|
| 91 |
+
Toastify({
|
| 92 |
+
text: "URL copied to clipboard",
|
| 93 |
+
duration: 3000,
|
| 94 |
+
gravity: "top",
|
| 95 |
+
position: "center",
|
| 96 |
+
backgroundColor: "#4CAF50",
|
| 97 |
+
}).showToast();
|
| 98 |
}
|
| 99 |
</script>
|
| 100 |
</body>
|