Changeset fa0fbaf for KernelRecordsMVC.Web/Views/Admin/Index.cshtml
- Timestamp:
- 09/01/26 06:11:34 (4 weeks ago)
- Branches:
- main
- Children:
- d2eccb3
- Parents:
- 08aefc6
- File:
-
- 1 edited
-
KernelRecordsMVC.Web/Views/Admin/Index.cshtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
KernelRecordsMVC.Web/Views/Admin/Index.cshtml
r08aefc6 rfa0fbaf 3 3 } 4 4 5 <h1>Admin Dashboard</h1> 6 7 @if (TempData["Success"] != null) 8 { 9 <div class="alert alert-success"> 10 @TempData["Success"] 5 <div class="admin-page"> 6 7 <!-- ===================================================== 8 HEADER 9 ===================================================== --> 10 11 <div class="admin-header"> 12 13 <div> 14 15 <span class="admin-eyebrow"> 16 KERNEL RECORDS 17 </span> 18 19 <h1>Admin Dashboard</h1> 20 21 <p> 22 Manage catalog, inventory and store operations. 23 </p> 24 25 </div> 26 27 28 <div class="admin-header-actions"> 29 30 <a asp-action="CreateRelease" 31 class="admin-button secondary"> 32 33 <span>♪</span> 34 New Release 35 36 </a> 37 38 39 <a asp-action="CreateProduct" 40 class="admin-button primary"> 41 42 <span>+</span> 43 New Product 44 45 </a> 46 47 </div> 48 11 49 </div> 12 } 13 14 <div class="row mt-4"> 15 16 <div class="col-md-6 mb-3"> 17 18 <div class="card h-100"> 19 20 <div class="card-body"> 21 22 <h4>Products</h4> 50 51 52 @if (TempData["Success"] != null) 53 { 54 <div class="admin-alert success"> 55 56 <span>✓</span> 57 58 @TempData["Success"] 59 60 </div> 61 } 62 63 64 @if (TempData["Error"] != null) 65 { 66 <div class="admin-alert danger"> 67 68 <span>!</span> 69 70 @TempData["Error"] 71 72 </div> 73 } 74 75 76 <!-- ===================================================== 77 STATISTICS 78 ===================================================== --> 79 80 <div class="admin-stat-grid"> 81 82 <div class="admin-stat-card"> 83 84 <span class="admin-stat-label"> 85 PRODUCTS 86 </span> 87 88 <strong> 89 @ViewBag.ProductCount 90 </strong> 91 92 <p> 93 Physical products in the store 94 </p> 95 96 </div> 97 98 99 <div class="admin-stat-card"> 100 101 <span class="admin-stat-label"> 102 RELEASES 103 </span> 104 105 <strong> 106 @ViewBag.ReleaseCount 107 </strong> 108 109 <p> 110 Albums and singles in the catalog 111 </p> 112 113 </div> 114 115 116 <div class="admin-stat-card warning"> 117 118 <span class="admin-stat-label"> 119 LOW STOCK 120 </span> 121 122 <strong> 123 @ViewBag.LowStockCount 124 </strong> 125 126 <p> 127 Products with 5 or fewer remaining 128 </p> 129 130 </div> 131 132 133 <div class="admin-stat-card danger"> 134 135 <span class="admin-stat-label"> 136 OUT OF STOCK 137 </span> 138 139 <strong> 140 @ViewBag.OutOfStockCount 141 </strong> 142 143 <p> 144 Products requiring restocking 145 </p> 146 147 </div> 148 149 </div> 150 151 152 <!-- ===================================================== 153 CATALOG MANAGEMENT 154 ===================================================== --> 155 156 <section class="admin-section"> 157 158 <div class="admin-section-heading"> 159 160 <div> 161 162 <span class="admin-eyebrow"> 163 CATALOG MANAGEMENT 164 </span> 165 166 <h2>Releases & Products</h2> 23 167 24 168 <p> 25 Create and modify products available 26 in the music store. 169 Create music releases and manage their physical formats. 27 170 </p> 28 171 29 <a asp-action="Products" 30 class="btn btn-primary"> 31 32 Manage Products 33 34 </a> 35 36 <a asp-action="CreateProduct" 37 class="btn btn-success"> 38 39 New Product 40 41 </a> 42 43 </div> 44 45 </div> 46 47 </div> 172 </div> 173 174 </div> 175 176 177 <div class="admin-action-grid"> 178 179 <!-- CREATE RELEASE --> 180 181 <a asp-action="CreateRelease" 182 class="admin-action-card"> 183 184 <div class="admin-action-icon"> 185 ♪ 186 </div> 187 188 <div> 189 190 <h3>Create Release</h3> 191 192 <p> 193 Create an album or single, 194 assign artists and add album tracks. 195 </p> 196 197 </div> 198 199 <span class="admin-action-arrow"> 200 → 201 </span> 202 203 </a> 204 205 206 <!-- CREATE PRODUCT --> 207 208 <a asp-action="CreateProduct" 209 class="admin-action-card"> 210 211 <div class="admin-action-icon"> 212 + 213 </div> 214 215 <div> 216 217 <h3>Create Product</h3> 218 219 <p> 220 Add vinyl, CD or cassette 221 editions to an existing release. 222 </p> 223 224 </div> 225 226 <span class="admin-action-arrow"> 227 → 228 </span> 229 230 </a> 231 232 233 <!-- MANAGE PRODUCTS --> 234 235 <a asp-action="Products" 236 class="admin-action-card"> 237 238 <div class="admin-action-icon"> 239 ◫ 240 </div> 241 242 <div> 243 244 <h3>Manage Products</h3> 245 246 <p> 247 Update pricing, inventory, 248 descriptions and discounts. 249 </p> 250 251 </div> 252 253 <span class="admin-action-arrow"> 254 → 255 </span> 256 257 </a> 258 259 </div> 260 261 </section> 262 263 264 <!-- ===================================================== 265 WORKFLOW INFO 266 ===================================================== --> 267 268 <section class="admin-section"> 269 270 <div class="admin-section-heading"> 271 272 <div> 273 274 <span class="admin-eyebrow"> 275 ADMIN WORKFLOW 276 </span> 277 278 <h2>Catalog Process</h2> 279 280 </div> 281 282 </div> 283 284 285 <div class="admin-workflow-grid"> 286 287 <div class="admin-workflow-card"> 288 289 <span class="admin-workflow-number"> 290 01 291 </span> 292 293 <div> 294 295 <strong> 296 Create Release 297 </strong> 298 299 <p> 300 Add the album or single, 301 artists and track information. 302 </p> 303 304 </div> 305 306 </div> 307 308 309 <div class="admin-workflow-card"> 310 311 <span class="admin-workflow-number"> 312 02 313 </span> 314 315 <div> 316 317 <strong> 318 Create Product 319 </strong> 320 321 <p> 322 Add its vinyl, CD or cassette 323 store edition. 324 </p> 325 326 </div> 327 328 </div> 329 330 331 <div class="admin-workflow-card"> 332 333 <span class="admin-workflow-number"> 334 03 335 </span> 336 337 <div> 338 339 <strong> 340 Manage Inventory 341 </strong> 342 343 <p> 344 Change prices, stock, 345 descriptions or apply discounts. 346 </p> 347 348 </div> 349 350 </div> 351 352 </div> 353 354 </section> 48 355 49 356 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
