mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 23:35: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 *ngIf="render">
|
||||||
<ng-container *ngFor="let pref of preferences">
|
<ng-container *ngFor="let pref of preferences">
|
||||||
|
|||||||
@@ -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,
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -46,7 +46,3 @@ form mat-form-field {
|
|||||||
width: inherit;
|
width: inherit;
|
||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
input::placeholder {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user