Skip to content

Commit

Permalink
feat: translation page
Browse files Browse the repository at this point in the history
  • Loading branch information
aguacongas committed May 27, 2020
1 parent 9af6eca commit 75e0f27
Show file tree
Hide file tree
Showing 27 changed files with 1,372 additions and 131 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,25 @@
<div class="panel-body">
@if ((Model.ExternalLogins?.Count ?? 0) == 0)
{
<div>
<p>
There are no external authentication services configured. See <a href="https://go.microsoft.com/fwlink/?LinkID=532715">this article</a>
for details on setting up this ASP.NET application to support logging in via external services.
</p>
</div>
<div>
<p>
There are no external authentication services configured. See <a href="https://go.microsoft.com/fwlink/?LinkID=532715">this article</a>
for details on setting up this ASP.NET application to support logging in via external services.
</p>
</div>
}
else
{
<form id="external-account" asp-page="./ExternalLogin" asp-route-returnUrl="@Model.ReturnUrl" method="post" class="form-horizontal">
<div>
<p>
@foreach (var provider in Model.ExternalLogins)
<form id="external-account" asp-page="./ExternalLogin" asp-route-returnUrl="@Model.ReturnUrl" method="post" class="form-horizontal">
<div>
<p>
@foreach (var provider in Model.ExternalLogins)
{
<button type="submit" class="btn btn-default" name="provider" value="@provider.Name" title="Log in using your @provider.DisplayName account">@provider.DisplayName</button>
<button type="submit" class="btn btn-default" name="provider" value="@provider.Name" title="Log in using your @provider.DisplayName account">@provider.DisplayName</button>
}
</p>
</div>
</form>
</p>
</div>
</form>
}
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/Aguacongas.TheIdServer.BlazorApp/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
<span class="oi oi-cloud-upload" aria-hidden="true"></span> Providers
</NavLink>
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="cultures">
<span class="oi oi-globe" aria-hidden="true"></span> Cultures
</NavLink>
</li>
</ul>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/Aguacongas.TheIdServer.BlazorApp/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ span.input-group-text.oi {
top: 0;
}

.resource {
margin-left: -0.9rem;
}

.select {
cursor: pointer;
}
Expand Down
Loading

0 comments on commit 75e0f27

Please sign in to comment.