ReboundEmulator/Views/Shared/GamePage.cshtml

23 lines
673 B
Plaintext

@model NotPogo.Model.GamePage
<!DOCTYPE html>
<html>
<head>
<title>@($"Not Pogo - {Model.GameName}")</title>
</head>
<body style="margin:0; padding:0;">
<applet code="@Model.JavaAppletClass"
codebase="@($"{Context.Request.Scheme}://{Context.Request.Host.Value}")"
archive="@($"{Context.Request.Scheme}://{Context.Request.Host.Value}/get-jar?game={Model.InternalName}")"
width="784" height="506">
@foreach (var kv in Model.JavaAppletParameters)
{
<param name="@kv.Key" value="@kv.Value">
}
Unfortunately, In Order To Use Not Pogo, You Need To Use A Browser That Still Supports Java Applets
</applet>
</body>
</html>