added nodeinfo partial view
This commit is contained in:
parent
56f0a3396a
commit
67801ea631
4 changed files with 37 additions and 0 deletions
16
src/BirdsiteLive/Component/NodeInfoViewComponent.cs
Normal file
16
src/BirdsiteLive/Component/NodeInfoViewComponent.cs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
|
namespace BirdsiteLive.Component
|
||||||
|
{
|
||||||
|
public class NodeInfoViewComponent : ViewComponent
|
||||||
|
{
|
||||||
|
public IViewComponentResult Invoke()
|
||||||
|
{
|
||||||
|
return View(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
@*
|
||||||
|
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||||
|
*@
|
||||||
|
|
||||||
|
<div>
|
||||||
|
TEST
|
||||||
|
</div>
|
|
@ -9,6 +9,7 @@
|
||||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||||
<link rel="stylesheet" href="~/css/site.css" />
|
<link rel="stylesheet" href="~/css/site.css" />
|
||||||
<link rel="stylesheet" href="~/css/birdsite.css" />
|
<link rel="stylesheet" href="~/css/birdsite.css" />
|
||||||
|
<link rel="stylesheet" href="~/css/pattern.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
@ -39,6 +40,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="border-top footer text-muted">
|
<footer class="border-top footer text-muted">
|
||||||
|
<div class="wrapper-nodeinfo">
|
||||||
|
<div class="container container-nodeinfo">
|
||||||
|
@await Component.InvokeAsync("NodeInfo")
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<a href="https://github.com/NicolasConstant/BirdsiteLive">Github</a> @*<a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>*@
|
<a href="https://github.com/NicolasConstant/BirdsiteLive">Github</a> @*<a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>*@
|
||||||
|
|
8
src/BirdsiteLive/wwwroot/css/pattern.css
Normal file
8
src/BirdsiteLive/wwwroot/css/pattern.css
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
.container-nodeinfo {
|
||||||
|
line-height: 30px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrapper-nodeinfo {
|
||||||
|
border-bottom: 1px solid #dee2e6;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue