This commit is contained in:
Lee 2023-04-15 19:55:39 +01:00
parent 0655b91a91
commit 301a3c7370

@ -62,7 +62,7 @@
echo echo
' '
<div class="mb-5"> <div class="mb-5">
<label for="map" class="block text-white text-sm font-bold mb-2">Successfully uploaded Map</label> <label for="map" class="block text-white text-sm font-bold mb-2">' . (!str_starts_with($_GET["map"], "https") ? "Failed to upload" : "Successfully uploaded") . ' Map</label>
<span class="bg-gray-700 text-white rounded w-full py-2 px-3 focus:outline-none focus:shadow-outline">' . $command . '</span> <span class="bg-gray-700 text-white rounded w-full py-2 px-3 focus:outline-none focus:shadow-outline">' . $command . '</span>
' . (!str_starts_with($_GET["map"], "https") ? "" : '<button onclick="copy()" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Copy</button>') . ' ' . (!str_starts_with($_GET["map"], "https") ? "" : '<button onclick="copy()" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Copy</button>') . '
</div> </div>