mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 15:25:39 +01:00
rename some routes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h1>Settings Syspref</h1>
|
||||
<h1>System Settings</h1>
|
||||
|
||||
<ng-container *ngIf="render">
|
||||
<ng-container *ngFor="let pref of preferences">
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
@@ -46,7 +46,3 @@ form mat-form-field {
|
||||
width: inherit;
|
||||
max-width: 40rem;
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: white;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user