From 0db8436667bcc02c8eb93cd9167cbeefd06874f4 Mon Sep 17 00:00:00 2001 From: Highbyte Date: Tue, 1 Oct 2024 18:16:04 +0200 Subject: [PATCH] Tweak WASM UI layout --- .../Pages/Commodore64/C64ConfigUI.razor | 30 +++-- .../Pages/Commodore64/C64Menu.razor | 121 +++++++++++------- .../Pages/Index.razor | 40 +++--- .../wwwroot/css/app.css | 4 +- .../wwwroot/index.html | 6 + 5 files changed, 118 insertions(+), 83 deletions(-) diff --git a/src/apps/Highbyte.DotNet6502.App.WASM/Pages/Commodore64/C64ConfigUI.razor b/src/apps/Highbyte.DotNet6502.App.WASM/Pages/Commodore64/C64ConfigUI.razor index 14c0200f..05237d74 100644 --- a/src/apps/Highbyte.DotNet6502.App.WASM/Pages/Commodore64/C64ConfigUI.razor +++ b/src/apps/Highbyte.DotNet6502.App.WASM/Pages/Commodore64/C64ConfigUI.razor @@ -11,7 +11,7 @@ @using static Highbyte.DotNet6502.Systems.Commodore64.TimerAndPeripheral.C64Joystick; @using static Highbyte.DotNet6502.App.WASM.Pages.Index -
+
ROMs

The C64 system requires the following types of ROM files: Kernal, Basic, and Character generator.

- Use existing C64 ROM files on your computer, or download them to your computer from the internet.

@@ -29,10 +29,10 @@ } else { -

@LoadedROMCount/@_maxC64AllowedRomFiles ROMs loaded

+

@LoadedROMCount/@_requiredNumberOfRomFiles ROMs loaded

@if (!string.IsNullOrEmpty(_validationMessage)) { -

@_validationMessage

+

@_validationMessage

}
    @foreach (var romName in C64SystemConfig.RequiredROMs) @@ -43,7 +43,7 @@ } else { -
  • @romName - not loaded
  • +
  • @romName - not loaded
  • } }
@@ -67,8 +67,8 @@
-
- General settings +
+ Video/audio
@*

General settings

*@ @@ -94,7 +94,7 @@
-
+
Joystick settings
@@ -174,8 +174,7 @@
- -
+
Basic AI coding assistant
@@ -183,7 +182,7 @@ @*

Basic AI coding assistant

*@
-
Assistant type
+
AI backend type
- @foreach (var joystick in _c64HostConfig.InputConfig.AvailableJoysticks.ToArray()) - { - - } - - + +

- - - - -

Load/save files

- - - + + -

Assembly example files

-
- + @foreach (var exampleFileKey in _assemblyExampleFiles.Keys) + { + + } + + +
+ +

Basic example files

+
+ + +
+ +
+ @_latestFileError +
+
+ +

 

+
+ Configuration + + + - - - -

Basic example files

-
- + - -
-

Misc.

- - -

- - +
+ +
- +
-
- @_latestFileError -
-
-
- + +