[frontend/components] Update about page
This commit is contained in:
parent
4f7bac7a86
commit
9d203912e3
1 changed files with 27 additions and 25 deletions
|
@ -1,5 +1,6 @@
|
||||||
@page "/settings/about"
|
@page "/settings/about"
|
||||||
@using System.Text
|
@using System.Text
|
||||||
|
@using Iceshrimp.Assets.PhosphorIcons
|
||||||
@using Iceshrimp.Frontend.Core.InMemoryLogger
|
@using Iceshrimp.Frontend.Core.InMemoryLogger
|
||||||
@using Iceshrimp.Frontend.Core.Services
|
@using Iceshrimp.Frontend.Core.Services
|
||||||
@using Iceshrimp.Frontend.Localization
|
@using Iceshrimp.Frontend.Localization
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
@inject IJSRuntime Js;
|
@inject IJSRuntime Js;
|
||||||
@inject InMemoryLogService LogService;
|
@inject InMemoryLogService LogService;
|
||||||
|
|
||||||
|
<div class="body">
|
||||||
<div class="version">
|
<div class="version">
|
||||||
<h1>@Loc["Version Information"]</h1>
|
<h1>@Loc["Version Information"]</h1>
|
||||||
<span class="name">Iceshrimp.NET</span>
|
<span class="name">Iceshrimp.NET</span>
|
||||||
|
@ -37,9 +39,9 @@
|
||||||
<div class="logs">
|
<div class="logs">
|
||||||
<h1>@Loc["Logs"]</h1>
|
<h1>@Loc["Logs"]</h1>
|
||||||
@Loc["These logs may contain sensitive information, please do not post them publicly.\n" + "Providing them to developers upon request may help with debugging."]
|
@Loc["These logs may contain sensitive information, please do not post them publicly.\n" + "Providing them to developers upon request may help with debugging."]
|
||||||
<button class="btn" @onclick="DownloadLogs">@Loc["Download Logs"]</button>
|
<button class="button" @onclick="DownloadLogs"><Icon Name="Icons.DownloadSimple"/><span>@Loc["Download Logs"]</span></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
private IJSInProcessObjectReference _module = null!;
|
private IJSInProcessObjectReference _module = null!;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue