change header image to a new one not bothered by copyright
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
</div>
|
||||
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}}</div>
|
||||
<hr>
|
||||
<div><strong>Spieler</strong> {{.Character.Player}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
|
||||
<div class="flex main-content">
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
</div>
|
||||
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}}</div>
|
||||
<hr>
|
||||
<div><strong>Spieler</strong> {{.Character.Player}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
|
||||
<div class="flex main-content">
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
<span class="header-right">Datum: {{.Meta.Date}}</span>
|
||||
</div>
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}} <strong>Grad</strong> {{.Character.Grade}}</div>
|
||||
<hr>
|
||||
<div><strong>Typ</strong> {{.Character.Type}} <strong>GG</strong> {{.DerivedValues.GG}} <strong>SG</strong> {{.DerivedValues.SG}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
<div class="flex main-content">
|
||||
<!-- Left section -->
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
<span class="header-right">Datum: {{.Meta.Date}}</span>
|
||||
</div>
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}} <strong>Grad</strong> {{.Character.Grade}}</div>
|
||||
<hr>
|
||||
<div><strong>Typ</strong> {{.Character.Type}} <strong>GG</strong> {{.DerivedValues.GG}} <strong>SG</strong> {{.DerivedValues.SG}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
<div class="flex main-content">
|
||||
<!-- Left section -->
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
</div>
|
||||
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}} <strong>Grad</strong> {{.Character.Grade}}</div>
|
||||
<hr>
|
||||
<div><strong>Typ</strong> {{.Character.Type}} <strong>Zaubern</strong> + {{.DerivedValues.Zaubern}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
|
||||
<div class="flex main-content">
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
</div>
|
||||
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}} <strong>Grad</strong> {{.Character.Grade}}</div>
|
||||
<hr>
|
||||
<div><strong>Typ</strong> {{.Character.Type}} <strong>Zaubern</strong> + {{.DerivedValues.Zaubern}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
|
||||
<div class="flex main-content">
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
</div>
|
||||
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}} <strong>Grad</strong> {{.Character.Grade}}</div>
|
||||
<hr>
|
||||
<div><strong>Typ</strong> {{.Character.Type}} <strong>Zaubern</strong> + {{.DerivedValues.Zaubern}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
|
||||
<div class="flex main-content">
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
</div>
|
||||
|
||||
<div class="title-row">
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_left.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<div class="info-box">
|
||||
<div><strong>Figur</strong> {{.Character.Name}} <strong>Grad</strong> {{.Character.Grade}}</div>
|
||||
<hr>
|
||||
<div><strong>Typ</strong> {{.Character.Type}} <strong>Zaubern</strong> + {{.DerivedValues.Zaubern}}</div>
|
||||
</div>
|
||||
<img src="shared/images/headerimg.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
<img src="shared/images/headerimg_right.png" alt="Schmuckgrafik" class="header-decoration">
|
||||
</div>
|
||||
|
||||
<div class="flex main-content">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 712 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 710 KiB |
File diff suppressed because one or more lines are too long
Executable
+35
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Generate config.json from VITE_API_URL for development
|
||||
# This makes the dev environment behave the same as production
|
||||
|
||||
CONFIG_FILE="/app/public/config.json"
|
||||
|
||||
echo "🔧 Generating development config.json..."
|
||||
|
||||
# Use VITE_API_URL from environment
|
||||
API_BASE_URL="${VITE_API_URL:-}"
|
||||
|
||||
if [ -z "$API_BASE_URL" ]; then
|
||||
echo "⚠️ VITE_API_URL not set, creating minimal config"
|
||||
cat > "$CONFIG_FILE" <<EOF
|
||||
{
|
||||
"_comment": "Development mode - VITE_API_URL will be used as fallback"
|
||||
}
|
||||
EOF
|
||||
else
|
||||
echo "✅ API URL configured: $API_BASE_URL"
|
||||
cat > "$CONFIG_FILE" <<EOF
|
||||
{
|
||||
"apiBaseURL": "$API_BASE_URL"
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo "📄 Created config.json:"
|
||||
cat "$CONFIG_FILE"
|
||||
|
||||
# Start Vite dev server
|
||||
echo "🚀 Starting Vite dev server..."
|
||||
exec npm run dev -- --host 0.0.0.0
|
||||
Executable
+36
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Generate config.json from environment variables at container startup
|
||||
# This allows runtime configuration without rebuilding the container
|
||||
|
||||
CONFIG_FILE="/usr/share/nginx/html/config.json"
|
||||
|
||||
echo "🔧 Generating frontend runtime configuration..."
|
||||
|
||||
# Use API_URL from environment, or fallback to same origin
|
||||
API_BASE_URL="${API_URL:-}"
|
||||
|
||||
if [ -z "$API_BASE_URL" ]; then
|
||||
echo "⚠️ API_URL not set, frontend will auto-detect or use same origin"
|
||||
# Create minimal config that triggers auto-detection
|
||||
cat > "$CONFIG_FILE" <<EOF
|
||||
{
|
||||
"_comment": "API_URL not configured, using auto-detection"
|
||||
}
|
||||
EOF
|
||||
else
|
||||
echo "✅ API URL configured: $API_BASE_URL"
|
||||
cat > "$CONFIG_FILE" <<EOF
|
||||
{
|
||||
"apiBaseURL": "$API_BASE_URL"
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo "📄 Generated config.json:"
|
||||
cat "$CONFIG_FILE"
|
||||
|
||||
# Start nginx
|
||||
echo "🚀 Starting nginx..."
|
||||
exec nginx -g "daemon off;"
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"apiBaseURL": "http://192.168.0.48:8180"
|
||||
}
|
||||
Reference in New Issue
Block a user