Browse Source

add am8 to webcam page

Thomas Buck 2 years ago
parent
commit
413f0c13c6
2 changed files with 29 additions and 0 deletions
  1. 1
    0
      input/projects/3d-printing/octoprint.md
  2. 28
    0
      input/unlisted/printer.md

+ 1
- 0
input/projects/3d-printing/octoprint.md View File

226
 <pre class="sh_sh">
226
 <pre class="sh_sh">
227
 mkdir ~/foto-script
227
 mkdir ~/foto-script
228
 vim ~/foto-script/upload.sh
228
 vim ~/foto-script/upload.sh
229
+chmod a+x ~/foto-script/upload.sh
229
 </pre>
230
 </pre>
230
 
231
 
231
 and fill it with the following contents:
232
 and fill it with the following contents:

+ 28
- 0
input/unlisted/printer.md View File

9
 
9
 
10
 This page contains photos from the Webcams on my 3D printers, live-updated every 5 minutes.
10
 This page contains photos from the Webcams on my 3D printers, live-updated every 5 minutes.
11
 
11
 
12
+## i3 AM8
13
+
14
+<div id="date-am8">
15
+    <noscript>
16
+        <a href="//www.xythobuz.de/printer-am8.jpg">
17
+            <img src="//www.xythobuz.de/printer-am8.jpg" alt="i3 AM8">
18
+        </a>
19
+    </noscript>
20
+</div>
21
+
22
+<hr>
23
+
12
 ## CTC i3 Pro B
24
 ## CTC i3 Pro B
13
 
25
 
14
 <div id="date-2">
26
 <div id="date-2">
46
             x.send();
58
             x.send();
47
         } catch(y) {}
59
         } catch(y) {}
48
     }
60
     }
61
+    LastModUsingHeader("//www.xythobuz.de/printer-am8.jpg", function(i, u) {
62
+        var img = document.createElement("img");
63
+        img.src = window.URL.createObjectURL(i);
64
+        img.alt = "CTC i3 Pro B";
65
+
66
+        var link = document.createElement("a");
67
+        link.href = "//www.xythobuz.de/printer-am8.jpg";
68
+        link.appendChild(img);
69
+
70
+        var up = document.createElement("p");
71
+        up.appendChild(document.createTextNode("Upload Date: " + u));
72
+
73
+        var dt = document.getElementById("date-am8");
74
+        dt.appendChild(link);
75
+        dt.appendChild(up);
76
+    });
49
     LastModUsingHeader("//www.xythobuz.de/printer-2.jpg", function(i, u) {
77
     LastModUsingHeader("//www.xythobuz.de/printer-2.jpg", function(i, u) {
50
         var img = document.createElement("img");
78
         var img = document.createElement("img");
51
         img.src = window.URL.createObjectURL(i);
79
         img.src = window.URL.createObjectURL(i);

Loading…
Cancel
Save