-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
206 lines (191 loc) · 6.1 KB
/
Copy pathindex.html
File metadata and controls
206 lines (191 loc) · 6.1 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SalesPulse Dashboard</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="app-shell">
<aside class="sidebar">
<div class="brand">
<div class="brand-mark">SP</div>
<div>
<h1>SalesPulse</h1>
<p>Performance Dashboard</p>
</div>
</div>
<nav class="nav">
<button class="nav-item active">Overview</button>
<button class="nav-item">Revenue</button>
<button class="nav-item">Pipeline</button>
<button class="nav-item">Team</button>
<button class="nav-item">Trends</button>
</nav>
<section class="sidebar-card">
<h3>Why this dashboard works</h3>
<ul>
<li>High-level KPIs for fast decisions</li>
<li>Trend + pipeline visibility</li>
<li>Rep-level coaching signals</li>
<li>Large sample dataset included</li>
</ul>
</section>
<section class="sidebar-card compact">
<h3>Focus metrics</h3>
<p>Revenue, pipeline, win rate, quota attainment, cycle time, and source performance.</p>
</section>
</aside>
<main class="main">
<header class="topbar">
<div>
<p class="eyebrow">Sales analytics workspace</p>
<h2>Executive sales dashboard</h2>
<p class="subtle">Interactive sample build for reviewing performance, trends, and team output.</p>
</div>
<div class="topbar-actions">
<button id="resetFiltersBtn" class="ghost-btn">Reset filters</button>
<button id="exportCsvBtn" class="primary-btn">Export filtered CSV</button>
</div>
</header>
<section class="filters card">
<div class="filter-grid">
<label>
<span>Date range</span>
<select id="dateRangeFilter"></select>
</label>
<label>
<span>Region</span>
<select id="regionFilter"></select>
</label>
<label>
<span>Channel</span>
<select id="channelFilter"></select>
</label>
<label>
<span>Product</span>
<select id="productFilter"></select>
</label>
<label>
<span>Rep</span>
<select id="repFilter"></select>
</label>
<label>
<span>Stage</span>
<select id="stageFilter"></select>
</label>
</div>
</section>
<section class="kpi-grid" id="kpiGrid"></section>
<section class="content-grid">
<article class="card large-card">
<div class="card-header">
<div>
<h3>Revenue trend</h3>
<p>Monthly closed-won revenue across the selected scope</p>
</div>
<div class="pill" id="revenueTrendSummary">--</div>
</div>
<div id="revenueChart" class="chart-area svg-chart"></div>
</article>
<article class="card medium-card">
<div class="card-header">
<div>
<h3>Pipeline by stage</h3>
<p>Open opportunity value by stage</p>
</div>
</div>
<div id="pipelineStageChart" class="chart-area bar-list"></div>
</article>
<article class="card medium-card">
<div class="card-header">
<div>
<h3>Lead source mix</h3>
<p>Closed-won revenue by acquisition channel</p>
</div>
</div>
<div id="sourceMixChart" class="chart-area donut-wrap"></div>
</article>
<article class="card medium-card">
<div class="card-header">
<div>
<h3>Rep leaderboard</h3>
<p>Revenue, attainment, and win rate</p>
</div>
</div>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>Rep</th>
<th>Revenue</th>
<th>Won</th>
<th>Win rate</th>
<th>Attainment</th>
</tr>
</thead>
<tbody id="repTableBody"></tbody>
</table>
</div>
</article>
<article class="card medium-card">
<div class="card-header">
<div>
<h3>Product performance</h3>
<p>Closed-won revenue by product line</p>
</div>
</div>
<div id="productChart" class="chart-area bar-list"></div>
</article>
<article class="card medium-card">
<div class="card-header">
<div>
<h3>Forecast snapshot</h3>
<p>Gap to target based on current run rate</p>
</div>
</div>
<div id="forecastBox" class="forecast-box"></div>
</article>
</section>
<section class="card insights-card">
<div class="card-header">
<div>
<h3>Auto-generated insights</h3>
<p>Plain-language summary from the filtered data</p>
</div>
</div>
<div id="insightsList" class="insights-list"></div>
</section>
<section class="card data-card">
<div class="card-header">
<div>
<h3>Recent opportunities</h3>
<p>Filtered dataset preview</p>
</div>
<div class="pill" id="recordCountPill">0 rows</div>
</div>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>Date</th>
<th>Opportunity</th>
<th>Rep</th>
<th>Region</th>
<th>Channel</th>
<th>Product</th>
<th>Stage</th>
<th>Amount</th>
</tr>
</thead>
<tbody id="opportunitiesTableBody"></tbody>
</table>
</div>
</section>
</main>
</div>
<script src="data.js"></script>
<script src="app.js"></script>
</body>
</html>