Added actix-files and its dependencies (http-range, mime_guess, unicase, v_htmlescape) to enable static file functionality in the botserver. This will allow serving static assets and files through the web server. The change includes all required transitive dependencies for proper file handling and MIME type detection.
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>General Bots Desktop</title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
<link rel="stylesheet" href="css/app.css" />
|
|
<script defer src="js/alpine.js"></script>
|
|
</head>
|
|
<body>
|
|
<nav x-data="{ current: 'drive' }">
|
|
<div class="logo">⚡ General Bots</div>
|
|
<a href="#drive" @click.prevent="current = 'drive'; window.switchSection('drive')"
|
|
:class="{ active: current === 'drive' }">📁 Drive</a>
|
|
<a href="#tasks" @click.prevent="current = 'tasks'; window.switchSection('tasks')"
|
|
:class="{ active: current === 'tasks' }">✓ Tasks</a>
|
|
<a href="#mail" @click.prevent="current = 'mail'; window.switchSection('mail')"
|
|
:class="{ active: current === 'mail' }">✉ Mail</a>
|
|
</nav>
|
|
|
|
<div id="main-content">
|
|
<!-- Sections will be loaded dynamically -->
|
|
</div>
|
|
|
|
<!-- Load Module Scripts -->
|
|
<script src="js/layout.js"></script>
|
|
<script src="drive/drive.js"></script>
|
|
<script src="tasks/tasks.js"></script>
|
|
<script src="mail/mail.js"></script>
|
|
</body>
|
|
</html>
|