Skip to content

Commit

Permalink
Add web arrow key navigation text
Browse files Browse the repository at this point in the history
  • Loading branch information
pageauc committed Feb 29, 2024
1 parent 7a83dc4 commit a494687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webserver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/python3
'''
written by Claude Pageau See https://github.com/pageauc/speed-camera
Tracks largest moving object in camera view and calculates speed based on calibration data.
This webserver allows viewing images and reports
'''
import cgi
# import cgi
import html
import os
import subprocess
Expand All @@ -18,7 +18,7 @@
from http.server import SimpleHTTPRequestHandler
from io import BytesIO

PROG_VER = "ver 13.1 written by Claude Pageau modified by Alexandre Strube for python3 compatibility"
PROG_VER = "ver 13.2 written by Claude Pageau modified by Alexandre Strube for python3 compatibility"

SCRIPT_PATH = os.path.abspath(__file__) # Find the full path of this python script
BASE_DIR = os.path.dirname(SCRIPT_PATH) # Get the path location only (excluding script name)
Expand Down
3 changes: 3 additions & 0 deletions webserver.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ be displayed when in web server root folder.
Use browser refresh button to update web page and
display most recent data.

Optionally Use < Left or Right > Keyboared arrow keys
to scroll through directory list.

This web server can display other types of content.
Web pages with javascript, css Etc will run.
If a folder has an index.html it will take over
Expand Down

0 comments on commit a494687

Please sign in to comment.