rename some routes

This commit is contained in:
rubikscraft
2022-03-19 20:54:00 +01:00
parent 8db5917bbc
commit cc7d9ddef3
4 changed files with 3 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
<h1>Settings Syspref</h1> <h1>System Settings</h1>
<ng-container *ngIf="render"> <ng-container *ngIf="render">
<ng-container *ngFor="let pref of preferences"> <ng-container *ngFor="let pref of preferences">

View File

@@ -1,7 +1,6 @@
import { CommonModule } from '@angular/common'; import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { MatInputModule } from '@angular/material/input'; import { MatInputModule } from '@angular/material/input';
import { MatListModule } from '@angular/material/list';
import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { SettingsSysprefOptionComponent } from './settings-syspref-option/settings-syspref-option.component'; import { SettingsSysprefOptionComponent } from './settings-syspref-option/settings-syspref-option.component';
import { SettingsSysprefComponent } from './settings-syspref.component'; import { SettingsSysprefComponent } from './settings-syspref.component';
@@ -12,7 +11,6 @@ import { SettingsSysprefRoutingModule } from './settings-syspref.routing.module'
imports: [ imports: [
CommonModule, CommonModule,
SettingsSysprefRoutingModule, SettingsSysprefRoutingModule,
MatListModule,
MatSlideToggleModule, MatSlideToggleModule,
MatInputModule, MatInputModule,
], ],

View File

@@ -29,12 +29,12 @@ const SettingsRoutes: PRoutes = [
}, },
}, },
{ {
path: 'syspref', path: 'system',
loadChildren: () => SettingsSysprefRouteModule, loadChildren: () => SettingsSysprefRouteModule,
data: { data: {
permissions: [Permission.SysPrefManage], permissions: [Permission.SysPrefManage],
page: { page: {
title: 'Sys Preferences', title: 'System Settings',
icon: 'settings', icon: 'settings',
category: 'system', category: 'system',
}, },

View File

@@ -46,7 +46,3 @@ form mat-form-field {
width: inherit; width: inherit;
max-width: 40rem; max-width: 40rem;
} }
input::placeholder {
color: white;
}