Add Pending Payment tab and rebrand to TeleShop Admin
- Added new 'Pending Payment' tab to show orders awaiting payment (4 orders) - Rebranded admin panel from 'LittleShop Admin' to 'TeleShop Admin' - Updated login page, layout, and dashboard with new branding - Fixed visibility issue where PendingPayment orders had no tab - All 13 orders are now visible across appropriate tabs 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
71
publish-littleshop/publish/appsettings.Localhost.json
Normal file
71
publish-littleshop/publish/appsettings.Localhost.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.EntityFrameworkCore": "Warning"
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Data Source=/opt/littleshop/littleshop-production.db"
|
||||
},
|
||||
"Jwt": {
|
||||
"Key": "your-secure-jwt-secret-key-here-minimum-32-chars",
|
||||
"Issuer": "LittleShop-Production",
|
||||
"Audience": "LittleShop-Production",
|
||||
"ExpiryInHours": 24
|
||||
},
|
||||
"SilverPay": {
|
||||
"BaseUrl": "http://31.97.57.205:8001",
|
||||
"ApiKey": "YOUR_SILVERPAY_API_KEY",
|
||||
"WebhookSecret": "YOUR_WEBHOOK_SECRET",
|
||||
"DefaultWebhookUrl": "http://localhost:5000/api/orders/payments/webhook",
|
||||
"AllowUnsignedWebhooks": false
|
||||
},
|
||||
"RoyalMail": {
|
||||
"ClientId": "YOUR_ROYAL_MAIL_CLIENT_ID",
|
||||
"ClientSecret": "YOUR_ROYAL_MAIL_CLIENT_SECRET",
|
||||
"BaseUrl": "https://api.royalmail.net/",
|
||||
"SenderAddress1": "Your Address",
|
||||
"SenderCity": "Your City",
|
||||
"SenderPostCode": "Your Postcode",
|
||||
"SenderCountry": "United Kingdom"
|
||||
},
|
||||
"WebPush": {
|
||||
"VapidPublicKey": "YOUR_VAPID_PUBLIC_KEY",
|
||||
"VapidPrivateKey": "YOUR_VAPID_PRIVATE_KEY",
|
||||
"Subject": "mailto:admin@yourdomain.com"
|
||||
},
|
||||
"AllowedHosts": "localhost;127.0.0.1",
|
||||
"Urls": "http://127.0.0.1:5000",
|
||||
"ForwardedHeaders": {
|
||||
"ForwardedProtoHeaderName": "X-Forwarded-Proto",
|
||||
"ForwardedForHeaderName": "X-Forwarded-For",
|
||||
"ForwardedHostHeaderName": "X-Forwarded-Host"
|
||||
},
|
||||
"TeleBot": {
|
||||
"ApiUrl": "YOUR_TELEBOT_API_URL",
|
||||
"ApiKey": "YOUR_TELEBOT_API_KEY"
|
||||
},
|
||||
"Serilog": {
|
||||
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
||||
"MinimumLevel": "Information",
|
||||
"WriteTo": [
|
||||
{
|
||||
"Name": "Console",
|
||||
"Args": {
|
||||
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "File",
|
||||
"Args": {
|
||||
"path": "/opt/littleshop/logs/littleshop-.log",
|
||||
"rollingInterval": "Day",
|
||||
"retainedFileCountLimit": 7,
|
||||
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user