OpenSTR/app/templates/admin/dashboard.html

29 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
{% include 'base.html' %}
<div class="container">
<h1>Admin Dashboard</h1>
<div class="admin-controls">
<h2>Manage Repair Bays</h2>
<button onclick="location.href='{{ url_for('admin.create_repair_bay') }}'">Create Repair Bay</button>
<button onclick="location.href='{{ url_for('admin.remove_repair_bay') }}'">Remove Repair Bay</button>
</div>
<div class="user-management">
<h2>User Management</h2>
<button onclick="location.href='{{ url_for('admin.create_user') }}'">Create User</button>
<button onclick="location.href='{{ url_for('admin.remove_user') }}'">Remove User</button>
</div>
<div class="reports">
<h2>Reports</h2>
<button onclick="location.href='{{ url_for('admin.view_reports') }}'">View Reports</button>
</div>
</div>
</body>
</html>