Spaces:
Running
Running
create a project management that features centralize work with flexible views (List, Board, Calendar, Timeline), robust task management (dependencies, custom fields, subtasks), powerful automation (rules, workflows), team collaboration tools (Inbox, comments, status updates), and advanced reporting (dashboards, portfolios) to provide visibility, accountability, and streamline projects from start to finish.
ea012db verified Download automation.html from jcondes0829/workflowwizard-pro: direct link, hf CLI and curl.
- Browser
- Download file 8.46 kB
-
https://huggingface.co/spaces/jcondes0829/workflowwizard-pro/resolve/main/automation.html
- Command line
-
hf download hf://spaces/jcondes0829/workflowwizard-pro/automation.html
-
curl -L -o automation.html https://huggingface.co/spaces/jcondes0829/workflowwizard-pro/resolve/main/automation.html
8.46 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>WorkflowWizard Pro - Automation</title> | |
| <link rel="icon" type="image/x-icon" href="favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#fef2f2', | |
| 100: '#fee2e2', | |
| 200: '#fecaca', | |
| 300: '#fca5a5', | |
| 400: '#f87171', | |
| 500: '#ef4444', | |
| 600: '#dc2626', | |
| 700: '#b91c1c', | |
| 800: '#991b1b', | |
| 900: '#7f1d1d', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/sidebar.js"></script> | |
| <script src="components/automation-rule.js"></script> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <custom-navbar></custom-navbar> | |
| <div class="flex"> | |
| <custom-sidebar active-page="automation"></custom-sidebar> | |
| <main class="flex-1 p-6 md:p-8 ml-0 md:ml-64 mt-16"> | |
| <!-- Automation Header --> | |
| <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8"> | |
| <div> | |
| <h1 class="text-3xl font-bold text-gray-900">Workflow Automation 🚀</h1> | |
| <p class="text-gray-600 mt-2">Create rules to automate repetitive tasks and workflows</p> | |
| </div> | |
| <button class="mt-4 md:mt-0 bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg flex items-center gap-2 transition-colors duration-200 shadow-sm" onclick="openCreateRuleModal()"> | |
| <i data-feather="plus"></i> | |
| Create Rule | |
| </button> | |
| </div> | |
| <!-- Rules Overview --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8"> | |
| <custom-automation-rule | |
| name="Auto-assign urgent tasks" | |
| trigger="priority_changed" | |
| condition="priority = 'high'" | |
| action="assign_to_team_lead" | |
| status="active"> | |
| </custom-automation-rule> | |
| <custom-automation-rule | |
| name="Notify overdue tasks" | |
| trigger="due_date_passed" | |
| condition="completed = false" | |
| action="send_notification" | |
| status="active"> | |
| </custom-automation-rule> | |
| <custom-automation-rule | |
| name="Complete parent on subtask completion" | |
| trigger="subtask_completed" | |
| condition="all_subtasks_completed = true" | |
| action="complete_parent_task" | |
| status="draft"> | |
| </custom-automation-rule> | |
| </div> | |
| <!-- Templates Section --> | |
| <div class="bg-white rounded-xl shadow-sm border border-gray-100 p-6"> | |
| <h2 class="text-xl font-semibold text-gray-900 mb-6">Rule Templates</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div class="border-2 border-dashed border-gray-200 rounded-lg p-4 text-center cursor-pointer hover:bg-gray-50" onclick="openCreateRuleModal()"> | |
| <i data-feather="plus" class="w-8 h-8 text-gray-400 mx-auto"></i> | |
| <p class="text-sm text-gray-600 mt-2">Create Custom Rule</p> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 cursor-pointer hover:bg-gray-50" onclick="applyTemplate('due_date_reminder')"> | |
| <i data-feather="calendar" class="w-8 h-8 text-blue-600 mx-auto"></i> | |
| <p class="text-sm font-medium text-gray-900 mt-2">Due Date Reminder</p> | |
| <p class="text-xs text-gray-500 mt-1">Send reminder before due date</p> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 cursor-pointer hover:bg-gray-50" onclick="applyTemplate('status_update')"> | |
| <i data-feather="refresh-cw" class="w-8 h-8 text-green-600 mx-auto"></i> | |
| <p class="text-sm font-medium text-gray-900 mt-2">Status Update</p> | |
| <p class="text-xs text-gray-500 mt-1">Auto-update when conditions met</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| <!-- Create Rule Modal --> | |
| <div id="create-rule-modal" class="modal hidden"> | |
| <div class="modal-overlay"></div> | |
| <div class="modal-content"> | |
| <div class="modal-header"> | |
| <h3 class="modal-title">Create Automation Rule</h3> | |
| <button class="modal-close" onclick="closeCreateRuleModal()"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </div> | |
| <div class="modal-body"> | |
| <form id="rule-form"> | |
| <div class="form-group"> | |
| <label for="rule-name">Rule Name</label> | |
| <input type="text" id="rule-name" placeholder="Enter rule name"> | |
| </div> | |
| <div class="form-group"> | |
| <label for="trigger">Trigger</label> | |
| <select id="trigger"> | |
| <option value="task_created">Task Created</option> | |
| <option value="task_completed">Task Completed</option> | |
| <option value="due_date_changed">Due Date Changed</option> | |
| <option value="status_changed">Status Changed</option> | |
| </select> | |
| </div> | |
| <div class="form-group"> | |
| <label for="condition">Condition</label> | |
| <textarea id="condition" placeholder="Enter condition (e.g., priority = 'high')"></textarea> | |
| </div> | |
| <div class="form-group"> | |
| <label for="action">Action</label> | |
| <select id="action"> | |
| <option value="assign_task">Assign Task</option> | |
| <option value="send_notification">Send Notification</option> | |
| <option value="update_status">Update Status</option> | |
| </select> | |
| </div> | |
| </form> | |
| </div> | |
| <div class="modal-footer"> | |
| <button class="btn-secondary" onclick="closeCreateRuleModal()">Cancel</button> | |
| <button class="btn-primary" onclick="saveRule()">Create Rule</button> | |
| </div> | |
| </div> | |
| </div> | |
| <script src="script.js"></script> | |
| <script src="components/automation-rule.js"></script> | |
| <script> | |
| feather.replace(); | |
| function openCreateRuleModal() { | |
| document.getElementById('create-rule-modal').classList.remove('hidden'); | |
| } | |
| function closeCreateRuleModal() { | |
| document.getElementById('create-rule-modal').classList.add('hidden'); | |
| } | |
| function saveRule() { | |
| const form = document.getElementById('rule-form'); | |
| const formData = new FormData(form); | |
| console.log('Saving rule:', Object.fromEntries(formData)); | |
| closeCreateRuleModal(); | |
| } | |
| function applyTemplate(templateName) { | |
| console.log('Applying template:', templateName); | |
| openCreateRuleModal(); | |
| } | |
| </script> | |
| </body> | |
| </html> |