-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add logging, some settings, security fixes, bug fixes
- Loading branch information
Showing
17 changed files
with
444 additions
and
82 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,21 +1,35 @@ | ||
@page | ||
@model SettingsModel | ||
|
||
@{ | ||
Layout = "~/Pages/Shared/_Layout.cshtml"; | ||
} | ||
|
||
<head> | ||
<title>ReHUD | Settings</title> | ||
|
||
<link rel="stylesheet" href="~/css/settings.css" asp-append-version="true" /> | ||
|
||
<script src="~/js/settings.js" asp-append-version="true"></script> | ||
</head> | ||
|
||
<div class="setting"> | ||
<div class="setting" id="layout-setting"> | ||
<label>HUD Layout</label> | ||
<button id="edit-layout" onclick="lockOverlay(true)">Edit</button> | ||
<button id="cancel-reset-layout" onclick="lockOverlay(false)">Reset</button> | ||
<button id="edit-layout">Edit</button> | ||
<button id="cancel-reset-layout">Reset</button> | ||
</div> | ||
|
||
<div class="setting"> | ||
<div class="setting" id="speed-units-setting"> | ||
<label>Speed Units</label> | ||
<button id="speed-units-kmh" onclick="speedUnits('kmh')">km/h</button> | ||
<button id="speed-units-mph" onclick="speedUnits('mph')">mp/h</button> | ||
<button id="speed-units-kmh">km/h</button> | ||
<button id="speed-units-mph">mp/h</button> | ||
</div> | ||
|
||
<div class="setting" id="radar-beep-setting"> | ||
<label>Radar Beep Volume</label> | ||
<input type="range" min="0" max="3" value="1" step="0.01" class="slider" id="radar-beep-volume"> | ||
<input type="number" min="0" max="3" step="0.01" id="radar-beep-volume-text"> | ||
</div> | ||
|
||
|
||
<button id="show-log-file">Show Log File</button> |
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 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 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 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
Oops, something went wrong.