this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add service and remove button

+14 -2
+14
src/camera.service
··· 1 + [Unit] 2 + Description=Button Camera with Web Server 3 + After=network.target 4 + 5 + [Service] 6 + ExecStart=/usr/bin/python3 /home/kierank/camera_server.py 7 + WorkingDirectory=/home/kierank 8 + StandardOutput=inherit 9 + StandardError=inherit 10 + Restart=always 11 + User=root 12 + 13 + [Install] 14 + WantedBy=multi-user.target
-2
src/camera_server.py
··· 55 55 .photo {{ border: 1px solid #ddd; padding: 5px; }} 56 56 .photo img {{ width: 100%; height: auto; }} 57 57 .photo a {{ display: block; text-align: center; margin-top: 5px; }} 58 - button {{ display: block; margin: 10px auto; padding: 5px 10px; }} 59 58 </style> 60 59 </head> 61 60 <body> 62 61 <h1>Inkpress: Gallery</h1> 63 - <button onclick="location.reload()">Refresh Gallery</button> 64 62 <div class="gallery"> 65 63 {photo_items} 66 64 </div>