File size: 4,884 Bytes
ea012db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WorkflowWizard Pro - Reporting</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/report-card.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
    <custom-navbar></custom-navbar>
    
    <div class="flex">
        <custom-sidebar active-page="reporting"></custom-sidebar>
        
        <main class="flex-1 p-6 md:p-8 ml-0 md:ml-64 mt-16">
            <!-- Reporting 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">Advanced Reporting 📊</h1>
                    <p class="text-gray-600 mt-2">Gain insights with comprehensive dashboards and portfolio analytics</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">
                        <i data-feather="download"></i>
                        Export Report
                    </button>
            </div>

            <!-- Dashboard Widgets -->
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
                <custom-report-card
                    title="Project Health"
                    type="gauge"
                    value="78"
                    trend="up">
                </custom-report-card>
                
                <custom-report-card
                    title="Team Performance"
                    type="bar"
                    value="92"
                    trend="up">
                </custom-report-card>
                
                <custom-report-card
                    title="Resource Utilization"
                    type="pie"
                    value="65"
                    trend="down">
                </custom-report-card>
            </div>

            <!-- Portfolio Overview -->
            <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">Portfolio Analytics</h2>
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                    <div class="text-center p-4 border border-gray-200 rounded-lg">
                            <i data-feather="pie-chart" class="w-8 h-8 text-purple-600 mx-auto"></i>
                            <p class="text-sm font-medium text-gray-900 mt-2">Strategic Projects</p>
                            <p class="text-2xl font-bold text-gray-900 mt-2">8</p>
                        </div>
                        
                        <div class="text-center p-4 border border-gray-200 rounded-lg">
                            <i data-feather="trending-up" class="w-8 h-8 text-green-600 mx-auto"></i>
                            <p class="text-sm font-medium text-gray-900 mt-2">Operational Projects</p>
                            <p class="text-2xl font-bold text-gray-900 mt-2">12</p>
                        </div>
                        
                        <div class="text-center p-4 border border-gray-200 rounded-lg">
                            <i data-feather="target" class="w-8 h-8 text-blue-600 mx-auto"></i>
                            <p class="text-sm font-medium text-gray-900 mt-2">Tactical Projects</p>
                            <p class="text-2xl font-bold text-gray-900 mt-2">6</p>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
</body>
</html>