-
AsyncInn.Web
+
@@ -39,7 +45,7 @@
diff --git a/AsyncInn.Web/Views/_ViewStart.cshtml b/AsyncInn.Web/Views/_ViewStart.cshtml
deleted file mode 100644
index a5f1004..0000000
--- a/AsyncInn.Web/Views/_ViewStart.cshtml
+++ /dev/null
@@ -1,3 +0,0 @@
-@{
- Layout = "_Layout";
-}
diff --git a/AsyncInn.Web/appsettings.json b/AsyncInn.Web/appsettings.json
index 95365d8..35ee526 100644
--- a/AsyncInn.Web/appsettings.json
+++ b/AsyncInn.Web/appsettings.json
@@ -7,6 +7,6 @@
}
},
- "API_URL": "https://localhost:5001/api/",
+ "API_URL": "https://localhost:44334/api/",
"AllowedHosts": "*"
}
diff --git a/AsyncInn.Web/wwwroot/css/Photos/bda.jpg b/AsyncInn.Web/wwwroot/css/Photos/bda.jpg
new file mode 100644
index 0000000..a9e7619
Binary files /dev/null and b/AsyncInn.Web/wwwroot/css/Photos/bda.jpg differ
diff --git a/AsyncInn.Web/wwwroot/css/Photos/bda2.jpg b/AsyncInn.Web/wwwroot/css/Photos/bda2.jpg
new file mode 100644
index 0000000..6dc9f30
Binary files /dev/null and b/AsyncInn.Web/wwwroot/css/Photos/bda2.jpg differ
diff --git a/AsyncInn.Web/wwwroot/css/Photos/bda3.jpg b/AsyncInn.Web/wwwroot/css/Photos/bda3.jpg
new file mode 100644
index 0000000..8a03f08
Binary files /dev/null and b/AsyncInn.Web/wwwroot/css/Photos/bda3.jpg differ
diff --git a/AsyncInn.Web/wwwroot/css/Photos/bda4.jpg b/AsyncInn.Web/wwwroot/css/Photos/bda4.jpg
new file mode 100644
index 0000000..8588ebc
Binary files /dev/null and b/AsyncInn.Web/wwwroot/css/Photos/bda4.jpg differ
diff --git a/AsyncInn.Web/wwwroot/css/site.css b/AsyncInn.Web/wwwroot/css/site.css
index e679a8e..e37b37c 100644
--- a/AsyncInn.Web/wwwroot/css/site.css
+++ b/AsyncInn.Web/wwwroot/css/site.css
@@ -9,19 +9,19 @@ a.navbar-brand {
/* Provide sufficient contrast against white background */
a {
- color: #0366d6;
+ color: #011c3d;
}
.btn-primary {
- color: #fff;
- background-color: #1b6ec2;
- border-color: #1861ac;
+ color: #fff;
+ background-color: #ffdbe0;
+ border-color: #ffccd4;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
- color: #fff;
- background-color: #1b6ec2;
- border-color: #1861ac;
+ color: #fff;
+ background-color: #ffccd4;
+ border-color: #ffb6c1;
}
/* Sticky footer styles
@@ -59,8 +59,12 @@ html {
}
body {
- /* Margin bottom by footer height */
- margin-bottom: 60px;
+ /* Margin bottom by footer height */
+ margin-bottom: 60px;
+ text-align: center;
+ min-width: 480px;
+/*Hello*/
+
}
.footer {
position: absolute;
@@ -69,3 +73,77 @@ body {
white-space: nowrap;
line-height: 60px; /* Vertically center the text there */
}
+
+/*------------------------------------------------Card Styles---------------------------------------*/
+.card {
+ padding: 10px 10px 10px 10px;
+ box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
+ width: auto;
+ background-color: #d3d3d3;
+}
+
+
+
+/*Font Awesome Icons*/
+
+.fa-edit {
+ color: black
+}
+
+.fa-info {
+ color: black
+}
+.fa-trash-alt {
+ color: black
+}
+
+
+/*-------------------------------------Login Styles Index-----------------------------------------------------*/
+.bodyContainer {
+ width: 480px;
+ display: grid;
+ text-align:center;
+ grid-template-columns: 240px 240px;
+ grid-template-rows: 100px 75px 75px 75px 100px;
+}
+
+.logo{
+ grid-column: span 2;
+ grid-row: 1;
+ height: 200px;
+ width: 200px;
+ background-color:skyblue;
+ border-radius:50%;
+ margin-left: 145px;
+ margin-top:30px;
+ z-index: -1;
+
+
+}
+text {
+ grid-column:span 2;
+ font-family: 'Playfair Display', serif;
+ text-align:center;
+ font-size:x-large;
+
+}
+
+aside{
+ grid-column: span 2;
+ grid-row-start: 4;
+ grid-row-end:6;
+
+}
+
+.visually-hidden {
+ clip: rect(0 0 0 0);
+ clip-path: inset(50%);
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ white-space: nowrap;
+ width: 1px;
+}
+@media (min-width:414px){
+
+}
diff --git a/AsyncInn/AsyncInn.csproj b/AsyncInn/AsyncInn.csproj
index 3bceb19..a79606a 100644
--- a/AsyncInn/AsyncInn.csproj
+++ b/AsyncInn/AsyncInn.csproj
@@ -50,4 +50,8 @@
+
+
+
+
diff --git a/AsyncInn/Data/DatabaseRepositories/DatabaseRoomRepository.cs b/AsyncInn/Data/DatabaseRepositories/DatabaseRoomRepository.cs
index 4fa493c..b04c18b 100644
--- a/AsyncInn/Data/DatabaseRepositories/DatabaseRoomRepository.cs
+++ b/AsyncInn/Data/DatabaseRepositories/DatabaseRoomRepository.cs
@@ -117,6 +117,12 @@ public async Task
SaveNewRoom(Room room)
return room;
}
+
+
+
+
+
+
public async Task AddAmenityToRoom(int amenityId, long roomId)
{
var roomAmenity = new RoomAmenities
diff --git a/AsyncInn/Models/ApiRecievals/CreateHotelRoom.cs b/AsyncInn/Models/ApiRecievals/CreateHotelRoom.cs
index 2d50515..c5551eb 100644
--- a/AsyncInn/Models/ApiRecievals/CreateHotelRoom.cs
+++ b/AsyncInn/Models/ApiRecievals/CreateHotelRoom.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Threading.Tasks;
+using System.ComponentModel.DataAnnotations;
namespace AsyncInn.Models.ApiRecievals
{
diff --git a/AsyncInn/Properties/launchSettings.json b/AsyncInn/Properties/launchSettings.json
index 0c749a2..274f245 100644
--- a/AsyncInn/Properties/launchSettings.json
+++ b/AsyncInn/Properties/launchSettings.json
@@ -10,7 +10,6 @@
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
- "launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
diff --git a/AsyncInn/Views/Home/Index.cshtml b/AsyncInn/Views/Home/Index.cshtml
index 44948b7..325a1e4 100644
--- a/AsyncInn/Views/Home/Index.cshtml
+++ b/AsyncInn/Views/Home/Index.cshtml
@@ -5,6 +5,7 @@
-This is a really fun lab, I mean it.
+Async Inn
+