[frontend/pages] Add bot, cat, and speak as cat profile settings
This commit is contained in:
parent
dad0fabc5b
commit
cabfbdce0c
1 changed files with 16 additions and 0 deletions
|
@ -82,6 +82,22 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="section">
|
||||||
|
<h3>@Loc["Other"]</h3>
|
||||||
|
<div>
|
||||||
|
<input type="checkbox" id="is-bot" @bind="@UserProfile.IsBot">
|
||||||
|
<label for="is-bot">@Loc["Mark as an automated (bot) account"]</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="checkbox" id="is-cat" @bind="@UserProfile.IsCat">
|
||||||
|
<label for="is-cat">@Loc["Mark as a cat"]</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="checkbox" id="speak-cat" @bind="@UserProfile.SpeakAsCat" disabled="@(!UserProfile.IsCat)">
|
||||||
|
<label for="speak-cat">@Loc["Speak as a cat"]</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<StateButton OnClick="SaveChanges" ExtraClasses="button" @ref="SaveButton">
|
<StateButton OnClick="SaveChanges" ExtraClasses="button" @ref="SaveButton">
|
||||||
<Initial>
|
<Initial>
|
||||||
|
|
Loading…
Add table
Reference in a new issue