t2-stat-parser/app/webapp/resources/views/app.edge

56 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-03-29 15:31:16 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2020-04-16 21:21:56 +00:00
<meta http-equiv="Access-Control-Allow-Origin" content="https://www.playt2.com"/>
2020-03-29 15:31:16 +00:00
<meta http-equiv="X-UA-Compatible" content="ie=edge">
2020-04-12 18:47:23 +00:00
<title>Tribes 2 Stats</title>
2020-03-29 15:31:16 +00:00
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
@if(node_env().env === "production")
{{ style(versioncss('main')) }}
@else
{{ style('dist/css/main') }}
@endif
</head>
<body class="antialiased font-sans bg-gray-200">
2020-04-15 00:43:43 +00:00
<div id="popup" class="relative bg-indigo-600">
<div class="max-w-screen-xl mx-auto py-3 px-3 sm:px-6 lg:px-8">
<div class="pr-16 sm:text-center sm:px-16">
<p class="font-medium text-white">
Hey! This is a preview. Things aren't quite finished yet. Stay tuned!
</p>
</div>
<div class="absolute inset-y-0 right-0 pt-1 pr-1 flex items-start sm:pt-1 sm:pr-2 sm:items-start">
<button type="button" class="flex p-2 rounded-md hover:bg-indigo-500 focus:outline-none focus:bg-indigo-500 transition ease-in-out duration-150" onclick="closePopUp()">
<svg class="h-6 w-6 text-white" stroke="currentColor" fill="none" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
</svg>
</button>
</div>
</div>
</div>
2020-03-29 15:31:16 +00:00
{{{ startTag }}}
2020-04-15 00:43:43 +00:00
2020-04-12 18:47:23 +00:00
{{-- {{ edgeVar }} --}}
2020-03-29 15:31:16 +00:00
@if(node_env().env === "production" || node_env().hmr === "false")
{{ script(versionjs('app')) }}
@else
{{ script('http://localhost:8081/dist/js/app.js') }}
@endif
2020-04-15 00:43:43 +00:00
<script>
function closePopUp(){
document.getElementById("popup").remove();
};
</script>
2020-03-29 15:31:16 +00:00
</body>
</html>