mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
@page
|
|
@using Castle.Core.Internal
|
|
@using Microsoft.AspNetCore.Mvc.Localization
|
|
@using Volo.Docs
|
|
@using Volo.Docs.Localization
|
|
@using Volo.Docs.Pages.Documents
|
|
@inject IHtmlLocalizer<DocsResource> L
|
|
@model IndexModel
|
|
@{
|
|
}
|
|
@section styles {
|
|
<abp-style-bundle name="@typeof(IndexModel).FullName">
|
|
<abp-style src="/Pages/Documents/vs.css" />
|
|
<abp-style src="/assets/fa/css/font-awesome.min.css" />
|
|
</abp-style-bundle>
|
|
}
|
|
<div class="p-5">
|
|
|
|
@if (Model.Projects.IsNullOrEmpty())
|
|
{
|
|
<div class="alert alert-secondary text-center" role="alert">
|
|
@L["NoProjectWarning"]
|
|
</div>
|
|
}
|
|
@if (Model.Projects.Count > 0)
|
|
{
|
|
<h1>@L["Projects"]</h1>
|
|
<p>
|
|
<ul style="list-style-type: upper-roman;">
|
|
@foreach (var project in Model.Projects)
|
|
{
|
|
<li>
|
|
<h3>
|
|
<a asp-page="./Project/Index"
|
|
asp-route-projectName="@project.ShortName"
|
|
asp-route-version="@DocsAppConsts.Latest">
|
|
@project.Name
|
|
</a>
|
|
</h3>
|
|
</li>
|
|
}
|
|
</ul>
|
|
</p>
|
|
}
|
|
|
|
</div>
|