✨feature: Add contract features to dashboard page
This commit is contained in:
11
market.php
11
market.php
@@ -136,6 +136,9 @@ try {
|
||||
<?php require __DIR__ . '/main-menu.php'; ?>
|
||||
|
||||
<h1 class="text-3xl font-bold mb-6 underline decoration-gray-300 w-full"><a href="market.php">Spacetraders - Markets</a></h1>
|
||||
<p class="mb-4">
|
||||
<a href="shop.php" class="px-3 py-2 bg-emerald-700 rounded hover:bg-emerald-600 inline-block">Open Shop</a>
|
||||
</p>
|
||||
|
||||
<?php if (isset( $tokenError ) ) : ?>
|
||||
<div class="mb-6 border border-red-500 p-4 rounded text-red-300">
|
||||
@@ -182,6 +185,14 @@ try {
|
||||
<?php if ((string) ( $record['error'] ?? '' ) !== '' ) : ?>
|
||||
<p class="text-red-300"><?php echo htmlspecialchars( (string) $record['error'] ); ?></p>
|
||||
<?php else : ?>
|
||||
<p class="mb-3">
|
||||
<a
|
||||
href="shop.php?waypoint=<?php echo urlencode( (string) ( $record['waypointSymbol'] ?? '' ) ); ?>"
|
||||
class="text-blue-300 hover:underline"
|
||||
>
|
||||
Shop At This Waypoint
|
||||
</a>
|
||||
</p>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||
<div>
|
||||
<h3 class="font-bold mb-2">Imports</h3>
|
||||
|
||||
Reference in New Issue
Block a user