Ver Fonte

made ui changes

Harshit Pathak há 3 meses atrás
pai
commit
3c1e3e5cc9
3 ficheiros alterados com 36 adições e 36 exclusões
  1. 34 34
      ca/static/dist/js/scripts.js
  2. 2 2
      ca/templates/cia_index.html
  3. BIN
      db.sqlite3

+ 34 - 34
ca/static/dist/js/scripts.js

@@ -73,13 +73,13 @@ function processReport() {
             $el.siblings('.landing-element').addClass("d-none");
 
             // Reveal element with fade animation
-            $el.removeClass("d-none").addClass("animate__animated animate__fadeInUp");
+            $el.removeClass("d-none").addClass("animate__animated animate__pulse");
 
             console.log($el.text());
 
 
             if ($el.text().trim() == "NO ACTIVE PROMOTIONS") {
-                $("#no-active-promotions").removeClass("d-none").addClass("animate__animated animate__fadeInUp");
+                $("#no-active-promotions").removeClass("d-none").addClass("animate__animated animate__pulse");
             }
 
             // Scroll to progress bar if exists
@@ -120,7 +120,7 @@ function processReport() {
                     $(".progress").addClass("d-none");
                     // alert(1)
                     window.scrollTo(0, document.body.scrollHeight);
-                    $("#publish").removeClass("d-none").addClass("animate__animated animate__fadeInUp");
+                    $("#publish").removeClass("d-none").addClass("animate__animated animate__pulse");
                 }, 100); // Wait a moment before showing publish
             }
         }, delay * (index + 1));
@@ -804,14 +804,14 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
   border-left:none;border-bottom:solid #F2F2F2 1.0pt;border-right:solid #F2F2F2 1.0pt;
   background:white;padding:3.6pt 0cm 3.6pt 0cm">
   <p class="xmsolistparagraph" align="center" style="margin-left:0cm;text-align:
-  center"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;color:black"><a href="https://www.target.com/c/halloween/-/N-5xt2oZcl92vZ5zl7w">Halloweens
+  center"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;color:black"><a href="https://www.target.com/c/halloween/-/N-5xt2oZcl92vZ5zl7w">Halloween�s
   this Friday!</a> </span></p>
   </td>
   <td width="403" colspan="3" valign="top" style="width:302.55pt;border-top:none;
   border-left:none;border-bottom:solid #F2F2F2 1.0pt;border-right:solid #F2F2F2 1.0pt;
   background:white;padding:3.6pt 0cm 3.6pt 0cm">
   <p class="xmsolistparagraph" align="center" style="margin-left:0cm;text-align:
-  center"><span style="color:black;mso-color-alt:windowtext"><a href="https://www.bestbuy.com/site/macbooks/latest-macbook-and-offers/pcmcat1729888491847.c?id=pcmcat1729888491847"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;">MacBook Pro 14
+  center"><span style="color:black;mso-color-alt:windowtext"><a href="https://www.bestbuy.com/site/macbooks/latest-macbook-and-offers/pcmcat1729888491847.c?id=pcmcat1729888491847"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;">MacBook Pro 14�
   Supercharged by M5</span></a></span><span class="MsoHyperlink"><o:p></o:p></span></p>
   </td>
  </tr>
@@ -1171,17 +1171,17 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Ailun Screen
-       Protector for iPad 11th A16 2025 11” / 10th Gen…</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
+       Protector for iPad 11th A16 2025 11� / 10th Gen�</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
        &quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
-       mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Apple iPad 11
-       A16 chip 11” Model Liquid Retina Display 128G…</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
+       mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Apple iPad 11�
+       A16 chip 11� Model Liquid Retina Display 128G�</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
        &quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="color:black;margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">Anker iPhone 17/16 Charger
-       2-Pack 20W Fast USB C Charge<o:p></o:p></span></li>
+       2-Pack 20W Fast USB C Charge�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Stylus Pen for
@@ -1190,12 +1190,12 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">MoKo for iPad A16
-       11th Gen Case 11 “ 2025 iPad 10th Gen Ca…</span><span style="font-size:
+       11th Gen Case 11 � 2025 iPad 10th Gen Ca�</span><span style="font-size:
        9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Anker USB C
-       Charger Nano II 65W PPS 3-Port Fast Compact</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
+       Charger Nano II 65W PPS 3-Port Fast Compact�</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
        &quot;Times New Roman&quot;"><o:p></o:p></span></li>
   </ul>
   <p class="xmsonormal" style="text-align:justify"><span style="font-size:9.5pt;
@@ -1264,32 +1264,32 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">PartySticks Ultra
-       Bright Glow Sticks Bulk Party Supplies 100</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
+       Bright Glow Sticks Bulk Party Supplies 100�</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
        &quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">PartyWoo Black
-       Balloons 140 pcs Different Sizes Pack of 18 1</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
+       Balloons 140 pcs Different Sizes Pack of 18 1�</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
        &quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Bezente Assorted
-       Rainbow Latex Balloons 100 Pack 12 “ Rou…</span><span style="font-size:
+       Rainbow Latex Balloons 100 Pack 12 � Rou�</span><span style="font-size:
        9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Play Doh Bulk
-       Handout 42-Pack of 1-Ounce Modeling Comp</span><span style="font-size:
+       Handout 42-Pack of 1-Ounce Modeling Comp�</span><span style="font-size:
        9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">Play Doh Modeling
-       Compound 10-Pack Case of Assorted Co</span><span style="font-size:9.5pt;
+       Compound 10-Pack Case of Assorted Co�</span><span style="font-size:9.5pt;
        font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;color:black">HEX BOTS Wall
-       Crawler Gecko with Official Wall Climber Tec</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
+       Crawler Gecko with Official Wall Climber Tec�</span><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;mso-fareast-font-family:
        &quot;Times New Roman&quot;"><o:p></o:p></span></li>
   </ul>
   </td>
@@ -1332,19 +1332,19 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">Apple AirPods Pro 3 Wireless
-       Active Noise Cancelling Earbu<o:p></o:p></span></li>
+       Active Noise Cancelling Earbu�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
-       mso-fareast-font-family:&quot;Times New Roman&quot;">Pokémon Legends Z-A Nintendo
+       mso-fareast-font-family:&quot;Times New Roman&quot;">Pok�mon Legends Z-A Nintendo
        Switch 2 Nintendo Switch 2<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
-       mso-fareast-font-family:&quot;Times New Roman&quot;">Apple 11 iPad A16 chip with
+       mso-fareast-font-family:&quot;Times New Roman&quot;">Apple 11� iPad A16 chip with
        Wi-Fi 128GB Blue<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">Microsoft 365 Personal 1
-       Person 12-Month Subscription Acti<o:p></o:p></span></li>
+       Person 12-Month Subscription Acti�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">Switch 2 + Mario Kart World
@@ -1353,7 +1353,7 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
   <p class="xmsonormal" style="text-align:justify"><span style="font-size:9.5pt;
   font-family:&quot;Everyday Sans&quot;"><o:p>&nbsp;</o:p></span></p>
   <p class="MsoNormal"><b><span style="font-size:9.5pt;font-family:&quot;Everyday Sans Medium&quot;;
-  color:#0053E2">APP EXCLUSIVE  DROPS<o:p></o:p></span></b></p>
+  color:#0053E2">APP EXCLUSIVE � DROPS<o:p></o:p></span></b></p>
   <p class="xmsolistparagraph" style="margin-left:0cm"><span style="font-size:
   9.5pt;font-family:&quot;Everyday Sans&quot;"><!--[if gte vml 1]><v:shape id="Picture_x0020_2"
    o:spid="_x0000_i1061" type="#_x0000_t75" alt="" style='width:4in;height:96pt'>
@@ -1382,24 +1382,24 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
   <ul style="margin-top:0cm" type="disc">
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
-       mso-fareast-font-family:&quot;Times New Roman&quot;">Apple MacBook Air 13 Laptop
-       Apple M4 chip Built for Apple<o:p></o:p></span></li>
+       mso-fareast-font-family:&quot;Times New Roman&quot;">Apple MacBook Air 13� Laptop
+       Apple M4 chip Built for Apple�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">HP 14" Laptop Intel
-       Processor N150 4GB Memory 128GB UFS<o:p></o:p></span></li>
+       Processor N150 4GB Memory 128GB UFS�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">HP Victus 15.6" 144Hz
-       Full HD Gaming Laptop AMD Ryzen 7 7<o:p></o:p></span></li>
+       Full HD Gaming Laptop AMD Ryzen 7 7�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">Lenovo IdeaPad 3i Chromebook
-       15.6" Full HD Laptop Intel C<o:p></o:p></span></li>
+       15.6" Full HD Laptop Intel C�<o:p></o:p></span></li>
    <li class="xmsonormal" style="margin-left:-18.0pt;text-align:justify;
        mso-list:l1 level1 lfo3"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;">HP 15.6" Full HD
-       Touch-Screen Laptop Intel Core i5 16GB Me<o:p></o:p></span></li>
+       Touch-Screen Laptop Intel Core i5 16GB Me�<o:p></o:p></span></li>
   </ul>
   </td>
  </tr>
@@ -1409,9 +1409,9 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
   solid #F2F2F2 1.0pt;background:#FFFFE5;padding:7.2pt 0cm 7.2pt 7.2pt;
   height:28.8pt">
   <p class="MsoNormal"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
-  color:black">1. &nbsp;The ETS “Share of Homepage” equals % of elements
+  color:black">1. &nbsp;The ETS �Share of Homepage� equals % of elements
   dedicated to ETS versus the total visible opportunities available for
-  potential ETS promotion/item placement, on the competitors homepage.<o:p></o:p></span></p>
+  potential ETS promotion/item placement, on the competitors� homepage.<o:p></o:p></span></p>
   <p class="MsoNormal"><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;
   color:black">2. &nbsp;All screengrabs are captured incognito in a signed-out
   state to mitigate influence of browser history, &amp; cookies on the homepage
@@ -1422,14 +1422,14 @@ Description automatically generated" v:shapes="x_Picture_x0020_6"><!--[endif]-->
   <td width="404" colspan="3" style="width:302.65pt;border:none;border-left:solid #F2F2F2 1.0pt;
   background:#001E60;padding:3.6pt 0cm 3.6pt 7.2pt;height:21.6pt">
   <p class="MsoNormal"><span style="color:white"><a href="mailto:abhijeet.patil1@walmart.com?subject=Feedback%20-%20ETS%20Competitor%20Intelligence"><b><sup><span style="font-size:10.0pt;font-family:Wingdings;color:#FFC000;text-decoration:
-  none;text-underline:none">²</span></sup></b><b><sub><span style="font-size:
+  none;text-underline:none">�</span></sup></b><b><sub><span style="font-size:
   12.0pt;font-family:Wingdings;color:#FFC000;text-decoration:none;text-underline:
-  none">³</span></sub></b><b><sub><span style="font-size:12.0pt;color:#FFC000;
+  none">�</span></sub></b><b><sub><span style="font-size:12.0pt;color:#FFC000;
   text-decoration:none;text-underline:none"> </span></sub></b><b><span style="font-size:10.0pt;font-family:Wingdings;color:#FFC000;text-decoration:
-  none;text-underline:none">²</span></b><b><span style="font-size:10.0pt;
+  none;text-underline:none">�</span></b><b><span style="font-size:10.0pt;
   color:#FFC000;text-decoration:none;text-underline:none"> </span></b><b><span style="font-size:10.0pt;font-family:&quot;Everyday Sans&quot;;color:white;text-decoration:
   none;text-underline:none">AP</span></b></a></span><b><span style="font-size:
-  11.5pt;font-family:Bogle;color:#FFC000"> &nbsp;</span></b><b><span style="font-size:11.5pt;font-family:&quot;Arial Black&quot;,sans-serif;color:#FFC000">|</span></b><b><span style="font-family:Bogle;color:#FFC000"> &nbsp;</span></b><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;color:white">©<b> </b>WALMART
+  11.5pt;font-family:Bogle;color:#FFC000"> &nbsp;</span></b><b><span style="font-size:11.5pt;font-family:&quot;Arial Black&quot;,sans-serif;color:#FFC000">|</span></b><b><span style="font-family:Bogle;color:#FFC000"> &nbsp;</span></b><span style="font-size:9.5pt;font-family:&quot;Everyday Sans&quot;;color:white">�<b> </b>WALMART
   2025<b><o:p></o:p></b></span></p>
   </td>
   <td width="404" colspan="3" style="width:302.65pt;background:#001E60;padding:

+ 2 - 2
ca/templates/cia_index.html

@@ -1453,8 +1453,8 @@
     <script src="{% static 'dist/js/scripts.js' %}"></script>
     <script>
         function generateEmail() {
-          const to = "dharunrk01@gmail.com";
-          const subject = "Monthly Automation Report";
+          const to = "lumina@luminad.com";
+          const subject = "Competitor Intelligence Report";
           
           // 🟢 You can use full HTML here
           let htmlBody = `

BIN
db.sqlite3