Migrated RenderNoContentController + related (#9309)
* Migrated RenderNoContentController + related Signed-off-by: Bjarke Berg <mail@bergmania.dk> * Fix after MSDI Signed-off-by: Bjarke Berg <mail@bergmania.dk> * Update src/Umbraco.Web.UI/Umbraco.Web.UI.csproj Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> * Removing connection string * Fixed tests after moving endpoint registration Signed-off-by: Bjarke Berg <mail@bergmania.dk> Co-authored-by: Elitsa Marinovska <elm@umbraco.dk> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
This commit is contained in:
@@ -49,6 +49,7 @@ namespace Umbraco.Web.UI.NetCore
|
||||
}
|
||||
|
||||
app.UseUmbraco();
|
||||
app.UseUmbracoWebsite();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
<ItemGroup>
|
||||
<Folder Include="Views" />
|
||||
<Folder Include="wwwroot\Media" />
|
||||
<Folder Include="umbraco" />
|
||||
<Folder Include="Views" />
|
||||
<Folder Include="wwwroot\Media" />
|
||||
</ItemGroup>
|
||||
@@ -55,6 +54,7 @@
|
||||
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
|
||||
</None>
|
||||
<None Remove="App_Data\**" />
|
||||
<None Include="umbraco\UmbracoWebsite\NoNodes.cshtml" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- We don't want to include the generated files, they will throw a lot of errors -->
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
"ConvertUrlsToAscii": "try"
|
||||
},
|
||||
"RuntimeMinification": {
|
||||
"dataFolder": "App_Data/TEMP/Smidge",
|
||||
"version": "1"
|
||||
"dataFolder": "App_Data/TEMP/Smidge",
|
||||
"version": "637395756047165417"
|
||||
},
|
||||
"Security": {
|
||||
"KeepUserLoggedIn": false,
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
@model Umbraco.Web.Website.Models.NoNodesViewModel
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>Umbraco: No Published Content</title>
|
||||
|
||||
<link rel="stylesheet" href="../../umbraco/assets/css/nonodes.style.min.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<div>
|
||||
<div class="logo"></div>
|
||||
|
||||
<h1>Welcome to your Umbraco installation</h1>
|
||||
<h3>You're seeing this wonderful page because your website doesn't contain any published content yet.</h3>
|
||||
|
||||
<div class="cta">
|
||||
<a href="@Model.UmbracoPath" class="button">Open Umbraco</a>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h2>Easy start with Umbraco.tv</h2>
|
||||
<p>We have created a bunch of 'how-to' videos, to get you easily started with Umbraco. Learn how to build projects in just a couple of minutes. Easiest CMS in the world.</p>
|
||||
|
||||
<a href="https://umbraco.tv?ref=tvFromInstaller" target="_blank">Umbraco.tv →</a>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h2>Be a part of the community</h2>
|
||||
<p>The Umbraco community is the best of its kind, be sure to visit, and if you have any questions, we're sure that you can get your answers from the community.</p>
|
||||
|
||||
<a href="https://our.umbraco.com/?ref=ourFromInstaller" target="_blank">our.Umbraco →</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user