mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
update portal landing page with tiles (#915)
This commit is contained in:
parent
c11af22010
commit
f27df01158
@ -1,8 +1,31 @@
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
@inject SignInManager<Bit.Core.Models.Table.User> SignInManager
|
||||
@inject Bit.Core.Services.II18nService i18nService
|
||||
@inject Bit.Portal.EnterprisePortalCurrentContext EnterprisePortalCurrentContext
|
||||
|
||||
<div class="page-header">
|
||||
<h1>Welcome</h1>
|
||||
<h1>@i18nService.T("WelcomeToBusinessPortal")</h1>
|
||||
</div>
|
||||
<div class="row">
|
||||
@if (EnterprisePortalCurrentContext.SelectedOrganizationDetails.UseSso &&
|
||||
EnterprisePortalCurrentContext.AdminForSelectedOrganization)
|
||||
{
|
||||
<div class="col">
|
||||
<a class="card p-5 border border-primary" asp-area="" asp-controller="Sso" asp-action="Index">
|
||||
<h2 class="card-title text-center">@i18nService.T("SingleSignOn")</h2>
|
||||
</a>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (EnterprisePortalCurrentContext.SelectedOrganizationDetails.UsePolicies &&
|
||||
EnterprisePortalCurrentContext.AdminForSelectedOrganization)
|
||||
{
|
||||
<div class="col">
|
||||
<a class="card p-5 border border-primary" asp-area="" asp-controller="Policies" asp-action="Index">
|
||||
<h2 class="card-title text-center">@i18nService.T("Policies")</h2>
|
||||
</a>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<p>Hello world...</p>
|
||||
|
@ -442,4 +442,7 @@
|
||||
<data name="Never">
|
||||
<value>Never</value>
|
||||
</data>
|
||||
<data name="WelcomeToBusinessPortal">
|
||||
<value>Welcome to the Bitwarden Business Portal</value>
|
||||
</data>
|
||||
</root>
|
||||
|
Loading…
x
Reference in New Issue
Block a user