Added a simple layout to abpdesk

pull/81/head
Halil İbrahim Kalkan 9 years ago
parent 1828593051
commit a39630674f

@ -0,0 +1,18 @@
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>title</title>
@RenderSection("styles", false)
</head>
<body>
@RenderBody()
</body>
</html>

@ -1,7 +1,10 @@
@using AbpDesk.Web.Mvc.Models.Tickets
@model AbpDesk.Web.Mvc.Models.Tickets.IndexViewModel
@model IndexViewModel
<link rel="stylesheet" type="text/css" href="~/global-styles.css"/>
@section styles
{
<link rel="stylesheet" type="text/css" href="~/global-styles.css" />
}
<h2>Tickets</h2>

@ -0,0 +1 @@
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

@ -0,0 +1,3 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
Loading…
Cancel
Save