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 *ngFor="let pref of preferences">

View File

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

View File

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

View File

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