Bibinbasil commited on
Commit
da3492f
Β·
verified Β·
1 Parent(s): ca4a731

Add a report in menu to take all kind of reports , based on project wise or url wise

Browse files
Files changed (1) hide show
  1. index.html +204 -9
index.html CHANGED
@@ -1458,6 +1458,70 @@
1458
  }
1459
  }
1460
  </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1461
  </head>
1462
  <body data-theme="light">
1463
  <div class="dashboard-container">
@@ -1475,7 +1539,6 @@
1475
  <span class="logo-text">SEO Command Center</span>
1476
  </a>
1477
  </div>
1478
-
1479
  <div class="nav-section">
1480
  <div class="nav-title">Projects</div>
1481
  <a href="#" class="nav-item active" data-phase="overview">
@@ -1486,9 +1549,12 @@
1486
  <span class="nav-icon">πŸ“…</span>
1487
  <span class="nav-text">Content Calendar</span>
1488
  </a>
 
 
 
 
1489
  </div>
1490
-
1491
- <div class="nav-section">
1492
  <div class="nav-title">Organization</div>
1493
  <a href="#" class="nav-item" data-phase="team">
1494
  <span class="nav-icon">πŸ‘₯</span>
@@ -2422,10 +2488,129 @@
2422
  </div>
2423
  </div>
2424
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2425
 
2426
  <!-- Settings Section -->
2427
  <div class="phase-content" id="settings">
2428
- <div class="dashboard-grid">
2429
  <div class="card grid-span-12">
2430
  <div class="card-header">
2431
  <h2 class="card-title">Account Settings</h2>
@@ -2873,13 +3058,23 @@
2873
  }
2874
  });
2875
  });
 
 
 
 
 
 
 
 
 
 
2876
 
2877
- // Navigation for other sections
2878
- const navItems = document.querySelectorAll('.nav-item[data-phase]');
2879
- const phaseContents = document.querySelectorAll('.phase-content');
2880
 
2881
- function showPhase(phaseId) {
2882
- // Hide all phase contents
2883
  phaseContents.forEach(content => {
2884
  content.classList.remove('active');
2885
  });
 
1458
  }
1459
  }
1460
  </style>
1461
+ <style>
1462
+ .report-types {
1463
+ padding: 20px;
1464
+ }
1465
+
1466
+ .report-options {
1467
+ display: grid;
1468
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
1469
+ gap: 20px;
1470
+ margin: 20px 0 40px;
1471
+ }
1472
+
1473
+ .report-card {
1474
+ background: var(--surface);
1475
+ border-radius: 12px;
1476
+ padding: 20px;
1477
+ transition: all 0.2s ease;
1478
+ }
1479
+
1480
+ .report-card:hover {
1481
+ transform: translateY(-2px);
1482
+ box-shadow: 0 8px 25px rgba(0,0,0,0.1);
1483
+ }
1484
+
1485
+ .report-icon {
1486
+ font-size: 24px;
1487
+ margin-bottom: 10px;
1488
+ }
1489
+
1490
+ .report-name {
1491
+ font-weight: 600;
1492
+ margin-bottom: 8px;
1493
+ }
1494
+
1495
+ .report-description {
1496
+ color: var(--muted);
1497
+ font-size: 14px;
1498
+ margin-bottom: 15px;
1499
+ }
1500
+
1501
+ .report-select, .report-input {
1502
+ width: 100%;
1503
+ padding: 12px 16px;
1504
+ border: 1px solid var(--border);
1505
+ border-radius: 8px;
1506
+ background: var(--card);
1507
+ color: var(--text);
1508
+ font-size: 15px;
1509
+ margin-bottom: 15px;
1510
+ }
1511
+
1512
+ .custom-report-form {
1513
+ background: var(--surface);
1514
+ border-radius: 12px;
1515
+ padding: 20px;
1516
+ margin-top: 20px;
1517
+ }
1518
+
1519
+ @media (max-width: 768px) {
1520
+ .report-options {
1521
+ grid-template-columns: 1fr;
1522
+ }
1523
+ }
1524
+ </style>
1525
  </head>
1526
  <body data-theme="light">
1527
  <div class="dashboard-container">
 
1539
  <span class="logo-text">SEO Command Center</span>
1540
  </a>
1541
  </div>
 
1542
  <div class="nav-section">
1543
  <div class="nav-title">Projects</div>
1544
  <a href="#" class="nav-item active" data-phase="overview">
 
1549
  <span class="nav-icon">πŸ“…</span>
1550
  <span class="nav-text">Content Calendar</span>
1551
  </a>
1552
+ <a href="#" class="nav-item" data-phase="reports">
1553
+ <span class="nav-icon">πŸ“ˆ</span>
1554
+ <span class="nav-text">Reports</span>
1555
+ </a>
1556
  </div>
1557
+ <div class="nav-section">
 
1558
  <div class="nav-title">Organization</div>
1559
  <a href="#" class="nav-item" data-phase="team">
1560
  <span class="nav-icon">πŸ‘₯</span>
 
2488
  </div>
2489
  </div>
2490
  </div>
2491
+ <!-- Reports Section -->
2492
+ <div class="phase-content" id="reports">
2493
+ <div class="dashboard-grid">
2494
+ <div class="card grid-span-12">
2495
+ <div class="card-header">
2496
+ <h2 class="card-title">Generate Reports</h2>
2497
+ </div>
2498
+
2499
+ <div class="report-types">
2500
+ <h3 class="settings-title">Project Reports</h3>
2501
+ <div class="report-options">
2502
+ <div class="report-card">
2503
+ <div class="report-icon">πŸ“Š</div>
2504
+ <div class="report-name">Performance Overview</div>
2505
+ <div class="report-description">Traffic, rankings, and conversions for selected projects</div>
2506
+ <select class="report-select">
2507
+ <option>All Projects</option>
2508
+ <option>TechSEO Guide 2024</option>
2509
+ <option>E-commerce SEO</option>
2510
+ <option>SaaS Platform</option>
2511
+ </select>
2512
+ <button class="btn btn-primary">Generate</button>
2513
+ </div>
2514
+
2515
+ <div class="report-card">
2516
+ <div class="report-icon">πŸ“ˆ</div>
2517
+ <div class="report-name">Keyword Ranking</div>
2518
+ <div class="report-description">Keyword positions and movements over time</div>
2519
+ <select class="report-select">
2520
+ <option>All Projects</option>
2521
+ <option>TechSEO Guide 2024</option>
2522
+ <option>E-commerce SEO</option>
2523
+ <option>SaaS Platform</option>
2524
+ </select>
2525
+ <button class="btn btn-primary">Generate</button>
2526
+ </div>
2527
+
2528
+ <div class="report-card">
2529
+ <div class="report-icon">πŸ”—</div>
2530
+ <div class="report-name">Backlink Analysis</div>
2531
+ <div class="report-description">Incoming links, anchors, and referring domains</div>
2532
+ <select class="report-select">
2533
+ <option>All Projects</option>
2534
+ <option>TechSEO Guide 2024</option>
2535
+ <option>E-commerce SEO</option>
2536
+ <option>SaaS Platform</option>
2537
+ </select>
2538
+ <button class="btn btn-primary">Generate</button>
2539
+ </div>
2540
+ </div>
2541
+
2542
+ <h3 class="settings-title">URL Reports</h3>
2543
+ <div class="report-options">
2544
+ <div class="report-card">
2545
+ <div class="report-icon">πŸ“„</div>
2546
+ <div class="report-name">URL Performance</div>
2547
+ <div class="report-description">Detailed metrics for specific URLs</div>
2548
+ <input type="text" class="report-input" placeholder="Enter URL path">
2549
+ <button class="btn btn-primary">Generate</button>
2550
+ </div>
2551
+
2552
+ <div class="report-card">
2553
+ <div class="report-icon">πŸ”</div>
2554
+ <div class="report-name">Technical Audit</div>
2555
+ <div class="report-description">Crawlability, indexation, and technical health</div>
2556
+ <input type="text" class="report-input" placeholder="Enter URL path">
2557
+ <button class="btn btn-primary">Generate</button>
2558
+ </div>
2559
+
2560
+ <div class="report-card">
2561
+ <div class="report-icon">πŸ“</div>
2562
+ <div class="report-name">Content Analysis</div>
2563
+ <div class="report-description">Quality, relevance, and optimization level</div>
2564
+ <input type="text" class="report-input" placeholder="Enter URL path">
2565
+ <button class="btn btn-primary">Generate</button>
2566
+ </div>
2567
+ </div>
2568
+
2569
+ <h3 class="settings-title">Custom Reports</h3>
2570
+ <div class="custom-report-form">
2571
+ <div class="setting-group">
2572
+ <label class="setting-label">Report Name</label>
2573
+ <input type="text" class="setting-input">
2574
+ </div>
2575
+ <div class="setting-group">
2576
+ <label class="setting-label">Report Type</label>
2577
+ <select class="setting-select">
2578
+ <option>Project Performance</option>
2579
+ <option>URL Performance</option>
2580
+ <option>Keyword Analysis</option>
2581
+ <option>Backlink Profile</option>
2582
+ <option>Technical SEO</option>
2583
+ </select>
2584
+ </div>
2585
+ <div class="setting-group">
2586
+ <label class="setting-label">Time Period</label>
2587
+ <select class="setting-select">
2588
+ <option>Last 7 days</option>
2589
+ <option>Last 30 days</option>
2590
+ <option>Last 90 days</option>
2591
+ <option>Last 6 months</option>
2592
+ <option>Custom range</option>
2593
+ </select>
2594
+ </div>
2595
+ <div class="setting-group">
2596
+ <label class="setting-label">Format</label>
2597
+ <select class="setting-select">
2598
+ <option>PDF</option>
2599
+ <option>CSV</option>
2600
+ <option>Excel</option>
2601
+ <option>Google Sheets</option>
2602
+ </select>
2603
+ </div>
2604
+ <button class="btn btn-primary">Create Report</button>
2605
+ </div>
2606
+ </div>
2607
+ </div>
2608
+ </div>
2609
+ </div>
2610
 
2611
  <!-- Settings Section -->
2612
  <div class="phase-content" id="settings">
2613
+ <div class="dashboard-grid">
2614
  <div class="card grid-span-12">
2615
  <div class="card-header">
2616
  <h2 class="card-title">Account Settings</h2>
 
3058
  }
3059
  });
3060
  });
3061
+ // Report generation functionality
3062
+ const reportGenerateBtns = document.querySelectorAll('.report-card .btn-primary');
3063
+ reportGenerateBtns.forEach(btn => {
3064
+ btn.addEventListener('click', function() {
3065
+ const card = this.closest('.report-card');
3066
+ const reportName = card.querySelector('.report-name').textContent;
3067
+ alert(`Generating ${reportName} report...`);
3068
+ // In a real app, this would make an API call to generate the report
3069
+ });
3070
+ });
3071
 
3072
+ // Navigation for other sections
3073
+ const navItems = document.querySelectorAll('.nav-item[data-phase]');
3074
+ const phaseContents = document.querySelectorAll('.phase-content');
3075
 
3076
+ function showPhase(phaseId) {
3077
+ // Hide all phase contents
3078
  phaseContents.forEach(content => {
3079
  content.classList.remove('active');
3080
  });