fixing some bugs
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Footer</title>
|
||||
<link href="system0/html/php/login/v3/components.php" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
hr {
|
||||
margin-top: 1rem;
|
||||
|
||||
@@ -2,32 +2,31 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="system0/html/php/login/v3/components.php" rel="stylesheet">
|
||||
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
|
||||
<script>
|
||||
function load_footer() {
|
||||
$(document).ready(function(){
|
||||
$('#footer').load("/system0/html/php/login/v3/html/footer.html");
|
||||
$('#footer').load("/assets/html/footer.html");
|
||||
});
|
||||
}
|
||||
load_footer();
|
||||
function update_telegram_id(){
|
||||
var a=document.getElementById("telegram_id");
|
||||
var tel_id=a.value;
|
||||
fetch("update_settings.php?telegram_id="+tel_id);
|
||||
fetch("/api/update_settings.php?telegram_id="+tel_id);
|
||||
}
|
||||
function update_notification(div_id){
|
||||
var a=document.getElementById(div_id);
|
||||
var tel_id=a.checked;
|
||||
fetch("update_settings.php?"+div_id+"="+tel_id);
|
||||
}
|
||||
fetch("/api/update_settings.php?"+div_id+"="+tel_id);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
.green {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.green:hover,
|
||||
.green:active {
|
||||
color: #e2e2e2;
|
||||
@@ -40,8 +39,8 @@
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="/system0/html/index.php">
|
||||
<img src="/system0/html/php/login/v3/css/MicrosoftTeams-image (16).png" width="auto" height="30" alt="Logo">
|
||||
<a class="navbar-brand" href="/index.php">
|
||||
<img src="/assets/images/ksw_logo.png" width="auto" height="30" alt="Logo">
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
@@ -55,36 +54,36 @@
|
||||
if($_SESSION["role"][0]==="1")
|
||||
echo('
|
||||
<li class="nav-item">
|
||||
<a class="btn btn-link green" href="/system0/html/php/login/v3/php/print.php">Datei drucken</a>
|
||||
<a class="btn btn-link green" href="/app/print.php">Datei drucken</a>
|
||||
</li>
|
||||
');
|
||||
if($_SESSION["role"][1]==="1")
|
||||
echo('
|
||||
<li class="nav-item">
|
||||
<a class="btn btn-link green" href="/system0/html/php/login/v3/php/cloud.php">Deine Dateien</a>
|
||||
<a class="btn btn-link green" href="/app/cloud.php">Deine Dateien</a>
|
||||
</li>
|
||||
');
|
||||
|
||||
if($_SESSION["role"][2]==="1")
|
||||
echo('
|
||||
<li class="nav-item">
|
||||
<a class="btn btn-link green" href="/system0/html/php/login/v3/php/public_cloud.php">Öffentliche Dateien</a>
|
||||
<a class="btn btn-link green" href="/app/public_cloud.php">Öffentliche Dateien</a>
|
||||
</li>
|
||||
');
|
||||
echo('
|
||||
<li class="nav-item">
|
||||
<a class="btn btn-link green" href="/system0/html/php/login/v3/php/bugreport.php">Fehler melden</a>
|
||||
<a class="btn btn-link green" href="/app/bugreport.php">Fehler melden</a>
|
||||
</li>
|
||||
');
|
||||
echo('
|
||||
<li class="nav-item">
|
||||
<a class="btn btn-link green" href="/system0/html/user_files/sys0_autonomous/anleitung.pdf">Anleitung</a>
|
||||
<a class="btn btn-link green" href="/user_files/sys0_autonomous/anleitung.pdf">Anleitung</a>
|
||||
</li>
|
||||
');
|
||||
?>
|
||||
<li class="nav-item">
|
||||
<a class="btn green" role="button" data-bs-toggle="modal" data-bs-target="#account"><i class="fa-solid fa-gear"></i></a>
|
||||
<a href="/system0/html/php/login/v3/logout.php" class="btn me-2 green" role="button"><i class="fa-solid fa-right-from-bracket"></i></a>
|
||||
<a href="/login/logout.php" class="btn me-2 green" role="button"><i class="fa-solid fa-right-from-bracket"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -120,7 +119,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Passwort zurücksetzen</h5>
|
||||
<p class="card-text">Hier kannst du dein Passwort ändern</p>
|
||||
<a href="/system0/html/php/login/v3/reset-password.php" class="stretched-link"></a>
|
||||
<a href="/login/reset-password.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -135,7 +134,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Neuer Admin erstellen</h5>
|
||||
<p class="card-text">Erstellen Sie ein neues Administratorkonto, um Systemeinstellungen und Benutzer zu verwalten.</p>
|
||||
<a href="/system0/html/php/login/v3/php/create_admin.php" class="stretched-link"></a>
|
||||
<a href="/app/create_admin.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -151,7 +150,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Benutzer verwalten</h5>
|
||||
<p class="card-text">Entfernen/bearbeiten Sie ein Benutzerkonto aus dem System.</p>
|
||||
<a href="/system0/html/php/login/v3/php/remove_user.php" class="stretched-link"></a>
|
||||
<a href="/app/remove_user.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -164,7 +163,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Account löschen</h5>
|
||||
<p class="card-text">Konto und alle damit verbundenen Daten dauerhaft löschen.</p>
|
||||
<a href="/system0/html/php/login/v3/delete-account.php" class="stretched-link"></a>
|
||||
<a href="/app/delete-account.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -178,7 +177,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Datenschutzrichtlinie</h5>
|
||||
<p class="card-text">Lesen Sie unsere Datenschutzrichtlinie, um zu erfahren, wie wir mit Ihren Daten umgehen.</p>
|
||||
<a href="/system0/html/php/login/v3/php/privacy-policy.php" class="stretched-link"></a>
|
||||
<a href="/app/privacy-policy.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -192,7 +191,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Disclaimer</h5>
|
||||
<p class="card-text">Lesen Sie unseren Haftungsausschluss für wichtige Informationen zur Nutzung unserer Dienste.</p>
|
||||
<a href="/system0/html/php/login/v3/php/disclaimer.php" class="stretched-link"></a>
|
||||
<a href="/app/disclaimer.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -208,7 +207,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">View system0 Log</h5>
|
||||
<p class="card-text">Zeigen Sie das Protokoll der Systemaktivitäten und -ereignisse an.</p>
|
||||
<a href="/system0/html/php/login/v3/php/view_log.php" class="stretched-link"></a>
|
||||
<a href="/app/view_log.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -223,7 +222,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">View the system0 API Key</h5>
|
||||
<p class="card-text">Zeigen Sie den API-Schlüssel an, der für den Zugriff auf die Systemfunktionalitäten verwendet wird.</p>
|
||||
<a href="/system0/html/php/login/v3/php/view_apikey.php" class="stretched-link"></a>
|
||||
<a href="/app/view_apikey.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -238,7 +237,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Drucker Einstellungen</h5>
|
||||
<p class="card-text">Hier findest du das Debug-Tool und die Einstellungen.</p>
|
||||
<a href="/system0/html/php/login/v3/php/debug.php" class="stretched-link"></a>
|
||||
<a href="/app/debug.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -253,7 +252,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Drucker Reservieren</h5>
|
||||
<p class="card-text">Hier kannst du Drucker Reservieren.</p>
|
||||
<a href="/system0/html/php/login/v3/php/reservations.php" class="stretched-link"></a>
|
||||
<a href="/app/reservations.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -267,7 +266,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Druckschlüssel erstellen</h5>
|
||||
<p class="card-text">Hier kannst du Druckschlüssel erstellen.</p>
|
||||
<a href="/system0/html/php/login/v3/php/create_key.php" class="stretched-link"></a>
|
||||
<a href="/app/create_key.php" class="stretched-link"></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user