diff --git a/ui/src/app/profile-create.component.css b/ui/src/app/profile-create.component.css deleted file mode 100644 index 6f3ab7f..0000000 --- a/ui/src/app/profile-create.component.css +++ /dev/null @@ -1,22 +0,0 @@ -.profile-form { - display: flex; - flex-direction: column; - gap: 1rem; - padding: 1rem; - border: 1px solid #e0e0e0; - border-radius: 0.25rem; -} - -.card-error { - --wa-card-background-color: var(--wa-color-danger-50); - --wa-card-border-color: var(--wa-color-danger-300); - color: var(--wa-color-danger-800); - margin-bottom: 1rem; -} - -.card-success { - --wa-card-background-color: var(--wa-color-success-50); - --wa-card-border-color: var(--wa-color-success-300); - color: var(--wa-color-success-800); - margin-bottom: 1rem; -} diff --git a/ui/src/app/profile-create.component.html b/ui/src/app/profile-create.component.html index a5bea0c..35fb311 100644 --- a/ui/src/app/profile-create.component.html +++ b/ui/src/app/profile-create.component.html @@ -1,39 +1,53 @@ - -
+
Create New Profile
@if (error) { - +

{{ error }}

- +
} @if (success) { - +

{{ success }}

- +
} - +
+ + +
- - @for(miner of state().manageableMiners; track miner.name) { - {{ miner.name }} - } - +
+ + +
-
+
Configuration - - - TLS - Huge Pages +
+ + +
+
+ + +
+
+ + +
+
+ + +
- Create Profile + diff --git a/ui/src/app/profile-create.component.ts b/ui/src/app/profile-create.component.ts index 7473b98..ee1ef1a 100644 --- a/ui/src/app/profile-create.component.ts +++ b/ui/src/app/profile-create.component.ts @@ -17,8 +17,7 @@ import '@awesome.me/webawesome/dist/components/card/card.js'; standalone: true, imports: [CommonModule, FormsModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], - templateUrl: './profile-create.component.html', - styleUrls: ['./profile-create.component.css'] + templateUrl: './profile-create.component.html' }) export class ProfileCreateComponent { minerService = inject(MinerService); diff --git a/ui/src/styles.css b/ui/src/styles.css index 0101300..ccf8cd8 100644 --- a/ui/src/styles.css +++ b/ui/src/styles.css @@ -1,3 +1,4 @@ /* You can add global styles to this file, and also import other style files */ @import "@awesome.me/webawesome/dist/styles/webawesome.css"; @import "@awesome.me/webawesome/dist/styles/themes/awesome.css"; +@import "@awesome.me/webawesome/dist/styles/native.css";