├── Spice ├── Views │ ├── _ViewStart.cshtml │ ├── _ViewImports.cshtml │ └── Shared │ │ ├── Components │ │ └── UserName │ │ │ └── Default.cshtml │ │ ├── _CreateButtonPartial.cshtml │ │ ├── _CreateAndBackToListButton.cshtml │ │ ├── _DeleteAndBackToListButton.cshtml │ │ ├── _EditAndBackToListButton.cshtml │ │ ├── _DetailsAndBackToListButton.cshtml │ │ ├── _StatusMessage.cshtml │ │ ├── _OrderStatus.cshtml │ │ ├── _TableButtonPartial.cshtml │ │ ├── Error.cshtml │ │ ├── _LoginPartial.cshtml │ │ ├── _CookieConsentPartial.cshtml │ │ ├── _ValidationScriptsPartial.cshtml │ │ └── _ThumbnailAreaPArtial.cshtml ├── Areas │ ├── Identity │ │ ├── Pages │ │ │ ├── Account │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Manage │ │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ │ ├── DownloadPersonalData.cshtml │ │ │ │ │ ├── _StatusMessage.cshtml │ │ │ │ │ ├── _Layout.cshtml │ │ │ │ │ ├── Disable2fa.cshtml │ │ │ │ │ ├── PersonalData.cshtml │ │ │ │ │ ├── ResetAuthenticator.cshtml │ │ │ │ │ ├── PersonalData.cshtml.cs │ │ │ │ │ ├── GenerateRecoveryCodes.cshtml │ │ │ │ │ ├── _ManageNav.cshtml │ │ │ │ │ ├── DeletePersonalData.cshtml │ │ │ │ │ ├── SetPassword.cshtml │ │ │ │ │ ├── ChangePassword.cshtml │ │ │ │ │ ├── ManageNavPages.cs │ │ │ │ │ ├── Index.cshtml │ │ │ │ │ ├── DownloadPersonalData.cshtml.cs │ │ │ │ │ ├── ExternalLogins.cshtml │ │ │ │ │ ├── TwoFactorAuthentication.cshtml │ │ │ │ │ ├── ResetAuthenticator.cshtml.cs │ │ │ │ │ ├── Disable2fa.cshtml.cs │ │ │ │ │ ├── TwoFactorAuthentication.cshtml.cs │ │ │ │ │ ├── GenerateRecoveryCodes.cshtml.cs │ │ │ │ │ ├── DeletePersonalData.cshtml.cs │ │ │ │ │ ├── EnableAuthenticator.cshtml │ │ │ │ │ ├── SetPassword.cshtml.cs │ │ │ │ │ └── ChangePassword.cshtml.cs │ │ │ │ ├── Logout.cshtml │ │ │ │ ├── ConfirmEmail.cshtml │ │ │ │ ├── ForgotPasswordConfirmation.cshtml │ │ │ │ ├── AccessDenied.cshtml │ │ │ │ ├── Lockout.cshtml │ │ │ │ ├── ResetPasswordConfirmation.cshtml │ │ │ │ ├── AccessDenied.cshtml.cs │ │ │ │ ├── ForgotPasswordConfirmation.cshtml.cs │ │ │ │ ├── Lockout.cshtml.cs │ │ │ │ ├── ResetPasswordConfirmation.cshtml.cs │ │ │ │ ├── ForgotPassword.cshtml │ │ │ │ ├── LoginWithRecoveryCode.cshtml │ │ │ │ ├── ConfirmEmail.cshtml.cs │ │ │ │ ├── Logout.cshtml.cs │ │ │ │ ├── ResetPassword.cshtml │ │ │ │ ├── LoginWith2fa.cshtml │ │ │ │ ├── ForgotPassword.cshtml.cs │ │ │ │ ├── ResetPassword.cshtml.cs │ │ │ │ ├── LoginWithRecoveryCode.cshtml.cs │ │ │ │ ├── Login.cshtml │ │ │ │ └── LoginWith2fa.cshtml.cs │ │ │ ├── _ViewStart.cshtml │ │ │ ├── _ViewImports.cshtml │ │ │ ├── Error.cshtml.cs │ │ │ ├── Error.cshtml │ │ │ └── _ValidationScriptsPartial.cshtml │ │ └── IdentityHostingStartup.cs │ ├── Admin │ │ ├── Views │ │ │ ├── _ViewStart.cshtml │ │ │ ├── _ViewImports.cshtml │ │ │ ├── Category │ │ │ │ ├── Details.cshtml │ │ │ │ ├── Delete.cshtml │ │ │ │ ├── Create.cshtml │ │ │ │ ├── Edit.cshtml │ │ │ │ └── Index.cshtml │ │ │ ├── SubCategory │ │ │ │ ├── Details.cshtml │ │ │ │ ├── Delete.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ ├── Create.cshtml │ │ │ │ └── Edit.cshtml │ │ │ ├── MenuItem │ │ │ │ ├── Index.cshtml │ │ │ │ ├── Details.cshtml │ │ │ │ └── Delete.cshtml │ │ │ ├── Coupon │ │ │ │ ├── Index.cshtml │ │ │ │ ├── Details.cshtml │ │ │ │ ├── Create.cshtml │ │ │ │ ├── Delete.cshtml │ │ │ │ └── Edit.cshtml │ │ │ └── User │ │ │ │ └── Index.cshtml │ │ └── Controllers │ │ │ ├── UserController.cs │ │ │ └── CategoryController.cs │ └── Customer │ │ └── Views │ │ ├── _ViewStart.cshtml │ │ ├── _ViewImports.cshtml │ │ ├── Home │ │ ├── Privacy.cshtml │ │ └── Index.cshtml │ │ └── Order │ │ └── Confirm.cshtml ├── wwwroot │ ├── favicon.ico │ ├── images │ │ ├── 1.jpg │ │ ├── 10.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 7.jpg │ │ ├── 8.jpeg │ │ ├── 9.jpg │ │ ├── mild.png │ │ ├── 15OFF.png │ │ ├── 20OFF.png │ │ ├── spicy.png │ │ ├── InKitchen.png │ │ ├── completed.png │ │ ├── verySpicy.png │ │ ├── OrderPlaced.png │ │ ├── default_food.png │ │ ├── ReadyForPickup.png │ │ └── dust_scratches.png │ ├── css │ │ ├── images │ │ │ ├── ui-icons_444444_256x240.png │ │ │ ├── ui-icons_555555_256x240.png │ │ │ ├── ui-icons_777620_256x240.png │ │ │ ├── ui-icons_777777_256x240.png │ │ │ ├── ui-icons_cc0000_256x240.png │ │ │ └── ui-icons_ffffff_256x240.png │ │ └── site.css │ ├── js │ │ └── site.js │ └── lib │ │ ├── jquery-validation-unobtrusive │ │ └── LICENSE.txt │ │ ├── jquery-validation │ │ └── LICENSE.md │ │ ├── bootstrap │ │ ├── LICENSE │ │ └── dist │ │ │ └── css │ │ │ └── bootstrap-reboot.min.css │ │ └── jquery │ │ └── LICENSE.txt ├── appsettings.Development.json ├── Data │ ├── IDbInitializer.cs │ ├── ApplicationDbContext.cs │ ├── Migrations │ │ ├── 20181206183855_addCategoryToDatabase.cs │ │ ├── 20181209071258_AddCouponToDatabase.cs │ │ ├── 20181208181334_addSubCategoryToDatabase.cs │ │ ├── 20181209210635_AddMoreFieldsToIdentityUser.cs │ │ ├── 20181209035249_AddMenuItemToDatabase.cs │ │ └── 20181212202216_AddShoppingCartToDb.cs │ └── DbInitializer.cs ├── Models │ ├── ErrorViewModel.cs │ ├── ViewModels │ │ ├── OrderDetailsCart.cs │ │ ├── OrderListViewModel.cs │ │ ├── OrderDetailsViewModel.cs │ │ ├── MenuItemViewModel.cs │ │ ├── IndexViewModel.cs │ │ └── SubCategoryAndCategoryViewModel.cs │ ├── Category.cs │ ├── PagingInfo.cs │ ├── ApplicationUser.cs │ ├── SubCategory.cs │ ├── Coupon.cs │ ├── OrderDetails.cs │ ├── ShoppingCart.cs │ ├── MenuItem.cs │ └── OrderHeader.cs ├── Service │ ├── EmailOptions.cs │ └── EmailSender.cs ├── Utility │ ├── StripeSettings.cs │ └── SD.cs ├── Extensions │ ├── ReflectionExtension.cs │ └── IEnumerableExtension.cs ├── appsettings.json ├── Program.cs ├── Properties │ ├── launchSettings.json │ └── PublishProfiles │ │ ├── FolderProfile.pubxml │ │ └── Spice20190104024839 - Web Deploy.pubxml ├── ScaffoldingReadMe.txt ├── ViewComponenets │ └── UserNameViewComponent.cs ├── Spice.csproj └── TagHelpers │ └── PageLinkTagHelper.cs ├── Spice.sln └── .gitattributes /Spice/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/Account/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Spice.Areas.Identity.Pages.Account -------------------------------------------------------------------------------- /Spice/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/favicon.ico -------------------------------------------------------------------------------- /Spice/wwwroot/images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/1.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/10.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/3.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/4.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/5.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/6.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/7.jpg -------------------------------------------------------------------------------- /Spice/wwwroot/images/8.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/8.jpeg -------------------------------------------------------------------------------- /Spice/wwwroot/images/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/9.jpg -------------------------------------------------------------------------------- /Spice/Areas/Admin/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /Spice/Areas/Customer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /Spice/wwwroot/images/mild.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/mild.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/15OFF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/15OFF.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/20OFF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/20OFF.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/spicy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/spicy.png -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Spice.Areas.Identity.Pages.Account.Manage 2 | -------------------------------------------------------------------------------- /Spice/wwwroot/images/InKitchen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/InKitchen.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/completed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/completed.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/verySpicy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/verySpicy.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/OrderPlaced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/OrderPlaced.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/default_food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/default_food.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/ReadyForPickup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/ReadyForPickup.png -------------------------------------------------------------------------------- /Spice/wwwroot/images/dust_scratches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/images/dust_scratches.png -------------------------------------------------------------------------------- /Spice/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Spice 2 | @using Spice.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /Spice/Views/Shared/Components/UserName/Default.cshtml: -------------------------------------------------------------------------------- 1 | @model Spice.Models.ApplicationUser 2 | Hi! @Model.Name -------------------------------------------------------------------------------- /Spice/Areas/Admin/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Spice 2 | @using Spice.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /Spice/wwwroot/css/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/css/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /Spice/wwwroot/css/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/css/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /Spice/wwwroot/css/images/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/css/images/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /Spice/wwwroot/css/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/css/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /Spice/wwwroot/css/images/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/css/images/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /Spice/wwwroot/css/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhrugen/Spice/HEAD/Spice/wwwroot/css/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /Spice/Views/Shared/_CreateButtonPartial.cshtml: -------------------------------------------------------------------------------- 1 |
2 | Create New 3 |
-------------------------------------------------------------------------------- /Spice/Areas/Customer/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Spice 2 | @using Spice.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | @addTagHelper Spice.TagHelpers.*, Spice 5 | -------------------------------------------------------------------------------- /Spice/Areas/Customer/Views/Home/Privacy.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Privacy Policy"; 3 | } 4 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /Spice/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Identity 2 | @using Spice.Areas.Identity 3 | @using Microsoft.AspNetCore.Identity 4 | @namespace Spice.Areas.Identity.Pages 5 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 6 | -------------------------------------------------------------------------------- /Spice/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/Account/Logout.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model LogoutModel 3 | @{ 4 | ViewData["Title"] = "Log out"; 5 | } 6 | 7 |You have successfully logged out of the application.
10 |10 | Thank you for confirming your email. 11 |
12 |9 | Please check your email to reset your password. 10 |
11 | 12 | -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/Account/AccessDenied.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model AccessDeniedModel 3 | @{ 4 | ViewData["Title"] = "Access denied"; 5 | } 6 | 7 |You do not have access to this resource.
10 |This account has been locked out, please try again later.
10 |9 | Your password has been reset. Please click here to log in. 10 |
11 | -------------------------------------------------------------------------------- /Spice/Utility/StripeSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace Spice.Utility 7 | { 8 | public class StripeSettings 9 | { 10 | public string SecretKey { get; set; } 11 | public string PublishableKey { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Spice/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model DownloadPersonalDataModel 3 | @{ 4 | ViewData["Title"] = "Download Your Data"; 5 | ViewData["ActivePage"] = ManageNavPages.PersonalData; 6 | } 7 | 8 |