mirror of
https://github.com/eatfishfish/openpilot-server.git
synced 2026-08-22 04:42:32 +00:00
modified: frps.toml
modified: opserver.exe modified: opserver_linux_amd64 modified: static/index.html
This commit is contained in:
@@ -141,12 +141,22 @@
|
||||
function showLocation() {
|
||||
did = localStorage.getItem("dongleId");
|
||||
url = "/replaygps/"+String(did)+"/"
|
||||
|
||||
|
||||
var date = new Date();
|
||||
url = url+date.getFullYear()+"-"+(date.getMonth() + 1).toString().padStart(2,'0')+"-"+date.getDate();
|
||||
console.log(url)
|
||||
window.location = url;
|
||||
}
|
||||
|
||||
function showSentry() {
|
||||
did = localStorage.getItem("dongleId");
|
||||
url = "FRP_SVR/"+String(did)
|
||||
console.log(url)
|
||||
window.location = url;
|
||||
}
|
||||
|
||||
|
||||
function recordOperationTime(){
|
||||
strSec = Math.floor(Date.now() / 1000)
|
||||
localStorage.setItem("operationTime", strSec)
|
||||
@@ -195,6 +205,8 @@
|
||||
<input type="button" value="Vod" class="button button1" onclick = "showVOD();" />
|
||||
|
||||
<input type="button" value="Location" class="button button1" onclick = "showLocation();" />
|
||||
|
||||
<input type="button" value="Sentry" class="button button1" onclick = "showSentry();" />
|
||||
</br></br>
|
||||
<input type="button" value="Log" class="button button1" onclick = "showlog();" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user