Compare commits
6 Commits
545b629129
...
88cffc12a5
| Author | SHA1 | Date | |
|---|---|---|---|
| 88cffc12a5 | |||
| 3bffdabc64 | |||
| 5b45bdfa6b | |||
| 4f5d034e53 | |||
| 17d4bc51f4 | |||
| fc4209eb40 |
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "user-manager-ui",
|
||||
"version": "4.0.0",
|
||||
"version": "4.1.0",
|
||||
"minApiVersion":"6.1.3",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start:ssl": "ng serve --ssl -o",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<app-nav-menu></app-nav-menu>
|
||||
<main class="container-fluid">
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
||||
</main>
|
||||
<app-footer></app-footer>
|
||||
@@ -5,11 +5,12 @@ import { TransferService } from './services/button/transfer.service';
|
||||
import { UpdateService } from './services/button/update.service';
|
||||
import { RefreshService } from './services/button/refresh.service';
|
||||
import { DeletionService } from './services/button/deletion.service';
|
||||
import { FooterComponent } from './components/footer/footer.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
standalone: true,
|
||||
imports: [RouterOutlet, NavMenuComponent],
|
||||
imports: [RouterOutlet, NavMenuComponent, FooterComponent],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.scss',
|
||||
changeDetection: ChangeDetectionStrategy.Default
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<footer>
|
||||
<mat-toolbar color="mat-h3" class="footer-toolbar">
|
||||
<a class="mat-h3 footer-brand-link" [routerLink]="['/']">© 2025 Digital Data</a>
|
||||
<div class="footer-links">
|
||||
<a mat-button class="mat-body-strong" [routerLink]="['/privacy-policy']">Datenschutz</a>
|
||||
<a mat-button class="mat-body-strong" href="https://digitaldata.works/#kontakt" target="_blank">Kontakt</a>
|
||||
<span mat-button class="mat-body-strong">{{appVersion}}</span>
|
||||
</div>
|
||||
</mat-toolbar>
|
||||
</footer>
|
||||
@@ -0,0 +1,23 @@
|
||||
.footer-toolbar {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 2.2rem;
|
||||
z-index: 1000;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer-links{
|
||||
display: flex;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
justify-content: space-around;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer a {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { FooterComponent } from './footer.component';
|
||||
|
||||
describe('FooterComponent', () => {
|
||||
let component: FooterComponent;
|
||||
let fixture: ComponentFixture<FooterComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [FooterComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(FooterComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { name, version, minApiVersion } from '../../../../package.json';
|
||||
|
||||
@Component({
|
||||
selector: 'app-footer',
|
||||
standalone: true,
|
||||
imports: [
|
||||
MatToolbarModule, RouterModule
|
||||
],
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrl: './footer.component.scss'
|
||||
})
|
||||
export class FooterComponent {
|
||||
appVersion: string = `${name} v${version} | ${minApiVersion}`;
|
||||
}
|
||||
@@ -42,7 +42,7 @@ export class GroupFormComponent {
|
||||
.subscribe(() => this.updateErrorMessage());
|
||||
}
|
||||
|
||||
updateErrorMessage() {
|
||||
public updateErrorMessage() {
|
||||
if (this.groupname.hasError('required')) {
|
||||
this.errorMessage.set('Wert eingeben');
|
||||
} else {
|
||||
|
||||
@@ -1 +1 @@
|
||||
<iframe src="docs/privacy-policy.pdf#toolbar=0&navpanes=0&scrollbar=0" ></iframe>
|
||||
<iframe src="docs/privacy-policy.pdf#toolbar=0&navpanes=0&scrollbar=1" ></iframe>
|
||||
@@ -1,9 +1,10 @@
|
||||
iframe {
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position : absolute;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
left : 0;
|
||||
top : 4rem;
|
||||
width : 100%;
|
||||
height : calc(100% - 6rem);
|
||||
z-index : 10;
|
||||
}
|
||||
@@ -1,5 +1,8 @@
|
||||
import { Version } from "@angular/core";
|
||||
|
||||
export const env = {
|
||||
production: false,
|
||||
production: true,
|
||||
version: new Version("6.1.3"),
|
||||
default_api_url: "/api",
|
||||
routes: {
|
||||
user: "/user",
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
@import '../node_modules/@angular/cdk/overlay-prebuilt.css';
|
||||
@import "../node_modules/bootstrap-icons/font/bootstrap-icons.css";
|
||||
|
||||
* {
|
||||
-webkit-user-select: none; /* Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none; /* Standart */
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0366d6;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
"lib": [
|
||||
"ES2022",
|
||||
"dom"
|
||||
]
|
||||
],
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"enableI18nLegacyMessageIdFormat": false,
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<TargetFrameworks>net7.0;net8.0;net9.0</TargetFrameworks>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>6.1.2</Version>
|
||||
<AssemblyVersion>6.1.2</AssemblyVersion>
|
||||
<FileVersion>6.1.2</FileVersion>
|
||||
<Version>6.1.3</Version>
|
||||
<AssemblyVersion>6.1.3</AssemblyVersion>
|
||||
<FileVersion>6.1.3</FileVersion>
|
||||
<PackageIcon>icon.png</PackageIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user