- BTCPay Server integration - TeleBot Telegram bot - Review system - Admin area - Docker deployment configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
404 lines
22 KiB
HTML
404 lines
22 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
|
<title>Products - LittleShop Admin</title>
|
|
|
|
<!-- PWA Meta Tags -->
|
|
<meta name="application-name" content="LittleShop Admin" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
<meta name="apple-mobile-web-app-title" content="LittleShop" />
|
|
<meta name="description" content="Modern e-commerce admin panel" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="theme-color" content="#2563eb" />
|
|
<meta name="msapplication-TileColor" content="#2563eb" />
|
|
<meta name="msapplication-tap-highlight" content="no" />
|
|
|
|
<!-- PWA Manifest -->
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
|
<!-- Icons -->
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
<link rel="apple-touch-icon" href="/icons/icon-152x152.png" />
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png" />
|
|
<link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png" />
|
|
<link rel="apple-touch-icon" sizes="128x128" href="/icons/icon-128x128.png" />
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png" />
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/icons/icon-152x152.png" />
|
|
<link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png" />
|
|
<link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png" />
|
|
<link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png" />
|
|
<link href="/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="/lib/fontawesome/css/all.min.css" rel="stylesheet">
|
|
<link href="/lib/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
|
|
<link href="/css/modern-admin.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav class="navbar navbar-expand-sm navbar-light bg-white">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="/Admin">
|
|
<i class="fas fa-store"></i> LittleShop Admin
|
|
</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
|
<ul class="navbar-nav flex-grow-1">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin">
|
|
<i class="fas fa-tachometer-alt"></i> Dashboard
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/Categories">
|
|
<i class="fas fa-tags"></i> Categories
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/Products">
|
|
<i class="fas fa-box"></i> Products
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/Orders">
|
|
<i class="fas fa-shopping-cart"></i> Orders
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/Messages">
|
|
<i class="fas fa-comments"></i> Messages
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/ShippingRates">
|
|
<i class="fas fa-truck"></i> Shipping
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/Users">
|
|
<i class="fas fa-users"></i> Users
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/Admin/Bots">
|
|
<i class="fas fa-robot"></i> Bots
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="navbar-nav">
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown">
|
|
<i class="fas fa-user"></i> admin
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li>
|
|
<form method="post" action="/Admin/Account/Logout">
|
|
<button type="submit" class="dropdown-item">
|
|
<i class="fas fa-sign-out-alt"></i> Logout
|
|
</button>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
<div class="container-fluid">
|
|
<main role="main" class="pb-3">
|
|
|
|
|
|
<div class="row mb-4">
|
|
<div class="col">
|
|
<h1><i class="fas fa-box"></i> Products</h1>
|
|
</div>
|
|
<div class="col-auto">
|
|
<a href="/Admin/Products/Create" class="btn btn-primary">
|
|
<i class="fas fa-plus"></i> Add Product
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Image</th>
|
|
<th>Name</th>
|
|
<th>Category</th>
|
|
<th>Price</th>
|
|
<th>Weight</th>
|
|
<th>Status</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<img src="/uploads/products/88d6f3b9-f45f-4833-ad06-58a018a2d042_Screenshot 2025-05-14 112034.png" class="img-thumbnail" style="width: 50px; height: 50px; object-fit: cover;">
|
|
</td>
|
|
<td>
|
|
<strong>Smartphone Case</strong>
|
|
<br><small class="text-muted">Durable protective case for latest smartphones</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Electronics</span>
|
|
</td>
|
|
<td>
|
|
<strong>£19.99</strong>
|
|
</td>
|
|
<td>
|
|
50 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/1640e4a5-bb98-4f3a-b3f8-230f3df22f4f" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/1640e4a5-bb98-4f3a-b3f8-230f3df22f4f" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="bg-light d-flex align-items-center justify-content-center" style="width: 50px; height: 50px;">
|
|
<i class="fas fa-image text-muted"></i>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<strong>test</strong>
|
|
<br><small class="text-muted">test</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Books</span>
|
|
</td>
|
|
<td>
|
|
<strong>£100</strong>
|
|
</td>
|
|
<td>
|
|
1 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/46e72c40-07cf-4f91-a0ac-be3863240bb3" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/46e72c40-07cf-4f91-a0ac-be3863240bb3" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="/uploads/products/fbb9ff4c-41a7-4649-ab26-5a71aa126ec4_test-image.txt" alt="test photo" class="img-thumbnail" style="width: 50px; height: 50px; object-fit: cover;">
|
|
</td>
|
|
<td>
|
|
<strong>T-Shirt</strong>
|
|
<br><small class="text-muted">100% cotton comfortable t-shirt</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Clothing</span>
|
|
</td>
|
|
<td>
|
|
<strong>£24.99</strong>
|
|
</td>
|
|
<td>
|
|
200 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/48c6589e-ce13-4f73-a5c4-ef047f4d78a4" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/48c6589e-ce13-4f73-a5c4-ef047f4d78a4" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="bg-light d-flex align-items-center justify-content-center" style="width: 50px; height: 50px;">
|
|
<i class="fas fa-image text-muted"></i>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<strong>Programming Book</strong>
|
|
<br><small class="text-muted">Learn programming with practical examples</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Books</span>
|
|
</td>
|
|
<td>
|
|
<strong>£34.99</strong>
|
|
</td>
|
|
<td>
|
|
800 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/69a91211-7f32-4f50-bea4-f43a403e5c79" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/69a91211-7f32-4f50-bea4-f43a403e5c79" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="bg-light d-flex align-items-center justify-content-center" style="width: 50px; height: 50px;">
|
|
<i class="fas fa-image text-muted"></i>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<strong>test</strong>
|
|
<br><small class="text-muted">test</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Clothing</span>
|
|
</td>
|
|
<td>
|
|
<strong>£10</strong>
|
|
</td>
|
|
<td>
|
|
100 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/8628d839-fbe2-497b-b8af-8d0754ee1422" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/8628d839-fbe2-497b-b8af-8d0754ee1422" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="bg-light d-flex align-items-center justify-content-center" style="width: 50px; height: 50px;">
|
|
<i class="fas fa-image text-muted"></i>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<strong>Jeans</strong>
|
|
<br><small class="text-muted">Classic denim jeans</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Clothing</span>
|
|
</td>
|
|
<td>
|
|
<strong>£59.99</strong>
|
|
</td>
|
|
<td>
|
|
500 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/c236f171-ea5f-4a21-905c-905028c88927" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/c236f171-ea5f-4a21-905c-905028c88927" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="bg-light d-flex align-items-center justify-content-center" style="width: 50px; height: 50px;">
|
|
<i class="fas fa-image text-muted"></i>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<strong>Wireless Headphones</strong>
|
|
<br><small class="text-muted">High-quality Bluetooth headphones with noise cance...</small>
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-secondary">Electronics</span>
|
|
</td>
|
|
<td>
|
|
<strong>£89.99</strong>
|
|
</td>
|
|
<td>
|
|
250 grams
|
|
</td>
|
|
<td>
|
|
<span class="badge bg-success">Active</span>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group btn-group-sm">
|
|
<a href="/Admin/Products/Edit/d7772dc9-c677-4c17-a16a-a95acc27f0e8" class="btn btn-outline-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
<form method="post" action="/Admin/Products/Delete/d7772dc9-c677-4c17-a16a-a95acc27f0e8" class="d-inline"
|
|
onsubmit="return confirm('Are you sure you want to delete this product?')">
|
|
<button type="submit" class="btn btn-outline-danger">
|
|
<i class="fas fa-trash"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<script src="/lib/jquery/jquery.min.js"></script>
|
|
<script src="/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
<script src="/js/pwa.js"></script>
|
|
<script src="/js/modern-mobile.js"></script>
|
|
|
|
</body>
|
|
</html> |