-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding instructions and minor changes
- Loading branch information
1 parent
8e7e1bd
commit dd4ed20
Showing
35 changed files
with
967 additions
and
721 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,40 @@ | ||
@model PaintByNumbersProject.Models.ImageModel | ||
|
||
@{ | ||
ViewData["Title"] = "Create"; | ||
ViewData["Title"] = "Create"; | ||
} | ||
|
||
<h4>Add new image</h4> | ||
<p>You can add up to 5 images.</p> | ||
<hr /> | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<form asp-action="Create" enctype="multipart/form-data"> | ||
<div asp-validation-summary="ModelOnly" class="text-danger"></div> | ||
<div class="form-group"> | ||
<label asp-for="Title" class="control-label"></label> | ||
<input asp-for="Title" class="form-control" /> | ||
<span asp-validation-for="Title" class="text-danger"></span> | ||
</div> | ||
<div class="form-group mt-3"> | ||
<label asp-for="ImageFile" class="control-label"></label> | ||
<input asp-for="ImageFile" accept="image/*" /> | ||
<br /> | ||
<span asp-validation-for="ImageFile" class="text-danger"></span> | ||
</div> | ||
<div class="form-group mt-3"> | ||
<input type="submit" value="Create" class="btn btn-primary" /> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-4"> | ||
<form asp-action="Create" enctype="multipart/form-data"> | ||
<div asp-validation-summary="ModelOnly" class="text-danger"></div> | ||
<div class="form-group"> | ||
<label asp-for="Title" class="control-label"></label> | ||
<input asp-for="Title" class="form-control" /> | ||
<span asp-validation-for="Title" class="text-danger"></span> | ||
</div> | ||
<div class="form-group mt-3"> | ||
<label asp-for="ImageFile" class="control-label"></label> | ||
<input asp-for="ImageFile" accept="image/*" /> | ||
<br /> | ||
<span asp-validation-for="ImageFile" class="text-danger"></span> | ||
</div> | ||
<div class="form-group mt-3"> | ||
<input type="submit" value="Create" class="btn btn-primary" /> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<div class="mt-3"> | ||
<a asp-action="Index">Back to List</a> | ||
<a href="/Image" class="btn btn-warning mr-3">Back to List</a> | ||
</div> | ||
|
||
@section Scripts { | ||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");} | ||
@{ | ||
await Html.RenderPartialAsync("_ValidationScriptsPartial"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,64 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>@ViewData["Title"]</title> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Paint by Number - @ViewData["Title"]</title> | ||
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> | ||
<link rel="manifest" href="/site.webmanifest"> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> | ||
<link rel="manifest" href="/site.webmanifest"> | ||
|
||
<meta name="msapplication-TileColor" content="#da532c"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<link rel="stylesheet" href="~/css/boot_style.css" /> | ||
@* <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />*@ | ||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> | ||
<link rel="stylesheet" href="~/PaintByNumbersProject.styles.css" asp-append-version="true" /> | ||
<meta name="msapplication-TileColor" content="#da532c"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<link rel="stylesheet" href="~/css/boot_style.css" /> | ||
@* <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />*@ | ||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> | ||
<link rel="stylesheet" href="~/PaintByNumbersProject.styles.css" asp-append-version="true" /> | ||
</head> | ||
<body> | ||
<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-lg navbar-light bg-light"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Paint By Numbers</a> | ||
<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"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between"> | ||
<ul class="navbar-nav flex-grow-1"> | ||
<li class="nav-item"> | ||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-dark" asp-area="" asp-controller="Paint" asp-action="Index">Demo</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-dark" asp-area="" asp-controller="Image" asp-action="Index">My Images</a> | ||
</li> | ||
</ul> | ||
<partial name="_LoginPartial" /> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
<div class="container"> | ||
<main role="main" class="pb-3"> | ||
@RenderBody() | ||
</main> | ||
</div> | ||
<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-lg navbar-light bg-light"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index"> | ||
<img src="/favicon-32x32.png" width="35" alt="" class="d-inline-block align-middle mr-2"> Paint By Numbers</a> | ||
<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"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between"> | ||
<ul class="navbar-nav flex-grow-1"> | ||
<li class="nav-item"> | ||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-dark" asp-area="" asp-controller="Paint" asp-action="Index">Demo</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-dark" asp-area="" asp-controller="Image" asp-action="Index">My Images</a> | ||
</li> | ||
</ul> | ||
<partial name="_LoginPartial" /> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
<div class="container"> | ||
<main role="main" class="pb-3"> | ||
@RenderBody() | ||
</main> | ||
</div> | ||
|
||
<footer class="border-top footer text-muted"> | ||
<div class="container"> | ||
© 2022 - Paint By Numbers - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a> | ||
</div> | ||
</footer> | ||
<script src="~/lib/jquery/dist/jquery.min.js"></script> | ||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="~/js/site.js" asp-append-version="true"></script> | ||
@await RenderSectionAsync("Scripts", required: false) | ||
<footer class="border-top footer text-muted"> | ||
<div class="container"> | ||
© 2022 - Paint By Numbers - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a> | ||
</div> | ||
</footer> | ||
<script src="~/lib/jquery/dist/jquery.min.js"></script> | ||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="~/js/site.js" asp-append-version="true"></script> | ||
@await RenderSectionAsync("Scripts", required: false) | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+31 KB
(100%)
PaintByNumbersProject/bin/Debug/net6.0/PaintByNumbersProject.dll
Binary file not shown.
Binary file modified
BIN
-512 Bytes
(100%)
PaintByNumbersProject/bin/Debug/net6.0/PaintByNumbersProject.exe
Binary file not shown.
Binary file modified
BIN
+4.64 KB
(100%)
PaintByNumbersProject/bin/Debug/net6.0/PaintByNumbersProject.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
PaintByNumbersProject/bin/Debug/net6.0/PaintByNumbersProject.staticwebassets.runtime.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.