Posted on @Model.PublishedUtc
15 | 16 |We will contact you as soon as possible!
23 |
37 | 3481 Melrose Place
38 |
Beverly Hills, CA 90210
39 |
40 |
42 | P: (123) 456-7890 43 |
44 |45 | E: 46 | 47 | name@example.com 48 | 49 |
50 |51 | H: Monday - Friday: 9:00 AM to 5:00 PM 52 |
53 |@(Orchard.MarkdownToHtml(((string)post.Content.MarkdownBodyPart.Markdown).Ellipsize(200)))
11 | Read More 12 |@Html.Raw(((string)post.Content.HtmlBodyPart.Html).Ellipsize(200))
17 | Read More → 18 |@project.Content.HtmlBodyPart.Html
18 | 19 | @T["View Project"] 20 | 21 | 22 |@project.Content.HtmlBodyPart.Html
18 |@project.Content.HtmlBodyPart.Html
18 |@project.Content.HtmlBodyPart.Html
18 |@Html.Raw(service.Content.HtmlBodyPart.Html)
8 |@Html.Raw(item.Content.HtmlBodyPart.Html)
16 |10 | @Html.Raw(Model.HeaderInfo.Content.HtmlBodyPart.Html) 11 | @Model.HeaderInfo.Content.RawContent.Link.Text. 12 |
13 | 14 | -------------------------------------------------------------------------------- /src/Modules.Pages/ModernBusiness.Pages.Static/Pages/Full-Width.cshtml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Authorization; 6 | using Microsoft.AspNetCore.Mvc; 7 | using Microsoft.AspNetCore.Mvc.RazorPages; 8 | using OrchardCore; 9 | using OrchardCore.ContentManagement; 10 | using OrchardCore.Contents; 11 | 12 | namespace ModernBusiness.Pages.Static 13 | { 14 | [Authorize(Roles = "Developer")] 15 | public class Full_WidthModel : PageModel 16 | { 17 | private readonly IOrchardHelper _orchardCore; 18 | private readonly IAuthorizationService _authorizationService; 19 | 20 | public Full_WidthModel(IOrchardHelper orchardCore, IAuthorizationService authorizationService) 21 | { 22 | _orchardCore = orchardCore; 23 | _authorizationService = authorizationService; 24 | 25 | } 26 | 27 | public ContentItem HeaderInfo { get; private set; } 28 | 29 | public async TaskMaybe you want to Logout?
-------------------------------------------------------------------------------- /src/Modules.Pages/ModernBusiness.Pages.Users/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @inherits OrchardCore.DisplayManagement.RazorPages.Page 2 | @using OrchardCore.ContentManagement 3 | @using ModernBusiness.Pages.Users.Pages 4 | @using OrchardCore.Settings 5 | 6 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 7 | @addTagHelper *, OrchardCore.DisplayManagement 8 | @addTagHelper *, OrchardCore.ResourceManagement 9 | @addTagHelper *, OrchardCore.Contents 10 | @addTagHelper *, OrchardCore.Menu 11 | 12 | -------------------------------------------------------------------------------- /src/Modules.Pages/ModernBusiness.Pages.Users/Pages/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /src/Modules.Pages/ModernBusiness.Pages.Users/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.DependencyInjection; 2 | using Microsoft.AspNetCore.Identity; 3 | using OrchardCore.Modules; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Text; 7 | using Microsoft.AspNetCore.Mvc.RazorPages; 8 | using Microsoft.AspNetCore.Mvc.ApplicationModels; 9 | 10 | namespace ModernBusiness.Pages.Users 11 | { 12 | public class Startup : StartupBase 13 | { 14 | public override void ConfigureServices(IServiceCollection services) 15 | { 16 | services.ConfigureApplicationCookie(options => 17 | { 18 | options.LoginPath = "/Login"; 19 | }); 20 | 21 | services.ConfigureCopyright © Your Website 2019
4 | 5 |{{ item.Content.HtmlBodyPart.Html | raw }}
16 |{{ item.Content.HtmlBodyPart.Html | raw }}
15 |@T["The page you're looking for could not be found. Here are some helpful links to get you back on track:"]
19 |
9 | Request ID: @Context.TraceIdentifier
10 |
14 | Swapping to Development environment will display more detailed 15 | information about the error that occurred. 16 |
17 |18 | 19 | Development environment should not be enabled in deployed applications 20 | , as it can result in sensitive information from exceptions being 21 | displayed to end users. For local debugging, development environment can be 22 | enabled by setting the ASPNETCORE_ENVIRONMENT environment 23 | variable to Development, and restarting the application. 24 |
-------------------------------------------------------------------------------- /src/Themes.Pages/ModernBusiness.Theme/Views/Shared/sitemap.cshtml: -------------------------------------------------------------------------------- 1 | @model dynamic 2 |@T["The page you're looking for could not be found. Here are some helpful links to get you back on track:"]
19 |