Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions AsyncInn.Web/AsyncInn.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.3" />
</ItemGroup>

<ItemGroup>
<Folder Include="Views\HotelRooms\NewFolder\" />
</ItemGroup>

<ItemGroup>
<None Include="wwwroot\css\Photos\bda.jpg" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion AsyncInn.Web/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public IActionResult Index()
return View();
}

public IActionResult Privacy()
public IActionResult About()
{
return View();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

namespace AsyncInn.Web.Controllers
{
public class HotelsController : Controller
public class HotelController : Controller
{
IHotelService hotelService;

public HotelsController(IHotelService hotelService)
public HotelController(IHotelService hotelService)
{
this.hotelService = hotelService;
}
Expand Down
1 change: 0 additions & 1 deletion AsyncInn.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
else
{
app.UseExceptionHandler("/Home/Error");
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
}
app.UseHttpsRedirection();
Expand Down
19 changes: 19 additions & 0 deletions AsyncInn.Web/Views/Home/About.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@{
ViewData["Title"] = "About";
Layout = "_Layout";
}
<h1>@ViewData["Title"]</h1>

<div class="container">
<div class="card mx-auto">
<div class="card-body ">
<h5 class="card-title text-md-center">Marie Antons</h5>
<h6 class="card-subtitle mb-2 text-muted text-md-center">Junior Developer at STRATAFOLIO</h6>
<p class="card-text text-md-center">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<div class="text-center">
<a class="btn btn-primary" href="https://github.com/mrsantons" role="button">GitHub</a>
<a class="btn btn-primary" href="https://www.linkedin.com/in/marieantons/" role="button">LinkedIn</a>
</div>
</div>
</div>
</div>
51 changes: 44 additions & 7 deletions AsyncInn.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
@@ -1,12 +1,49 @@
@{
ViewData["Title"] = "Home Page";
Layout = "_Layout";
}

<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>

@section Header {
<h1>This is from a section!</h1>
}


<body>

<div class="bodyContainer">

<text>Async Inn</text>

<span class="logo"></span>
<aside>
<form>
<div>
<label for="username" class="visually-hidden">Username: </label>
<input class="username" id="password" placeholder="Username" />
</div>
<div>
<label for="password" class="visually-hidden">Password: </label>
<input class="password" id="password" placeholder="Password" />
</div>
<div>
<input type="submit" />
</div>
</form>
</aside>


@*<div>
<img class="col-md-auto mb-1" src="~/css/Photos/bda2.jpg" />
</div>
<div class="d-flex flex-row">
<div>
<img class="col-sm-12 m-0 pr-1" src="~/css/Photos/bda.jpg" />
</div>
<div>
<img class="col-sm-12 mb-0 pl-0 " src="~/css/Photos/bda3.jpg" />
</div>
</div>*@



</div>
</body>

6 changes: 0 additions & 6 deletions AsyncInn.Web/Views/Home/Privacy.cshtml

This file was deleted.

54 changes: 0 additions & 54 deletions AsyncInn.Web/Views/Hotels/Create.cshtml

This file was deleted.

56 changes: 0 additions & 56 deletions AsyncInn.Web/Views/Hotels/Delete.cshtml

This file was deleted.

54 changes: 0 additions & 54 deletions AsyncInn.Web/Views/Hotels/Details.cshtml

This file was deleted.

55 changes: 0 additions & 55 deletions AsyncInn.Web/Views/Hotels/Edit.cshtml

This file was deleted.

Loading