mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 07:59:59 -07:00
Remove advanced options
This commit is contained in:
@@ -82,32 +82,6 @@
|
||||
<div class="text-center py-4">Loading config...</div>
|
||||
{:else if config}
|
||||
<form class="space-y-4" onsubmit={(e) => { e.preventDefault(); saveConfig(); }}>
|
||||
<div>
|
||||
<label for="qmdl_store_path" class="block text-sm font-medium text-gray-700 mb-1">
|
||||
QMDL Store Path
|
||||
</label>
|
||||
<input
|
||||
id="qmdl_store_path"
|
||||
type="text"
|
||||
bind:value={config.qmdl_store_path}
|
||||
disabled
|
||||
class="w-full px-3 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500 cursor-not-allowed"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="port" class="block text-sm font-medium text-gray-700 mb-1">
|
||||
Web UI Port
|
||||
</label>
|
||||
<input
|
||||
id="port"
|
||||
type="number"
|
||||
bind:value={config.port}
|
||||
disabled
|
||||
class="w-full px-3 py-2 border border-gray-300 rounded-md bg-gray-100 text-gray-500 cursor-not-allowed"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="ui_level" class="block text-sm font-medium text-gray-700 mb-1">
|
||||
Device UI Level
|
||||
@@ -139,30 +113,6 @@
|
||||
</div>
|
||||
|
||||
<div class="space-y-3">
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
id="debug_mode"
|
||||
type="checkbox"
|
||||
bind:checked={config.debug_mode}
|
||||
class="h-4 w-4 text-rayhunter-blue focus:ring-rayhunter-blue border-gray-300 rounded"
|
||||
/>
|
||||
<label for="debug_mode" class="ml-2 block text-sm text-gray-700">
|
||||
Debug Mode
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
id="enable_dummy_analyzer"
|
||||
type="checkbox"
|
||||
bind:checked={config.enable_dummy_analyzer}
|
||||
class="h-4 w-4 text-rayhunter-blue focus:ring-rayhunter-blue border-gray-300 rounded"
|
||||
/>
|
||||
<label for="enable_dummy_analyzer" class="ml-2 block text-sm text-gray-700">
|
||||
Enable Dummy Analyzer
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
id="colorblind_mode"
|
||||
|
||||
@@ -9,11 +9,7 @@ export interface AnalyzerConfig {
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
qmdl_store_path: string;
|
||||
port: number;
|
||||
debug_mode: boolean;
|
||||
ui_level: number;
|
||||
enable_dummy_analyzer: boolean;
|
||||
colorblind_mode: boolean;
|
||||
key_input_mode: number;
|
||||
analyzers: AnalyzerConfig;
|
||||
|
||||
Reference in New Issue
Block a user