1
0
mirror of https://github.com/ellmau/adf-obdd.git synced 2025-12-20 09:39:38 +01:00

Add legal information page to frontend

This commit is contained in:
monsterkrampe 2023-04-18 08:52:05 +02:00
parent eade6ef415
commit 927f7b26ea
No known key found for this signature in database
GPG Key ID: B8ADC1F5A5CE5057
3 changed files with 128 additions and 18 deletions

View File

@ -6,11 +6,13 @@ import {
AlertColor, AlertColor,
Alert, Alert,
AppBar, AppBar,
Box,
Button, Button,
Dialog, Dialog,
DialogActions, DialogActions,
DialogContent, DialogContent,
DialogTitle, DialogTitle,
Link,
TextField, TextField,
Toolbar, Toolbar,
} from '@mui/material'; } from '@mui/material';
@ -200,24 +202,29 @@ function Footer() {
<> <>
<AppBar position="fixed" sx={{ top: 'auto', bottom: 0 }}> <AppBar position="fixed" sx={{ top: 'auto', bottom: 0 }}>
<Toolbar sx={{ justifyContent: 'center' }}> <Toolbar sx={{ justifyContent: 'center' }}>
{username ? ( <Box sx={{ flexGrow: 1 }}>
<> {username ? (
<span> <>
Logged in as: <span>
{' '} Logged in as:
{username} {' '}
{' '} {username}
{tempUser ? '(Temporary User. Edit to set a password!)' : undefined} {' '}
</span> {tempUser ? '(Temporary User. Edit to set a password!)' : undefined}
<Button color="inherit" onClick={() => setDialogTypeOpen(UserFormType.Update)}>Edit</Button> </span>
{!tempUser && <Button color="inherit" onClick={() => logout()}>Logout</Button>} <Button color="inherit" onClick={() => setDialogTypeOpen(UserFormType.Update)}>Edit</Button>
</> {!tempUser && <Button color="inherit" onClick={() => logout()}>Logout</Button>}
) : ( </>
<> ) : (
<Button color="inherit" onClick={() => setDialogTypeOpen(UserFormType.Login)}>Login</Button> <>
<Button color="inherit" onClick={() => setDialogTypeOpen(UserFormType.Register)}>Register</Button> <Button color="inherit" onClick={() => setDialogTypeOpen(UserFormType.Login)}>Login</Button>
</> <Button color="inherit" onClick={() => setDialogTypeOpen(UserFormType.Register)}>Register</Button>
)} </>
)}
</Box>
<Link href="/legal.html" target="_blank" sx={{ fontSize: '0.8rem' }}>
Legal Information (Impressum and Data Protection Regulation)
</Link>
</Toolbar> </Toolbar>
</AppBar> </AppBar>
<Dialog open={!!dialogTypeOpen} onClose={() => setDialogTypeOpen(null)}> <Dialog open={!!dialogTypeOpen} onClose={() => setDialogTypeOpen(null)}>

View File

@ -7,6 +7,11 @@
<script type="module" src="app.tsx"></script> <script type="module" src="app.tsx"></script>
</head> </head>
<body> <body>
<noscript>
<h1>ADF-BDD.DEV</h1>
<p>Turn on Javascript in your browser to use our ADF tool!</p>
<a href="./legal.html" target="_blank">Legal Information (Impressum and Data Protection Regulation)</a>
</noscript>
<div id="app"></div> <div id="app"></div>
</body> </body>
</html> </html>

98
frontend/src/legal.html Normal file
View File

@ -0,0 +1,98 @@
<!DOCTYPE html>
<html>
<head>
<title>ADF-BDD.dev - Legal Notice</title>
<meta name="description" content="Impressum and Data Protection Regulation for adf-bdd.dev">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: Helvetica;
}
h1 {
text-align: center;
}
section {
max-width: 1000px;
margin: 0 auto 32px;
padding: 16px;
box-shadow: 0 0 10px 0px rgba(0,0,0,0.4);
}
section > :first-child {
margin-top: 0;
}
section > :last-child {
margin-bottom: 0;
}
</style>
</head>
<body>
<header>
<h1>ADF-BDD.DEV Legal Notice</h1>
</header>
<section>
<h2>Impressum</h2>
The <a href="https://tu-dresden.de/impressum?set_language=en" target="_blank" rel="noreferrer noopener">Impressum of TU Dresden</a> applies with the following amendments:
<h3>Responsibilities - Content and Technical Implementation</h3>
<p>
Dipl.-Inf. Lukas Gerlach<br>
Technische Universität Dresden<br>
Fakultät Informatik<br>
Institut für Theoretische Informatik<br>
Professur für Wissensbasierte Systeme<br>
01062 Dresden<br>
GERMANY
</p>
<p>
Email: lukas.gerlach@tu-dresden.de<br>
Phone: (+49) 351 / 463 43503
</p>
</section>
<section>
<h2>Data Protection Regulation</h2>
<p>
We process your personal data only in form of metadata that is send to us when you access the website.
This is done to pursue our legitimate interest of providing and improving this publicly available website (https://adf-bdd.dev).
To this aim, this metadata is also written to server log files.
The data may contain the following of your personal information: public IP address, time of access, internet browser (e.g. user agent, version), operating system, referrer url, hostname of requesting machine.
We do not set any cookies and do not use any third party analytics tools on this website.
</p>
<h3>Legal basis</h3>
<p>
The legal basis for the data processing is <a href="https://gdpr.eu/article-6-how-to-process-personal-data-legally/" target="_blank" rel="noreferrer noopener">Section §6 para.1 lit. f GDPR</a>.
</p>
<h3>Rights of data subjects</h3>
<ul>
<li>You have the right to obtain information from TU Dresden about the data stored about your person and/or to have incorrectly stored data corrected.</li>
<li>You have the right to erasure or restriction of the processing and/or a right to object to the processing.</li>
<li>You can contact TU Dresden's Data Protection Officer at any time.
<p>
Tel.: +49 351 / 463 32839<br>
Fax: +49 351 / 463 39718<br>
Email: informationssicherheit@tu-dresden.de<br>
<a href="https://tu-dresden.de/informationssicherheit" target="_blank" rel="noreferrer noopener">https://tu-dresden.de/informationssicherheit</a>
</p>
</li>
<li>
You also have the right to complain to a supervisory authority if you are concerned that the processing of your personal data is an infringement of the law. The competent supervisory authority for data protection is:
<p>
Saxon Data Protection Commissioner<br>
Ms. Dr. Juliane Hundert<br>
Devrientstraße 5<br>
01067 Dresden<br>
Email: saechsdsb@slt.sachsen.de<br>
Phone: + 49 351 / 85471 101<br>
<a href="http://www.datenschutz.sachsen.de" target="_blank" rel="noreferrer noopener">www.datenschutz.sachsen.de</a>
</p>
</li>
</ul>
</section>
</body>
</html>