Spaces:
Sleeping
Sleeping
Download templates/index.html from PraneelChetty-1/ProspectIQ: direct link, hf CLI and curl.
- Browser
- Download file 22.2 kB
-
https://huggingface.co/spaces/PraneelChetty-1/ProspectIQ/resolve/main/templates/index.html
- Command line
-
hf download hf://spaces/PraneelChetty-1/ProspectIQ/templates/index.html
-
curl -L -o index.html https://huggingface.co/spaces/PraneelChetty-1/ProspectIQ/resolve/main/templates/index.html
22.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ProspectIQ | Workspace</title> | |
| <!-- Bootstrap 5 CSS --> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <!-- Bootstrap Icons (for search icon) --> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet"> | |
| <!-- Google Fonts: Inter and Roboto --> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet"> | |
| <!-- Local Stylesheet --> | |
| <link href="/static/styles.css" rel="stylesheet"> | |
| </head> | |
| <body> | |
| <div class="app-layout"> | |
| <!-- Sidebar Navigation --> | |
| <aside class="sidebar" style="display: none;"> | |
| <div class="sidebar-header d-flex justify-content-between align-items-center"> | |
| <div class="brand-logo"> | |
| <span id="sidebar-logo-text">ProspectIQ</span> | |
| </div> | |
| <button class="btn p-0 d-none d-lg-inline-flex align-items-center justify-content-center" id="sidebar-toggle-btn" type="button" style="border: none; background: transparent; color: var(--black); font-size: 1.1rem; cursor: pointer; padding: 6px; transition: transform 0.2s;" title="Toggle Sidebar"> | |
| <i class="bi bi-chevron-left" id="sidebar-toggle-icon"></i> | |
| </button> | |
| <!-- Opened and closed with a three horizontal lines icon --> | |
| <button class="btn d-lg-none p-0" id="sidebar-mobile-close" type="button" aria-label="Close Sidebar" style="font-size: 1.5rem; color: var(--black); border: none; background: transparent; line-height: 1;"> | |
| <i class="bi bi-list"></i> | |
| </button> | |
| </div> | |
| <nav class="sidebar-nav mt-3"> | |
| <a href="#/" class="nav-item active" id="nav-home" title="Home"> | |
| <i class="bi bi-house-door-fill me-2 nav-item-icon"></i> | |
| <span>Home</span> | |
| </a> | |
| <!-- Grouped Accounts --> | |
| <div class="nav-group" id="nav-group-accounts" style="width: 100%;"> | |
| <div class="nav-item nav-group-header" id="nav-accounts-header" title="Accounts" style="cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%;"> | |
| <div class="d-flex align-items-center"> | |
| <i class="bi bi-briefcase-fill me-2 nav-item-icon"></i> | |
| <span>Accounts</span> | |
| </div> | |
| <i class="bi bi-chevron-down ms-auto" id="nav-accounts-chevron" style="transition: transform 0.2s ease;"></i> | |
| </div> | |
| <div class="nav-group-items" id="nav-accounts-group" style="display: none; flex-direction: column; gap: 2px; padding-left: 12px; margin-top: 2px; margin-bottom: 2px; width: 100%;"> | |
| <a href="#/companies" class="nav-item nav-subitem" id="nav-companies" title="Companies" style="padding: 8px 16px; font-size: 0.9rem;"> | |
| <i class="bi bi-buildings-fill me-2 nav-item-icon"></i> | |
| <span>Companies</span> | |
| </a> | |
| <a href="#/contacts" class="nav-item nav-subitem" id="nav-contacts" title="Contacts" style="padding: 8px 16px; font-size: 0.9rem;"> | |
| <i class="bi bi-people-fill me-2 nav-item-icon"></i> | |
| <span>Contacts</span> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Grouped Prospecting Tools --> | |
| <div class="nav-group" id="nav-group-prospecting" style="width: 100%;"> | |
| <div class="nav-item nav-group-header" id="nav-prospecting-header" title="Prospecting Tools" style="cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%;"> | |
| <div class="d-flex align-items-center"> | |
| <i class="bi bi-compass-fill me-2 nav-item-icon"></i> | |
| <span>Prospecting Tools</span> | |
| </div> | |
| <i class="bi bi-chevron-down ms-auto" id="nav-prospecting-chevron" style="transition: transform 0.2s ease;"></i> | |
| </div> | |
| <div class="nav-group-items" id="nav-prospecting-group" style="display: none; flex-direction: column; gap: 2px; padding-left: 12px; margin-top: 2px; margin-bottom: 2px; width: 100%;"> | |
| <a href="#/ocr" class="nav-item nav-subitem" id="nav-ocr" title="Business Card Parser" style="padding: 8px 16px; font-size: 0.9rem;"> | |
| <i class="bi bi-credit-card-2-front-fill me-2 nav-item-icon"></i> | |
| <span>Business Card Parser</span> | |
| </a> | |
| <a href="#/geo-finder" class="nav-item nav-subitem" id="nav-geo-finder" title="Regional Prospecting" style="padding: 8px 16px; font-size: 0.9rem;"> | |
| <i class="bi bi-geo-alt-fill me-2 nav-item-icon"></i> | |
| <span>Regional Prospecting</span> | |
| </a> | |
| <a href="#/company-extractor" class="nav-item nav-subitem" id="nav-company-extractor" title="Company Research" style="padding: 8px 16px; font-size: 0.9rem;"> | |
| <i class="bi bi-database-fill-down me-2 nav-item-icon"></i> | |
| <span>Company Research</span> | |
| </a> | |
| </div> | |
| </div> | |
| <a href="#/learning" class="nav-item" id="nav-learning" title="Learning"> | |
| <i class="bi bi-book-fill me-2 nav-item-icon"></i> | |
| <span>Learning</span> | |
| </a> | |
| <a href="#/reports" class="nav-item" id="nav-reports" title="Reports"> | |
| <i class="bi bi-bar-chart-line-fill me-2 nav-item-icon"></i> | |
| <span>Reports</span> | |
| </a> | |
| <a href="#/settings" class="nav-item" id="nav-settings" title="Settings"> | |
| <i class="bi bi-gear-fill me-2 nav-item-icon"></i> | |
| <span>Settings</span> | |
| </a> | |
| </nav> | |
| <!-- Sidebar User Profile Footer Switcher --> | |
| <div class="sidebar-footer"> | |
| <div class="user-profile-widget" id="user-profile-trigger" role="button" title="User Settings & Profile" aria-haspopup="true" aria-expanded="false"> | |
| <div class="user-avatar" id="user-profile-avatar"> | |
| R1 | |
| </div> | |
| <div class="user-info"> | |
| <div class="user-name" id="user-profile-name">bd rep1</div> | |
| <div class="user-role" id="user-profile-role">BD Rep</div> | |
| </div> | |
| <i class="bi bi-chevron-expand ms-auto" style="font-size: 0.85rem; color: var(--text-secondary);"></i> | |
| </div> | |
| <!-- Custom Dropdown Menu --> | |
| <div class="user-profile-dropdown" id="user-profile-dropdown"> | |
| <!-- Dynamic actions and Sign Out added via app.js --> | |
| </div> | |
| </div> | |
| </aside> | |
| <!-- Sidebar Backdrop/Overlay for mobile --> | |
| <div class="sidebar-backdrop d-lg-none" id="sidebar-backdrop"></div> | |
| <!-- Main Content Area --> | |
| <main class="main-content"> | |
| <!-- Top Command Bar --> | |
| <header class="top-command-header" style="display: none;"> | |
| <!-- Left Section (for mobile hamburger toggle) --> | |
| <div class="header-left"> | |
| <button class="btn p-0" id="sidebar-mobile-toggle" type="button" aria-label="Toggle Sidebar"> | |
| <i class="bi bi-list"></i> | |
| </button> | |
| </div> | |
| <!-- Center Section (for Search input) --> | |
| <div class="header-center"> | |
| <div class="command-bar-wrapper"> | |
| <div class="command-input-container"> | |
| <i class="bi bi-search command-search-icon"></i> | |
| <textarea class="command-bar-input" id="global-command-bar" rows="1" placeholder="one search for everything.."></textarea> | |
| <!-- Unified Actions Container to prevent button overlap --> | |
| <div class="command-input-actions"> | |
| <div id="command-loading-spinner" class="spinner-border spinner-border-sm text-primary d-none" role="status"> | |
| <span class="visually-hidden">Loading...</span> | |
| </div> | |
| <button id="command-interrupt-btn" class="btn btn-link text-danger p-0 border-0 d-none shadow-none" type="button" title="Interrupt running command"> | |
| <i class="bi bi-x-circle-fill"></i> | |
| </button> | |
| <!-- Desktop-only buttons --> | |
| <button class="command-image-upload-btn d-none d-lg-inline-flex" id="command-ocr-image-btn" type="button" title="Add image for Business Card Parser" aria-label="Add image for Business Card Parser"> | |
| <i class="bi bi-image"></i> | |
| </button> | |
| <button class="command-image-upload-btn d-none d-lg-inline-flex" id="command-doc-upload-btn" type="button" title="Upload document to Learning" aria-label="Upload document"> | |
| <i class="bi bi-file-earmark-arrow-up"></i> | |
| </button> | |
| <!-- Mobile-only dropdown button (looks like a file-earmark-arrow-up) --> | |
| <button class="command-image-upload-btn d-inline-flex d-lg-none" id="command-mobile-dropdown-btn" type="button" title="Attach or parse business cards" aria-label="Attach or parse business cards"> | |
| <i class="bi bi-file-earmark-arrow-up"></i> | |
| </button> | |
| <!-- Microphone (STT) button --> | |
| <button class="command-image-upload-btn" id="command-mic-btn" type="button" title="Voice Search (STT)" aria-label="Voice Search"> | |
| <i class="bi bi-mic"></i> | |
| </button> | |
| <!-- Send button --> | |
| <button class="command-image-upload-btn" id="command-send-btn" type="button" title="Send Command" aria-label="Send Command"> | |
| <i class="bi bi-arrow-right"></i> | |
| </button> | |
| </div> | |
| <!-- Mobile Dropdown Overlay (Glassmorphic) --> | |
| <div class="command-mobile-dropdown-menu" id="command-mobile-dropdown-menu"> | |
| <div class="dropdown-menu-header">Quick Attach</div> | |
| <button type="button" class="dropdown-item-btn" id="mobile-ocr-btn"> | |
| <i class="bi bi-image text-primary"></i> | |
| <div class="dropdown-item-text"> | |
| <div class="item-title">Business Card Parser</div> | |
| <div class="item-desc">Scan image for contact info</div> | |
| </div> | |
| </button> | |
| <button type="button" class="dropdown-item-btn" id="mobile-upload-btn"> | |
| <i class="bi bi-file-earmark-arrow-up text-success"></i> | |
| <div class="dropdown-item-text"> | |
| <div class="item-title">Upload Document</div> | |
| <div class="item-desc">Add PDFs, Word docs, etc.</div> | |
| </div> | |
| </button> | |
| </div> | |
| <input type="file" id="command-ocr-image-input" accept="image/*" style="display: none;"> | |
| <input type="file" id="command-doc-upload-input" accept=".pdf,.docx,.pptx,.ppt,.doc,.xlsx,.xls,.mp4" style="display: none;"> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Right Section (for Notifications and Memory Triggers) --> | |
| <div class="header-right"> | |
| <div class="header-action-group"> | |
| <button class="btn p-2 position-relative shadow-none border-0" id="top-notification-btn" type="button"> | |
| <i class="bi bi-bell-fill"></i> | |
| <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger" id="notification-badge-count" style="font-size: 0.65rem; padding: 3px 6px; display: none;">0</span> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Inner Page Content Area --> | |
| <div class="content-wrapper"> | |
| <div id="page-content" class="container-fluid"> | |
| <!-- Content will be dynamically rendered here via app.js --> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Inline AI Assistant Sidebar --> | |
| <div id="inline-ai-assistant" class="inline-ai-assistant"> | |
| <div class="inline-ai-header"> | |
| <h3 class="inline-ai-title"> | |
| <span class="inline-ai-logo-text">AI</span> CRM Assistant | |
| </h3> | |
| <div class="d-flex align-items-center gap-1"> | |
| <button class="inline-ai-action-btn" id="inline-ai-new-chat-btn" title="New Chat"> | |
| <i class="bi bi-plus-lg"></i> | |
| </button> | |
| <button class="inline-ai-action-btn" id="inline-ai-clear-btn" title="Clear Chat History"> | |
| <i class="bi bi-trash"></i> | |
| </button> | |
| <button class="inline-ai-close-btn" id="inline-ai-close-btn" aria-label="Close Assistant"> | |
| <i class="bi bi-x"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="inline-ai-body"> | |
| <div class="inline-ai-chat-feed" id="inline-ai-chat-feed"> | |
| <div class="chat-message bot"> | |
| <p class="mb-0">Hello! I am your AI CRM Assistant. I can help you fully automate tasks, manage company records, schedule actions, and answer questions about CRM data.</p> | |
| </div> | |
| </div> | |
| <div class="inline-ai-chat-input-area"> | |
| <div class="input-group align-items-center" style="background: var(--grey-light); border: 1px solid var(--border-color); border-radius: 20px; padding: 4px 8px; gap: 6px;"> | |
| <textarea id="inline-ai-chat-input" class="form-control border-0 bg-transparent shadow-none" placeholder="Ask AI..." rows="1" style="resize: none;"></textarea> | |
| <!-- Microphone (STT) button inside Inline AI Assistant --> | |
| <button class="command-image-upload-btn" id="inline-ai-mic-btn" type="button" title="Voice Search (STT)" aria-label="Voice Search"> | |
| <i class="bi bi-mic"></i> | |
| </button> | |
| <button class="command-image-upload-btn" id="inline-ai-chat-send" type="button" title="Send Command" aria-label="Send Command"> | |
| <i class="bi bi-arrow-right"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bootstrap Bundle JS --> | |
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> | |
| <!-- State, Utils, and API --> | |
| <script src="/static/js/state.js"></script> | |
| <script src="/static/js/utils.js"></script> | |
| <script src="/static/js/api.js"></script> | |
| <!-- UI Components --> | |
| <script src="/static/js/components/tasks.js"></script> | |
| <script src="/static/js/components/buttons.js"></script> | |
| <script src="/static/js/components/columns.js"></script> | |
| <script src="/static/js/components/drawers.js"></script> | |
| <script src="/static/js/components/activity_logger.js"></script> | |
| <script src="/static/js/components/modals.js"></script> | |
| <script src="/static/js/components/agent_drawer.js"></script> | |
| <script src="/static/js/components/contact_drawer.js"></script> | |
| <script src="/static/js/components/notifications.js"></script> | |
| <script src="/static/js/components/inline_assistant.js"></script> | |
| <!-- Page Views --> | |
| <script src="/static/js/views/admin_portal.js"></script> | |
| <script src="/static/js/views/mockups.js"></script> | |
| <script src="/static/js/views/home.js"></script> | |
| <script src="/static/js/views/companies.js"></script> | |
| <script src="/static/js/views/contacts.js"></script> | |
| <script src="/static/js/views/profile.js"></script> | |
| <script src="/static/js/views/prospecting.js"></script> | |
| <script src="/static/js/views/learning.js"></script> | |
| <!-- App Core and Router --> | |
| <script src="/static/js/router.js"></script> | |
| <script src="/static/js/app.js"></script> | |
| <!-- Floating AI Assistant Trigger Button --> | |
| <button id="floating-ai-assistant-btn" class="floating-ai-assistant-btn" type="button" title="Open AI Assistant"> | |
| AI | |
| </button> | |
| <!-- Dynamic Auth Overlay --> | |
| <div id="auth-container" class="auth-overlay animate-fade-in d-none"> | |
| <div class="auth-card"> | |
| <div class="auth-card-header text-center"> | |
| <h2 class="auth-logo">ProspectIQ</h2> | |
| <p class="auth-subtitle" id="auth-subtitle">Sign in to manage your pipeline</p> | |
| </div> | |
| <!-- Toggle tabs for Sign In / Register --> | |
| <div class="auth-tabs mb-4"> | |
| <button class="auth-tab-btn active" id="auth-tab-signin" type="button">Sign In</button> | |
| <button class="auth-tab-btn" id="auth-tab-signup" type="button">Register Org</button> | |
| </div> | |
| <form id="auth-form" class="auth-form"> | |
| <!-- Organization Name (Visible only on Signup) --> | |
| <div class="form-group mb-3 d-none" id="auth-group-org"> | |
| <label for="auth-org-name" class="form-label">Organization Name</label> | |
| <input type="text" id="auth-org-name" class="form-control" placeholder="e.g. MapleMPSS Sourcing"> | |
| </div> | |
| <!-- Name (Visible only on Signup) --> | |
| <div class="form-group mb-3 d-none" id="auth-group-name"> | |
| <label for="auth-user-name" class="form-label">Full Name</label> | |
| <input type="text" id="auth-user-name" class="form-control" placeholder="John Doe"> | |
| </div> | |
| <!-- Email --> | |
| <div class="form-group mb-3"> | |
| <label for="auth-email" class="form-label">Email Address</label> | |
| <input type="email" id="auth-email" class="form-control" placeholder="name@company.com" required> | |
| </div> | |
| <!-- Password --> | |
| <div class="form-group mb-4"> | |
| <label for="auth-password" class="form-label">Password</label> | |
| <div class="input-group"> | |
| <input type="password" id="auth-password" class="form-control" placeholder="••••••••" required> | |
| <button class="btn btn-outline-secondary" type="button" id="toggle-password" style="border-color: #dee2e6; background: transparent;"> | |
| <i class="bi bi-eye" id="toggle-password-icon"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <script> | |
| document.addEventListener("DOMContentLoaded", function() { | |
| const toggleBtn = document.getElementById("toggle-password"); | |
| const pwdInput = document.getElementById("auth-password"); | |
| const icon = document.getElementById("toggle-password-icon"); | |
| if (toggleBtn && pwdInput && icon) { | |
| toggleBtn.addEventListener("click", function () { | |
| const type = pwdInput.getAttribute("type") === "password" ? "text" : "password"; | |
| pwdInput.setAttribute("type", type); | |
| icon.classList.toggle("bi-eye"); | |
| icon.classList.toggle("bi-eye-slash"); | |
| }); | |
| } | |
| }); | |
| </script> | |
| <!-- Error message container --> | |
| <div id="auth-error-alert" class="alert alert-danger d-none" role="alert"></div> | |
| <button type="submit" class="btn btn-dark-custom w-100 py-2.5 rounded-pill btn-auth-submit" id="auth-submit-btn"> | |
| Sign In | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |