Browse Source

Added a simple layout to abpdesk

pull/81/head
Halil İbrahim Kalkan 10 years ago
parent
commit
a39630674f
  1. 18
      src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml
  2. 7
      src/AbpDesk/AbpDesk.Web.Mvc/Views/Tickets/Index.cshtml
  3. 1
      src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml
  4. 3
      src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewStart.cshtml

18
src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml

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

7
src/AbpDesk/AbpDesk.Web.Mvc/Views/Tickets/Index.cshtml

@ -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>

1
src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml

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

3
src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewStart.cshtml

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