Compare commits

...

6 Commits

Author SHA1 Message Date
88cffc12a5 chore: add api-version and bind with footer 2025-08-08 13:26:15 +02:00
3bffdabc64 chore(api): bump to 6.1.3 2025-08-08 13:12:03 +02:00
5b45bdfa6b refactor(style.css): update to disable user selection 2025-08-08 12:59:40 +02:00
4f5d034e53 feat(footer): bind version with package.json 2025-08-08 12:55:05 +02:00
17d4bc51f4 refactor(privacy-policy): style: iframe-Styling zur Layoutanpassung aktualisiert
- Versionsinformationen zur Fußzeile hinzufügen
2025-08-08 12:16:54 +02:00
fc4209eb40 feat(footer): add the component with css 2025-08-08 11:12:00 +02:00
14 changed files with 104 additions and 17 deletions

View File

@@ -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",

View File

@@ -1,4 +1,5 @@
<app-nav-menu></app-nav-menu>
<main class="container-fluid">
<router-outlet></router-outlet>
</main>
</main>
<app-footer></app-footer>

View File

@@ -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

View File

@@ -0,0 +1,10 @@
<footer>
<mat-toolbar color="mat-h3" class="footer-toolbar">
<a class="mat-h3 footer-brand-link" [routerLink]="['/']">&copy; 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>

View File

@@ -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);
}

View File

@@ -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();
});
});

View File

@@ -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}`;
}

View File

@@ -42,7 +42,7 @@ export class GroupFormComponent {
.subscribe(() => this.updateErrorMessage());
}
updateErrorMessage() {
public updateErrorMessage() {
if (this.groupname.hasError('required')) {
this.errorMessage.set('Wert eingeben');
} else {

View File

@@ -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>

View File

@@ -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;
}

View File

@@ -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",

View File

@@ -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;
}

View File

@@ -21,7 +21,8 @@
"lib": [
"ES2022",
"dom"
]
],
"resolveJsonModule": true
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,

View File

@@ -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>