Spaces:
Runtime error
Runtime error
Download views/filemanager.html from Rajorganization/Bot-panel: direct link, hf CLI and curl.
- Browser
- Download file 2.75 kB
-
https://huggingface.co/spaces/Rajorganization/Bot-panel/resolve/main/views/filemanager.html
- Command line
-
hf download hf://spaces/Rajorganization/Bot-panel/views/filemanager.html
-
curl -L -o filemanager.html https://huggingface.co/spaces/Rajorganization/Bot-panel/resolve/main/views/filemanager.html
2.75 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>File Manager - Bot Hosting Panel</title> | |
| <link rel="stylesheet" href="/css/style.css"> | |
| </head> | |
| <body> | |
| <div class="app-container"> | |
| <aside class="sidebar"> | |
| <div class="sidebar-header"> | |
| <h2>Bot Panel</h2> | |
| </div> | |
| <nav class="sidebar-nav"> | |
| <a href="/" class="nav-item"> | |
| <svg viewBox="0 0 24 24"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/></svg> | |
| <span>Dashboard</span> | |
| </a> | |
| <a href="/filemanager" class="nav-item active"> | |
| <svg viewBox="0 0 24 24"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"/></svg> | |
| <span>File Manager</span> | |
| </a> | |
| <a href="#" class="nav-item" onclick="logout()"> | |
| <svg viewBox="0 0 24 24"><path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"/></svg> | |
| <span>Logout</span> | |
| </a> | |
| </nav> | |
| </aside> | |
| <main class="main-content"> | |
| <header class="top-bar"> | |
| <h1>File Manager</h1> | |
| </header> | |
| <div class="file-manager-container"> | |
| <div class="file-manager-sidebar"> | |
| <h3>Bots</h3> | |
| <ul id="botList" class="bot-file-list"> | |
| <li>Loading bots...</li> | |
| </ul> | |
| </div> | |
| <div class="file-manager-main"> | |
| <div class="file-toolbar"> | |
| <div class="breadcrumb" id="breadcrumb"> | |
| <span>/</span> | |
| </div> | |
| <div class="file-actions"> | |
| <button class="btn btn-small" onclick="createDirectory()">New Folder</button> | |
| <button class="btn btn-small btn-primary" onclick="uploadFile()">Upload File</button> | |
| </div> | |
| </div> | |
| <div id="fileList" class="file-list"> | |
| <p>Select a bot to view files</p> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| <!-- Hidden file upload input --> | |
| <input type="file" id="fileUploadInput" style="display:none" multiple> | |
| <script src="/socket.io/socket.io.js"></script> | |
| <script src="/js/app.js"></script> | |
| </body> | |
| </html> |