frontend: add configuration component and update routing

This commit is contained in:
Carlos Santos 2025-09-23 16:46:39 +02:00
parent 80abeeb65e
commit dccbfea9d2
8 changed files with 31 additions and 11 deletions

View File

@ -0,0 +1 @@
<p>config works!</p>

View File

@ -0,0 +1,12 @@
import { Component } from '@angular/core';
@Component({
selector: 'ov-config',
standalone: true,
imports: [],
templateUrl: './config.component.html',
styleUrl: './config.component.scss'
})
export class ConfigComponent {
}

View File

@ -25,8 +25,9 @@ export class ConsoleComponent {
label: 'Users & Permissions',
route: 'users-permissions',
icon: 'passkey',
iconClass: 'ov-settings-icon material-symbols-outlined'
}
iconClass: 'ov-users-permissions material-symbols-outlined'
},
{ label: 'Configuration', route: 'config', icon: 'settings', iconClass: 'ov-settings-icon' }
// { label: 'About', route: 'about', icon: 'info' }
];

View File

@ -6,6 +6,7 @@ export * from './console/recordings/recordings.component';
export * from './console/rooms/rooms.component';
export * from './console/rooms/room-wizard/room-wizard.component';
export * from './console/users-permissions/users-permissions.component';
export * from './console/config/config.component';
export * from './meeting/end-meeting/end-meeting.component';
export * from './error/error.component';
export * from './login/login.component';

View File

@ -24,7 +24,8 @@ import {
RoomsComponent,
RoomWizardComponent,
UsersPermissionsComponent,
ViewRecordingComponent
ViewRecordingComponent,
ConfigComponent
} from '@lib/pages';
export const baseRoutes: Routes = [
@ -102,6 +103,10 @@ export const baseRoutes: Routes = [
path: 'users-permissions',
component: UsersPermissionsComponent
},
{
path: 'config',
component: ConfigComponent
},
// {
// path: 'about',
// component: AboutComponent

View File

@ -23,10 +23,11 @@
// to maintain visual consistency across the entire application
--ov-meet-icon-rooms: var(--ov-meet-color-primary); // video_chat, meeting_room
--ov-meet-icon-recordings: var(--ov-meet-color-accent); // video_library, play_circle
--ov-meet-icon-settings: var(--ov-meet-text-secondary); // settings, tune
--ov-meet-icon-developer: var(--ov-meet-color-warning); // code, api
--ov-meet-icon-actions: var(--ov-meet-text-secondary); // add, edit, delete, refresh
--ov-meet-icon-about: var(--ov-meet-color-info); // info, security, help
--ov-meet-icon-users-permissions: #e05200; // group, manage_accounts
--ov-meet-icon-settings: var(--ov-meet-color-secondary); // settings, tune
// --ov-meet-icon-about: var(--ov-meet-color-info); // info, security, help
// === SPACING AND DIMENSIONS ===
--ov-meet-spacing-xs: 4px;

View File

@ -103,6 +103,10 @@
@include ov-theme-transition;
}
.ov-users-permissions {
color: var(--ov-meet-icon-users-permissions) !important;
@include ov-theme-transition;
}
.ov-settings-icon {
color: var(--ov-meet-icon-settings) !important;
@include ov-theme-transition;
@ -118,11 +122,6 @@
@include ov-theme-transition;
}
.ov-action-icon {
color: var(--ov-meet-icon-actions) !important;
@include ov-theme-transition;
}
.ov-surface {
background-color: var(--ov-meet-surface-color);
color: var(--ov-meet-text-on-surface);