added missing view file

This commit is contained in:
Shannon
2013-12-11 08:51:07 +11:00
parent 68aa3f7b1b
commit 791c3f5208
2 changed files with 63 additions and 0 deletions

View File

@@ -2157,6 +2157,7 @@
<Content Include="Umbraco\PartialViews\Templates\MultinodeTree-picker.cshtml" />
<Content Include="Umbraco\PartialViews\Templates\Navigation.cshtml" />
<Content Include="Umbraco\PartialViews\Templates\SiteMap.cshtml" />
<Content Include="Umbraco\Views\AuthorizeUpgrade.cshtml" />
<None Include="Umbraco_client\CodeMirror\js\mode\coffeescript\LICENSE" />
<None Include="Umbraco_client\CodeMirror\js\mode\pascal\LICENSE" />
<None Include="Umbraco_client\CodeMirror\js\mode\perl\LICENSE" />

View File

@@ -0,0 +1,62 @@
@using System.Web.Mvc
@using System.Web.Mvc.Html
@using Umbraco.Core
@using ClientDependency.Core
@using ClientDependency.Core.Mvc
@using Umbraco.Web
@using Umbraco.Web.Editors
@using umbraco
@inherits System.Web.Mvc.WebViewPage
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<base href="@GlobalSettings.Path.EnsureEndsWith('/')" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Umbraco</title>
<link rel="stylesheet" href="assets/css/umbraco.css" />
@*Because we're lazy loading angular js, the embedded cloak style will not be loaded initially, but we need it*@
<style>
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
</style>
</head>
<body id="umbracoMainPageBody" ng-controller="Umbraco.AuthorizeUpgradeController">
<div data-backdrop="false" class="modal hide login-overlay" aria-hidden="false" style="display: block;">
<div ng-include="'views/common/dialogs/login.html'"></div>
</div>
@*
These are the bare minimal server variables that are required for the application to start without being authenticated,
we will load the rest of the server vars after the user is authenticated.
*@
<script type="text/javascript">
var Umbraco = {};
Umbraco.Sys = {};
Umbraco.Sys.ServerVariables = {
"umbracoUrls": {
"authenticationApiBaseUrl": "@(Url.GetUmbracoApiServiceBaseUrl<AuthenticationController>(controller => controller.PostLogin(null, null)))",
"serverVarsJs": '@Url.Action("ServerVariables", "BackOffice")'
}
};
</script>
@*And finally we can load in our angular app*@
<script type="text/javascript" src="lib/yepnope/yepnope.min.js"></script>
<script type="text/javascript" src="@Url.Action("Application", "BackOffice")"></script>
</body>
</html>