mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-02-05 00:16:07 +00:00
There's a 200 ms delay between each file, for debugging. It's nice to demo how it thinks, but it needs to go behind a fault injection flag or be removed completely before merging. 
72 lines
2.1 KiB
HTML
Executable File
72 lines
2.1 KiB
HTML
Executable File
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="stylesheet" href="styles.css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Settings</title>
|
|
<script src="settings.js"></script>
|
|
<style>
|
|
.logo.vanilla:hover {
|
|
filter: drop-shadow(0 0 2em #ffe21c);
|
|
}
|
|
|
|
.tab button.active {
|
|
background-color: orange;
|
|
color: black;
|
|
}
|
|
|
|
.tabcontent {
|
|
display: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="row tab">
|
|
<button class="tablinks" onclick="openTab(event, 'tab_advanced')">Advanced</button>
|
|
<button class="tablinks" onclick="openTab(event, 'tab_logs')">Diagnostic Logs</button>
|
|
</div>
|
|
|
|
<p>
|
|
|
|
<div id="tab_logs" class="tabcontent">
|
|
<div class="row">
|
|
<button type="button" id="export-logs-btn">Export Logs</button>
|
|
<button type="button" id="clear-logs-btn">Clear Logs</button>
|
|
</div>
|
|
<div class="row">
|
|
<p id="log-count-output"></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="tab_advanced" class="tabcontent">
|
|
<form id="advanced-settings-form">
|
|
<div class="row">
|
|
<label for="auth-base-url-input">Auth Base URL:</label>
|
|
<input id="auth-base-url-input"></input>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label for="api-url-input">API URL:</label>
|
|
<input id="api-url-input"></input>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label for="log-filter-input">Log Filter:</label>
|
|
<input id="log-filter-input"></input>
|
|
</div>
|
|
|
|
<p><b>WARNING</b>: These settings are intended for internal debug purposes <b>only</b>. Changing these is not supported and will disrupt access to your resources.</p>
|
|
|
|
<div class="row">
|
|
<button type="button" id="reset-advanced-settings-btn">Reset to Defaults</button>
|
|
<button type="submit" id="apply-advanced-settings-btn">Apply</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|