| 1 | @{
|
|---|
| 2 | ViewData["Title"] = "Admin Dashboard";
|
|---|
| 3 | }
|
|---|
| 4 |
|
|---|
| 5 | <div class="admin-page">
|
|---|
| 6 |
|
|---|
| 7 | <!-- =====================================================
|
|---|
| 8 | HEADER
|
|---|
| 9 | ===================================================== -->
|
|---|
| 10 |
|
|---|
| 11 | <div class="admin-header">
|
|---|
| 12 |
|
|---|
| 13 | <div>
|
|---|
| 14 |
|
|---|
| 15 | <h1>Admin Dashboard</h1>
|
|---|
| 16 |
|
|---|
| 17 | <p>
|
|---|
| 18 | Manage catalog, inventory and store operations.
|
|---|
| 19 | </p>
|
|---|
| 20 |
|
|---|
| 21 | </div>
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | <div class="admin-header-actions">
|
|---|
| 25 |
|
|---|
| 26 | <a asp-action="CreateRelease"
|
|---|
| 27 | class="admin-button secondary">
|
|---|
| 28 |
|
|---|
| 29 | <span>♪</span>
|
|---|
| 30 | New Release
|
|---|
| 31 |
|
|---|
| 32 | </a>
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | <a asp-action="CreateProduct"
|
|---|
| 36 | class="admin-button primary">
|
|---|
| 37 |
|
|---|
| 38 | <span>+</span>
|
|---|
| 39 | New Product
|
|---|
| 40 |
|
|---|
| 41 | </a>
|
|---|
| 42 |
|
|---|
| 43 | </div>
|
|---|
| 44 |
|
|---|
| 45 | </div>
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 | @if (TempData["Success"] != null)
|
|---|
| 49 | {
|
|---|
| 50 | <div class="admin-alert success">
|
|---|
| 51 |
|
|---|
| 52 | <span>✓</span>
|
|---|
| 53 |
|
|---|
| 54 | @TempData["Success"]
|
|---|
| 55 |
|
|---|
| 56 | </div>
|
|---|
| 57 | }
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 | @if (TempData["Error"] != null)
|
|---|
| 61 | {
|
|---|
| 62 | <div class="admin-alert danger">
|
|---|
| 63 |
|
|---|
| 64 | <span>!</span>
|
|---|
| 65 |
|
|---|
| 66 | @TempData["Error"]
|
|---|
| 67 |
|
|---|
| 68 | </div>
|
|---|
| 69 | }
|
|---|
| 70 |
|
|---|
| 71 |
|
|---|
| 72 | <!-- =====================================================
|
|---|
| 73 | STATISTICS
|
|---|
| 74 | ===================================================== -->
|
|---|
| 75 |
|
|---|
| 76 | <div class="admin-stat-grid">
|
|---|
| 77 |
|
|---|
| 78 | <div class="admin-stat-card">
|
|---|
| 79 |
|
|---|
| 80 | <span class="admin-stat-label">
|
|---|
| 81 | PRODUCTS
|
|---|
| 82 | </span>
|
|---|
| 83 |
|
|---|
| 84 | <strong>
|
|---|
| 85 | @ViewBag.ProductCount
|
|---|
| 86 | </strong>
|
|---|
| 87 |
|
|---|
| 88 | <p>
|
|---|
| 89 | Physical products in the store
|
|---|
| 90 | </p>
|
|---|
| 91 |
|
|---|
| 92 | </div>
|
|---|
| 93 |
|
|---|
| 94 |
|
|---|
| 95 | <div class="admin-stat-card">
|
|---|
| 96 |
|
|---|
| 97 | <span class="admin-stat-label">
|
|---|
| 98 | RELEASES
|
|---|
| 99 | </span>
|
|---|
| 100 |
|
|---|
| 101 | <strong>
|
|---|
| 102 | @ViewBag.ReleaseCount
|
|---|
| 103 | </strong>
|
|---|
| 104 |
|
|---|
| 105 | <p>
|
|---|
| 106 | Albums and singles in the catalog
|
|---|
| 107 | </p>
|
|---|
| 108 |
|
|---|
| 109 | </div>
|
|---|
| 110 |
|
|---|
| 111 |
|
|---|
| 112 | <div class="admin-stat-card warning">
|
|---|
| 113 |
|
|---|
| 114 | <span class="admin-stat-label">
|
|---|
| 115 | LOW STOCK
|
|---|
| 116 | </span>
|
|---|
| 117 |
|
|---|
| 118 | <strong>
|
|---|
| 119 | @ViewBag.LowStockCount
|
|---|
| 120 | </strong>
|
|---|
| 121 |
|
|---|
| 122 | <p>
|
|---|
| 123 | Products with 5 or fewer remaining
|
|---|
| 124 | </p>
|
|---|
| 125 |
|
|---|
| 126 | </div>
|
|---|
| 127 |
|
|---|
| 128 |
|
|---|
| 129 | <div class="admin-stat-card danger">
|
|---|
| 130 |
|
|---|
| 131 | <span class="admin-stat-label">
|
|---|
| 132 | OUT OF STOCK
|
|---|
| 133 | </span>
|
|---|
| 134 |
|
|---|
| 135 | <strong>
|
|---|
| 136 | @ViewBag.OutOfStockCount
|
|---|
| 137 | </strong>
|
|---|
| 138 |
|
|---|
| 139 | <p>
|
|---|
| 140 | Products requiring restocking
|
|---|
| 141 | </p>
|
|---|
| 142 |
|
|---|
| 143 | </div>
|
|---|
| 144 |
|
|---|
| 145 | </div>
|
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 | <!-- =====================================================
|
|---|
| 149 | CATALOG MANAGEMENT
|
|---|
| 150 | ===================================================== -->
|
|---|
| 151 |
|
|---|
| 152 | <section class="admin-section">
|
|---|
| 153 |
|
|---|
| 154 | <div class="admin-section-heading">
|
|---|
| 155 |
|
|---|
| 156 | <div>
|
|---|
| 157 |
|
|---|
| 158 | <span class="admin-eyebrow">
|
|---|
| 159 | CATALOG MANAGEMENT
|
|---|
| 160 | </span>
|
|---|
| 161 |
|
|---|
| 162 | <h2>Releases & Products</h2>
|
|---|
| 163 |
|
|---|
| 164 | <p>
|
|---|
| 165 | Create music releases and manage their physical formats.
|
|---|
| 166 | </p>
|
|---|
| 167 |
|
|---|
| 168 | </div>
|
|---|
| 169 |
|
|---|
| 170 | </div>
|
|---|
| 171 |
|
|---|
| 172 |
|
|---|
| 173 | <div class="admin-action-grid">
|
|---|
| 174 |
|
|---|
| 175 | <!-- CREATE RELEASE -->
|
|---|
| 176 |
|
|---|
| 177 | <a asp-action="CreateRelease"
|
|---|
| 178 | class="admin-action-card">
|
|---|
| 179 |
|
|---|
| 180 | <div class="admin-action-icon">
|
|---|
| 181 | ♪
|
|---|
| 182 | </div>
|
|---|
| 183 |
|
|---|
| 184 | <div>
|
|---|
| 185 |
|
|---|
| 186 | <h3>Create Release</h3>
|
|---|
| 187 |
|
|---|
| 188 | <p>
|
|---|
| 189 | Create an album or single,
|
|---|
| 190 | assign artists and add album tracks.
|
|---|
| 191 | </p>
|
|---|
| 192 |
|
|---|
| 193 | </div>
|
|---|
| 194 |
|
|---|
| 195 | <span class="admin-action-arrow">
|
|---|
| 196 | →
|
|---|
| 197 | </span>
|
|---|
| 198 |
|
|---|
| 199 | </a>
|
|---|
| 200 |
|
|---|
| 201 |
|
|---|
| 202 | <!-- CREATE PRODUCT -->
|
|---|
| 203 |
|
|---|
| 204 | <a asp-action="CreateProduct"
|
|---|
| 205 | class="admin-action-card">
|
|---|
| 206 |
|
|---|
| 207 | <div class="admin-action-icon">
|
|---|
| 208 | +
|
|---|
| 209 | </div>
|
|---|
| 210 |
|
|---|
| 211 | <div>
|
|---|
| 212 |
|
|---|
| 213 | <h3>Create Product</h3>
|
|---|
| 214 |
|
|---|
| 215 | <p>
|
|---|
| 216 | Add vinyl, CD or cassette
|
|---|
| 217 | editions to an existing release.
|
|---|
| 218 | </p>
|
|---|
| 219 |
|
|---|
| 220 | </div>
|
|---|
| 221 |
|
|---|
| 222 | <span class="admin-action-arrow">
|
|---|
| 223 | →
|
|---|
| 224 | </span>
|
|---|
| 225 |
|
|---|
| 226 | </a>
|
|---|
| 227 |
|
|---|
| 228 |
|
|---|
| 229 | <!-- MANAGE PRODUCTS -->
|
|---|
| 230 |
|
|---|
| 231 | <a asp-action="Products"
|
|---|
| 232 | class="admin-action-card">
|
|---|
| 233 |
|
|---|
| 234 | <div class="admin-action-icon">
|
|---|
| 235 | ◫
|
|---|
| 236 | </div>
|
|---|
| 237 |
|
|---|
| 238 | <div>
|
|---|
| 239 |
|
|---|
| 240 | <h3>Manage Products</h3>
|
|---|
| 241 |
|
|---|
| 242 | <p>
|
|---|
| 243 | Update pricing, inventory,
|
|---|
| 244 | descriptions and discounts.
|
|---|
| 245 | </p>
|
|---|
| 246 |
|
|---|
| 247 | </div>
|
|---|
| 248 |
|
|---|
| 249 | <span class="admin-action-arrow">
|
|---|
| 250 | →
|
|---|
| 251 | </span>
|
|---|
| 252 |
|
|---|
| 253 | </a>
|
|---|
| 254 | <a asp-action="Artists"
|
|---|
| 255 | class="admin-action-card">
|
|---|
| 256 |
|
|---|
| 257 | <div class="admin-action-icon">
|
|---|
| 258 | ♫
|
|---|
| 259 | </div>
|
|---|
| 260 |
|
|---|
| 261 | <div>
|
|---|
| 262 |
|
|---|
| 263 | <h3>Manage Artists</h3>
|
|---|
| 264 |
|
|---|
| 265 | <p>
|
|---|
| 266 | Create and edit artist profiles,
|
|---|
| 267 | descriptions and photos.
|
|---|
| 268 | </p>
|
|---|
| 269 |
|
|---|
| 270 | </div>
|
|---|
| 271 |
|
|---|
| 272 | <span class="admin-action-arrow">
|
|---|
| 273 | →
|
|---|
| 274 | </span>
|
|---|
| 275 |
|
|---|
| 276 | </a>
|
|---|
| 277 |
|
|---|
| 278 |
|
|---|
| 279 | <a asp-action="Releases"
|
|---|
| 280 | class="admin-action-card">
|
|---|
| 281 |
|
|---|
| 282 | <div class="admin-action-icon">
|
|---|
| 283 | ◉
|
|---|
| 284 | </div>
|
|---|
| 285 |
|
|---|
| 286 | <div>
|
|---|
| 287 |
|
|---|
| 288 | <h3>Manage Releases</h3>
|
|---|
| 289 |
|
|---|
| 290 | <p>
|
|---|
| 291 | Browse and edit albums and singles
|
|---|
| 292 | in the catalog.
|
|---|
| 293 | </p>
|
|---|
| 294 |
|
|---|
| 295 | </div>
|
|---|
| 296 |
|
|---|
| 297 | <span class="admin-action-arrow">
|
|---|
| 298 | →
|
|---|
| 299 | </span>
|
|---|
| 300 |
|
|---|
| 301 | </a>
|
|---|
| 302 |
|
|---|
| 303 | </div>
|
|---|
| 304 |
|
|---|
| 305 | </section>
|
|---|
| 306 |
|
|---|
| 307 | </div> |
|---|