Files
Umbraco-CMS/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml

51 lines
1.5 KiB
Plaintext

@using System.Web.Mvc.Html
@using Umbraco.Core
@using ClientDependency.Core
@using ClientDependency.Core.Mvc
@inherits System.Web.Mvc.WebViewPage
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<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" />
<link rel="stylesheet" href="../umbraco_client/tree/treeicons.css" />
</head>
<body ng-controller="MainController" id="umbracoMainPageBody">
<div ng-cloak id="Div1" class="clearfix" ng-click="closeDialogs($event)">
<umb-navigation></umb-navigation>
<section id="contentwrapper">
<div id="contentcolumn">
<div class="content-column-body" ng-view></div>
</div>
</section>
</div>
<umb-notifications></umb-notifications>
@*Currently this needs to be loaded before anything*@
<script src="@Url.Action("ServerVariables", "BackOffice")" type="text/javascript"></script>
@*Now we need to load in some legacy stuff*@
<script src="@Url.Action("LegacyTreeJs", "BackOffice")" type="text/javascript"></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>