Removed extra; started on UI, need to figure out how to include + use other tables.

This commit is contained in:
Kira Jiroux 2024-12-11 18:07:05 -05:00
parent 9ed3794694
commit 793c3138e8
3 changed files with 102 additions and 9 deletions

View File

@ -0,0 +1,99 @@
@model IEnumerable<PokemonDto>
<div class="card shadow border-0 mt-4">
<div class="card-header bg-secondary bg-gradient ml-0 py-3">
<div class="row">
<div class="col-12 text-center">
<h1 class="text-white">Pokémon Calculator</h1>
</div>
</div>
</div>
<div class="card-body p-4">
<div class="row pb-3">
<div class="col-6">
</div>
<div class="col-6 text-end">
<a class="btn btn-outline-primary"><i class="bi bi-plus-square"></i> Add Pokemon</a>
</div>
</div>
<table class="table">
<thead>
<tr>
<th>
Select Pokemon
</th>
<th>
</th>
<th>
</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<select class="form-control form-control-lg">
<option value="" disabled selected>Choose your Pokémon...</option>
@foreach(var pokemon in Model)
{
<option>@pokemon.Id @pokemon.Name</option>
}
</select>
</td>
<td>
</td>
<td>
</td>
</tr>
</tbody>
<thead>
<tr>
<th>
Nature
</th>
<th>Sub Skills</th>
<th>
</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<select class="form-control form-control-lg">
<option value="" disabled selected>Nature</option>
</select>
</td>
<td>
<select class="form-control form-control-lg">
<option value="" disabled selected>Sub Skill</option>
</select>
</td>
<td>
<select class="form-control form-control-lg">
<option value="" disabled selected>Sub Skill</option>
</select>
</td>
<td>
<select class="form-control form-control-lg">
<option value="" disabled selected>Sub Skill</option>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - PokemonSleep.Web</title> <title>@ViewData["Title"] - PokémonSleep.Web</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/PokemonSleep.Web.styles.css" asp-append-version="true" /> <link rel="stylesheet" href="~/PokemonSleep.Web.styles.css" asp-append-version="true" />
@ -13,7 +13,7 @@
<header> <header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3"> <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">PokemonSleep.Web</a> <a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">PokémonSleep.Web</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent" <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation"> aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
@ -24,7 +24,7 @@
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a> <a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Pokemon" asp-action="PokemonIndex">Pokemon Eval</a> <a class="nav-link text-dark" asp-area="" asp-controller="Pokemon" asp-action="PokemonIndex">Pokémon Eval</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -5,8 +5,6 @@ VisualStudioVersion = 17.11.35327.3
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PokemonSleepAPI", "PokemonSleepAPI\PokemonSleepAPI.csproj", "{19640FE6-0A20-4231-9A0E-CC6143291A8D}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PokemonSleepAPI", "PokemonSleepAPI\PokemonSleepAPI.csproj", "{19640FE6-0A20-4231-9A0E-CC6143291A8D}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PokemonSleepInterface", "PokemonSleepInterface\PokemonSleepInterface.csproj", "{D04FE20B-5AB3-4F2C-9F60-DECE3DBF8F6E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PokemonSleep.Web", "PokemonSleep.Web\PokemonSleep.Web.csproj", "{2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PokemonSleep.Web", "PokemonSleep.Web\PokemonSleep.Web.csproj", "{2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}"
EndProject EndProject
Global Global
@ -19,10 +17,6 @@ Global
{19640FE6-0A20-4231-9A0E-CC6143291A8D}.Debug|Any CPU.Build.0 = Debug|Any CPU {19640FE6-0A20-4231-9A0E-CC6143291A8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19640FE6-0A20-4231-9A0E-CC6143291A8D}.Release|Any CPU.ActiveCfg = Release|Any CPU {19640FE6-0A20-4231-9A0E-CC6143291A8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{19640FE6-0A20-4231-9A0E-CC6143291A8D}.Release|Any CPU.Build.0 = Release|Any CPU {19640FE6-0A20-4231-9A0E-CC6143291A8D}.Release|Any CPU.Build.0 = Release|Any CPU
{D04FE20B-5AB3-4F2C-9F60-DECE3DBF8F6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D04FE20B-5AB3-4F2C-9F60-DECE3DBF8F6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D04FE20B-5AB3-4F2C-9F60-DECE3DBF8F6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D04FE20B-5AB3-4F2C-9F60-DECE3DBF8F6E}.Release|Any CPU.Build.0 = Release|Any CPU
{2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}.Debug|Any CPU.Build.0 = Debug|Any CPU {2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}.Release|Any CPU.ActiveCfg = Release|Any CPU {2C48A0CF-3E55-4FF0-ABFF-FD588A0E1988}.Release|Any CPU.ActiveCfg = Release|Any CPU