student 8 jam lalu
induk
melakukan
71a0bf5bb0

+ 1 - 1
website/Areas/Millions/Views/Home/BuyTicket.cshtml

@@ -1004,7 +1004,7 @@ else
             
             // Map game type to readable name & image
             let gameTypeStr = "@Model.termType";
-            let displayName = gameTypeStr === "@Constants.Millions_CODE" ? "Millions" : "Basic Pick 10";
+            let displayName = gameTypeStr === "@Constants.Millions_CODE" ? "@Lang.millions" : "Basic Pick 10";
             let imgSrc = "";
             
             if (gameTypeStr === "@Constants.PIC10_BIGSMALL_CODE") {

+ 2 - 2
website/Areas/Millions/Views/Home/History.cshtml

@@ -42,8 +42,8 @@
         </div>
     </div>
 
-    <!-- Ticket List Container -->
-    <div id="history-list-container" class="history-items-list px-4 mt-2">
+    <!-- Ticket List Container (spaced below fixed header) -->
+    <div id="history-list-container" class="history-items-list px-4 mt-[130px]">
         <partial name="_TermUserTicketHistory" model="Model" />
     </div>
 

+ 4 - 6
website/Areas/Millions/Views/Home/_TermUserTicketHistory.cshtml

@@ -84,16 +84,14 @@
                         <span class="info-label">@Lang.millions_date_and_time</span>
                         <span class="info-value">@item.createDate</span>
                     </div>
+                    <div class="info-row">
+                        <span class="info-label">@Lang.millions_amount_won</span>
+                        <span class="info-value win-amount">@FormatMoney(item.moneyWin) HTG</span>
+                    </div>
                     <div class="info-row">
                         <span class="info-label">@Lang.millions_amount_played</span>
                         <span class="info-value">@FormatMoney(item.money) HTG</span>
                     </div>
-                    @if (item.status == Constants.WIN_CODE) {
-                        <div class="info-row">
-                            <span class="info-label">@Lang.millions_amount_won</span>
-                            <span class="info-value win-amount">@FormatMoney(item.moneyWin) HTG</span>
-                        </div>
-                    }
                 </div>
 
                 <!-- Ticket Action: Detail Button -->

+ 2 - 1
website/Areas/Millions/Views/Shared/_BottomNavbar.cshtml

@@ -4,7 +4,8 @@
 }
 
 <!-- Bottom navigation (fixed at bottom) -->
-<nav class="navigation absolute inset-x-3 bottom-3 z-20 px-3 py-2 rounded-2xl">
+<nav class="navigation fixed left-1/2 -translate-x-1/2 bottom-3 z-[120] px-3 py-2 rounded-2xl w-[calc(100%-1.5rem)] max-w-[430px]"
+     style="position:fixed; left:50%; transform:translateX(-50%); bottom:12px; width:calc(100% - 1.5rem); max-width:430px; z-index:120;">
     <div class="flex items-center justify-between">
         <a href="/Millions/Home/GameHome" class="nav-item @(activePage == "Home" ? "active" : "") flex flex-col items-center flex-1 no-underline">
             <img src="/Millions/assets/icons/nav-home.png" alt="" class="w-7 h-7"/>

+ 9 - 0
website/Languages/Lang.Designer.cs

@@ -1477,6 +1477,15 @@ namespace LotteryWebApp.Languages {
             }
         }
         
+        /// <summary>
+        ///   Looks up a localized string similar to Millions.
+        /// </summary>
+        public static string millions {
+            get {
+                return ResourceManager.GetString("millions", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   Looks up a localized string similar to Kont Loto.
         /// </summary>

+ 3 - 0
website/Languages/Lang.fr.resx

@@ -1727,4 +1727,7 @@ We’ll help you create an account in a few easy steps.</value>
   <data name="millions_now" xml:space="preserve">
     <value>now</value>
   </data>
+  <data name="millions" xml:space="preserve">
+    <value>Millions</value>
+  </data>
 </root>

+ 3 - 0
website/Languages/Lang.resx

@@ -1731,4 +1731,7 @@ Apre yo fin tire 20 nimewo, sistem nan konte konbyen nimewo ki enpe oswa pe: &lt
   <data name="millions_now" xml:space="preserve">
     <value>now</value>
   </data>
+  <data name="millions" xml:space="preserve">
+    <value>Millions</value>
+  </data>
 </root>

+ 11 - 0
website/wwwroot/Millions/css/faq.css

@@ -43,3 +43,14 @@ body {
     text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
     -webkit-text-stroke: 3px #fff;
 }
+
+/* Ensure bottom nav is visible immediately on FAQ */
+.navigation {
+    position: fixed !important;
+    left: 50% !important;
+    transform: translateX(-50%) !important;
+    bottom: 12px !important;
+    width: calc(100% - 1.5rem) !important;
+    max-width: 430px !important;
+    z-index: 120 !important;
+}