forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dashcam Viewer: Screen Recordings support and interface refresh (comm…
…aai#160) * init bootstrap 5.3 * bootstrap done * watch screen records * formatting * syntax * import * specific path * pathing * text * not needed * sunnypilot home * better name * Revert "syntax" This reverts commit 45c54a54ef978ca317d60a8d4b5581619151e452. * path * fix miss "/" at end of path and show current screenrecord video * Created the About page * Display errors in a more communicative way * enable <br> at error messages * display title on top of the page * link to download screenrecord * Update README.md * Update styles * Navbar on top, don't block content * Don't center and format * Update CHANGELOGS.md * Update About page --------- Co-authored-by: Jason Wen <[email protected]>
- Loading branch information
1 parent
a004024
commit 1846814
Showing
12 changed files
with
258 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Dashcam Viewer | ||
|
||
View dashcam footage by connecting to the comma device via the same network, with your mobile device or PC. Big thanks to [actuallylemoncurd](https://github.com/actuallylemoncurd), [AlexandreSato](https://github.com/alexandreSato), [ntegan1](https://github.com/ntegan1), and [royjr](https://github.com/royjr). | ||
View dashcam footage and screen recordings by connecting to the comma device via the same network, with your mobile device or PC. Big thanks to [actuallylemoncurd](https://github.com/actuallylemoncurd), [AlexandreSato](https://github.com/alexandreSato), [ntegan1](https://github.com/ntegan1), and [royjr](https://github.com/royjr). | ||
|
||
The network can be set up by Wi-Fi, mobile hotspot, or tethering on the comma device. Navigate to http://tici:5000/ OR ipAddress:5000 to access the dashcam footage. | ||
The network can be set up by Wi-Fi, mobile hotspot, or tethering on the comma device. Navigate to http://tici:5050/ OR http://ipAddress:5050 to access the dashcam footage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../selfdrive/assets/img_spinner_comma.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block title %} | ||
About | ||
{% endblock %} | ||
|
||
{% block main %} | ||
<br> | ||
<b>About</b> | ||
<br><br> | ||
<footer class="small text-center text-muted" style="word-wrap: break-word;"> | ||
Special thanks to:<br><br> | ||
ntegan1<br> | ||
royjr<br> | ||
AlexandreSato<br> | ||
actuallylemoncurd | ||
</footer> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block title %} | ||
About | ||
{% endblock %} | ||
|
||
{% block main %} | ||
<br> Oopss | ||
<br><br><br><br> | ||
{{ error | safe }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block title %} | ||
Dashcam Routes | ||
{% endblock %} | ||
|
||
{% block main %} | ||
<br> | ||
<b>Dashcam Routes</b> | ||
<br><br> | ||
{% for row in rows %} | ||
<a href="footage/{{ row }}">{{ row }}</a><br> | ||
{% endfor %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,13 @@ | ||
<html> | ||
<head> | ||
<meta name="viewport" content="initial-scale=1, width=device-width"/> | ||
<link href="/static/favicon.ico" rel="icon"> | ||
<title>remote door locker</title> | ||
<style> | ||
.button { | ||
border: none; | ||
color: white; | ||
padding: 16px 32px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
font-size: 16px; | ||
margin: 4px 2px; | ||
transition-duration: 0.4s; | ||
cursor: pointer; | ||
} | ||
|
||
.button1 { | ||
background-color: white; | ||
color: black; | ||
border: 2px solid #4CAF50; | ||
} | ||
|
||
.button1:hover { | ||
background-color: #4CAF50; | ||
color: white; | ||
} | ||
|
||
.button2 { | ||
background-color: white; | ||
color: black; | ||
border: 2px solid #008CBA; | ||
} | ||
|
||
.button2:hover { | ||
background-color: #008CBA; | ||
color: white; | ||
} | ||
|
||
.container { | ||
height: 200px; | ||
position: relative; | ||
border: 3px solid green; | ||
} | ||
|
||
.center { | ||
margin: 0; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
-ms-transform: translate(-50%, -50%); | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
<body> | ||
<center> | ||
<br><a href='footage'>Viem DashCam Footage</a><br> | ||
</center> | ||
</body> | ||
</html> | ||
{% extends "layout.html" %} | ||
|
||
{% block title %} | ||
Home | ||
{% endblock %} | ||
|
||
{% block main %} | ||
<br> | ||
<b>Dashcam Viewer</b> | ||
<br><br> | ||
<a href='/footage'>View Dashcam Footage</a><br> | ||
<br><a href='/screenrecords'>View Screen Recordings</a><br> | ||
{% endblock %} |
Oops, something went wrong.