Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
0657260
1
Parent(s):
3293cdd
Update se_mes_im2.html
Browse files- se_mes_im2.html +7 -7
se_mes_im2.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
@@ -51,7 +51,7 @@
|
|
51 |
line-height: 30px;
|
52 |
color: white;
|
53 |
}
|
54 |
-
#sendButton {
|
55 |
color: white;
|
56 |
background-color: #4CAF50;
|
57 |
border: none;
|
@@ -61,7 +61,7 @@
|
|
61 |
border-radius: 5px;
|
62 |
margin-top: 20px;
|
63 |
}
|
64 |
-
#sendButton:hover {
|
65 |
background-color: #388E3C;
|
66 |
}
|
67 |
#cameraImage {
|
@@ -80,14 +80,14 @@
|
|
80 |
</head>
|
81 |
<body>
|
82 |
<h1>Upload Image</h1>
|
83 |
-
<form id="uploadForm" enctype="multipart/form-data" method="post" action="/upload">
|
84 |
-
<input type="file" name="photo">
|
85 |
-
<button type="submit">Upload</button>
|
86 |
-
</form>
|
87 |
<div id="message"></div>
|
88 |
<h1>Latest Image</h1>
|
89 |
<img id="cameraImage" src="/image" alt="Image">
|
90 |
<div id="imageUrl" onclick="copyToClipboard(this)">Click to copy URL</div>
|
|
|
|
|
|
|
|
|
91 |
<script>
|
92 |
document.getElementById('uploadForm').addEventListener('submit', function(event) {
|
93 |
event.preventDefault();
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
|
|
51 |
line-height: 30px;
|
52 |
color: white;
|
53 |
}
|
54 |
+
#sendButton, button[type="submit"] {
|
55 |
color: white;
|
56 |
background-color: #4CAF50;
|
57 |
border: none;
|
|
|
61 |
border-radius: 5px;
|
62 |
margin-top: 20px;
|
63 |
}
|
64 |
+
#sendButton:hover, button[type="submit"]:hover {
|
65 |
background-color: #388E3C;
|
66 |
}
|
67 |
#cameraImage {
|
|
|
80 |
</head>
|
81 |
<body>
|
82 |
<h1>Upload Image</h1>
|
|
|
|
|
|
|
|
|
83 |
<div id="message"></div>
|
84 |
<h1>Latest Image</h1>
|
85 |
<img id="cameraImage" src="/image" alt="Image">
|
86 |
<div id="imageUrl" onclick="copyToClipboard(this)">Click to copy URL</div>
|
87 |
+
<form id="uploadForm" enctype="multipart/form-data" method="post" action="/upload">
|
88 |
+
<input type="file" name="photo">
|
89 |
+
<button type="submit">Upload</button>
|
90 |
+
</form>
|
91 |
<script>
|
92 |
document.getElementById('uploadForm').addEventListener('submit', function(event) {
|
93 |
event.preventDefault();
|