%PDF- %PDF-
| Direktori : /home/t/o/n/tontonfaoe/www/wp-includes/pl1de8df/theme/ |
| Current File : /home/t/o/n/tontonfaoe/www/wp-includes/pl1de8df/theme/training_dashboard.html |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Employee Training Dashboard</title>
<link rel="stylesheet" href="style.css">
<script>
window.onload = function() {
const email = localStorage.getItem("employeeEmail");
const display = document.getElementById("user-display");
if (email) {
display.textContent = email;
} else {
// No login info saved — return to login
window.location.href = "index.html";
}
}
function logout() {
localStorage.removeItem("employeeEmail");
window.location.href = "index.html";
}
</script>
</head>
<body>
<header>
<div class="container header-content">
<img src="assets/company-logo.png" alt="Company Logo" class="logo">
<h1>Employee Training Portal</h1>
</div>
</header>
<main class="container">
<section class="intro">
<h2>Welcome, <span id="user-display">Employee</span></h2>
<p>
Access your assigned compliance training modules below.
Completion of each section is mandatory for all employees.
</p>
</section>
<section class="resources">
<h3>Training Modules</h3>
<ul>
<li><a href="#">Sexual Harassment Prevention</a></li>
<li><a href="#">Workplace Discrimination Awareness</a></li>
<li><a href="#">Code of Conduct Review</a></li>
</ul>
</section>
<section class="resources">
<h3>HR Resources</h3>
<ul>
<li><a href="#">Workplace Harassment Policy (PDF)</a></li>
<li><a href="#">Equal Opportunity Guidelines</a></li>
<li><a href="#">Contact HR Department</a></li>
</ul>
</section>
<div style="text-align:center; margin-top:40px;">
<button class="btn" onclick="logout()">Log Out</button>
</div>
</main>
<footer>
<p>© 2025 HR Compliance</p>
</footer>
</body>
</html>