Stripping out material because meh. Also loading in cels at the right ordering
This commit is contained in:
+2
-15
@@ -6,20 +6,7 @@
|
||||
|
||||
<form enctype="multipart/form-data" method="post" asp-action="Upload" id="file_upload">
|
||||
<fieldset>
|
||||
<input type="file" name="file" multiple accept=".lzh" class="visually-hidden" id="lzh_upload">
|
||||
<label for="lzh_upload" class="mdc-button mdc-button--outlined">
|
||||
<span class="mdc-button__ripple"></span>
|
||||
<span class="mdc-button__label">Add KiSS file(s)</span>
|
||||
</label>
|
||||
|
||||
<button type="submit" class="mdc-button mdc-button--unelevated">
|
||||
<span class="mdc-button__ripple"></span>
|
||||
<span class="mdc-button__label">Upload</span>
|
||||
</button>
|
||||
|
||||
<div class="selected-files mdc-evolution-chip-set" role="grid">
|
||||
<div class="mdc-evolution-chip-set__chips" role="presentation"></div>
|
||||
</div>
|
||||
<input type="file" name="file" multiple accept=".lzh">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@@ -42,5 +29,5 @@
|
||||
|
||||
@section Scripts
|
||||
{
|
||||
<script src="~/js/uploader.js" asp-append-version="true"></script>
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
@{
|
||||
ViewData["Title"] = "Privacy Policy";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
||||
@@ -6,5 +6,5 @@ Uploading...
|
||||
|
||||
@section Scripts
|
||||
{
|
||||
<script src="~/js/uploader.js" asp-append-version="true"></script>
|
||||
|
||||
}
|
||||
+16
-17
@@ -4,24 +4,23 @@
|
||||
ViewData["Title"] = $"Play with {Model.Name}";
|
||||
}
|
||||
|
||||
<header id="play_menu">
|
||||
<ul>
|
||||
<li>
|
||||
<button class="mdc-button mdc-button--icon-trailing" data-rel="reset">
|
||||
<span class="mdc-button__ripple"></span>
|
||||
<span class="mdc-button__label">Reset</span>
|
||||
<i class="material-icons mdc-button__icon" aria-hidden="true">restart_alt</i>
|
||||
</button>
|
||||
</li>
|
||||
<li class="mdc-typography--button">Sets</li>
|
||||
</ul>
|
||||
<header>
|
||||
Sets:
|
||||
@for (var index = 0; index < Model.Sets.Length; index++)
|
||||
{
|
||||
@if (Model.Sets[index])
|
||||
{
|
||||
<a href="javascript:" class="set-link" data-set="@index">@(index + 1)</a>
|
||||
}
|
||||
}
|
||||
</header>
|
||||
<article id="play_area" style="background-color: #@Model.BorderColor">
|
||||
<canvas id="play_space" style="height: @(Model.Height)px; width: @(Model.Width)px" height="@Model.Height" width="@Model.Width"></canvas>
|
||||
</article>
|
||||
<div class="container">
|
||||
<canvas id="play_space"></canvas>
|
||||
</div>
|
||||
|
||||
@section Scripts
|
||||
{
|
||||
<script>
|
||||
document.kisekae.load("play_space", "play_menu", @Json.Serialize(Model))
|
||||
</script>
|
||||
<script src="~/js/main.js"></script>
|
||||
<script>playSet = @Json.Serialize(Model);</script>
|
||||
|
||||
}
|
||||
@@ -4,44 +4,16 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>Kisekae Online - @ViewData["Title"]</title>
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:900i" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
|
||||
<link href="~/css/main.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
</head>
|
||||
<body class="mdc-typography">
|
||||
<header class="mdc-top-app-bar">
|
||||
<div class="mdc-top-app-bar__row">
|
||||
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
|
||||
<span class="mdc-top-app-bar__title">Kisekae Online - @ViewData["Title"]</span>
|
||||
</section>
|
||||
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" role="toolbar">
|
||||
<a href="/" class="material-icons mdc-top-app-bar__action-item mdc-icon-button" aria-label="Home">home</a>
|
||||
<a class="material-icons mdc-top-app-bar__action-item mdc-icon-button" aria-label="Favorite">favorite</a>
|
||||
<a class="material-icons mdc-top-app-bar__action-item mdc-icon-button" aria-label="Search">search</a>
|
||||
<a class="material-icons mdc-top-app-bar__action-item mdc-icon-button" aria-label="Options">more_vert</a>
|
||||
</section>
|
||||
</div>
|
||||
<body>
|
||||
<header>
|
||||
<h1><a href="~/">Kisekae Online</a> - @ViewData["Title"]</h1>
|
||||
</header>
|
||||
<main class="mdc-top-app-bar--fixed-adjust" role="main">
|
||||
<div role="progressbar" class="mdc-linear-progress" aria-label="Example Progress Bar" aria-valuemin="0" aria-valuemax="1" aria-valuenow="0">
|
||||
<div class="mdc-linear-progress__buffer">
|
||||
<div class="mdc-linear-progress__buffer-bar"></div>
|
||||
<div class="mdc-linear-progress__buffer-dots"></div>
|
||||
</div>
|
||||
<div class="mdc-linear-progress__bar mdc-linear-progress__primary-bar">
|
||||
<span class="mdc-linear-progress__bar-inner"></span>
|
||||
</div>
|
||||
<div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
|
||||
<span class="mdc-linear-progress__bar-inner"></span>
|
||||
</div>
|
||||
</div>
|
||||
<main>
|
||||
@RenderBody()
|
||||
</main>
|
||||
<footer>
|
||||
© 2021 - <a href="https://fxl.codes">fxl</a> - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</footer>
|
||||
<script src="~/js/main.js" asp-append-version="true"></script>
|
||||
<footer>© @DateTime.Now.Year - <a href="https://fxl.codes">fxl</a></footer>
|
||||
@await RenderSectionAsync("Scripts", false)
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user