VOJOAI commited on
Commit
b65127e
·
verified ·
1 Parent(s): ebce144

i want the bar showing on all campaings, with 1-100% in the middle, and hoover effect, so it opens a small pop up with data on how many percent of the leads in the list is contacted, is this possible? do i need to fix some data in my input for this? - Follow Up Deployment

Browse files
Files changed (2) hide show
  1. index.html +22 -2
  2. prompts.txt +3 -0
index.html CHANGED
@@ -170,7 +170,17 @@
170
  <div class="card rounded-lg p-6 mb-6">
171
  <div class="flex justify-between items-center mb-4">
172
  <h3 class="text-xl font-semibold">Kampagne 1</h3>
173
- <span class="px-3 py-1 rounded-full bg-blue-900/30 text-blue-400 text-sm">Active</span>
 
 
 
 
 
 
 
 
 
 
174
  </div>
175
 
176
  <div class="overflow-x-auto">
@@ -227,7 +237,17 @@
227
  <div class="card rounded-lg p-6">
228
  <div class="flex justify-between items-center mb-4">
229
  <h3 class="text-xl font-semibold">Kampagne 2</h3>
230
- <span class="px-3 py-1 rounded-full bg-green-900/30 text-green-400 text-sm">Completed</span>
 
 
 
 
 
 
 
 
 
 
231
  </div>
232
 
233
  <div class="overflow-x-auto">
 
170
  <div class="card rounded-lg p-6 mb-6">
171
  <div class="flex justify-between items-center mb-4">
172
  <h3 class="text-xl font-semibold">Kampagne 1</h3>
173
+ <div class="flex items-center space-x-4">
174
+ <div class="relative w-32">
175
+ <div class="h-2 bg-gray-700 rounded-full">
176
+ <div class="h-2 bg-blue-500 rounded-full" style="width: 75%"></div>
177
+ </div>
178
+ <div class="absolute -top-8 left-0 px-2 py-1 bg-gray-800 rounded text-xs opacity-0 hovered-element:opacity-100 transition-opacity">
179
+ Contacted: 450/600 (75%)
180
+ </div>
181
+ </div>
182
+ <span class="px-3 py-1 rounded-full bg-blue-900/30 text-blue-400 text-sm">Active</span>
183
+ </div>
184
  </div>
185
 
186
  <div class="overflow-x-auto">
 
237
  <div class="card rounded-lg p-6">
238
  <div class="flex justify-between items-center mb-4">
239
  <h3 class="text-xl font-semibold">Kampagne 2</h3>
240
+ <div class="flex items-center space-x-4">
241
+ <div class="relative w-32">
242
+ <div class="h-2 bg-gray-700 rounded-full">
243
+ <div class="h-2 bg-green-500 rounded-full" style="width: 100%"></div>
244
+ </div>
245
+ <div class="absolute -top-8 left-0 px-2 py-1 bg-gray-800 rounded text-xs opacity-0 hovered-element:opacity-100 transition-opacity">
246
+ Contacted: 600/600 (100%)
247
+ </div>
248
+ </div>
249
+ <span class="px-3 py-1 rounded-full bg-green-900/30 text-green-400 text-sm">Completed</span>
250
+ </div>
251
  </div>
252
 
253
  <div class="overflow-x-auto">
prompts.txt CHANGED
@@ -26,3 +26,6 @@ A,Google,Emnelinje 1,100,12%,6%,5,3,120000,50000
26
  B,Google,Emnelinje 2,100,15%,8%,6,4,150000,70000
27
  A,Website,Emnelinje 1,50,8%,4%,2,1,50000,20000
28
  B,Website,Emnelinje 2,50,10%,5%,3,2,60000,25000
 
 
 
 
26
  B,Google,Emnelinje 2,100,15%,8%,6,4,150000,70000
27
  A,Website,Emnelinje 1,50,8%,4%,2,1,50000,20000
28
  B,Website,Emnelinje 2,50,10%,5%,3,2,60000,25000
29
+
30
+ create a % bar showing how far the campaign is, when hovering over it, it should show number of contacted leads and how many are yet to be contacted
31
+ i want the bar showing on all campaings, with 1-100% in the middle, and hoover effect, so it opens a small pop up with data on how many percent of the leads in the list is contacted, is this possible? do i need to fix some data in my input for this?