SillyTavern/public/scripts/templates/userProfile.html

87 lines
3.9 KiB
HTML
Raw Normal View History

2024-04-10 01:09:38 +02:00
<div class="flex-container flexFlowColumn justifyLeft flexGap10">
<div>
2024-04-10 02:29:38 +02:00
<h2 class="marginBot10 flex-container">
<span>Hi,</span><span class="userName margin0"></span>
2024-04-12 22:18:43 +02:00
<div data-require-accounts class="userChangeNameButton right_menu_button" title="Change display name.">
2024-04-10 02:29:38 +02:00
<i class="fa-fw fa-solid fa-pencil fa-xs"></i>
</div>
2024-04-10 01:09:38 +02:00
</h2>
2024-04-12 22:18:43 +02:00
<div class="accountsDisabledHint" style="display: none;">
To enable multi-account features, restart the SillyTavern server with <code>enableUserAccounts</code> set to true in the config.yaml file.
</div>
2024-04-10 01:09:38 +02:00
</div>
<div>
<h3>
Account Info
</h3>
<div class="flex-container flexGap10">
<div>
2024-04-10 02:29:38 +02:00
<div class="avatar" title="To change your user avatar, select a default persona in the Persona Management menu.">
2024-04-10 01:09:38 +02:00
<img src="img/ai4.png" alt="avatar">
</div>
</div>
<div class="flex1 flex-container flexGap10">
<div class="flex-container flexFlowColumn">
<div>
<span data-i18n="Handle:">Handle:</span>
<span class="userHandle"></span>
</div>
<div>
<span data-i18n="Role:">Role:</span>
<span class="userRole"></span>
</div>
</div>
<div class="flex-container flexFlowColumn">
<div>
<span data-i18n="Created:">Created:</span>
<span class="userCreated"></span>
</div>
<div>
<span data-i18n="Password:">Password:</span>
2024-04-10 23:40:01 +02:00
<i class="hasPassword fa-fw fa-solid fa-lock" title="This account is password protected."></i>
<i class="noPassword fa-fw fa-solid fa-lock-open" title="This account is not password protected."></i>
2024-04-10 01:09:38 +02:00
</div>
</div>
</div>
</div>
</div>
<div>
<h3>
Account Actions
</h3>
<div class="flex-container flexFlowColumn flexNoGap">
2024-04-12 22:18:43 +02:00
<div data-require-accounts class="flex-container">
2024-04-10 01:09:38 +02:00
<div class="userChangePasswordButton menu_button menu_button_icon" title="Change your password.">
<i class="fa-fw fa-solid fa-key"></i>
<span data-i18n="Change Password">Change Password</span>
</div>
</div>
<div class="flex-container">
<div class="userSettingsSnapshotsButton menu_button menu_button_icon" title="Manage your settings snapshots.">
<i class="fa-fw fa-solid fa-camera"></i>
<span data-i18n="Settings Snapshots">Settings Snapshots</span>
</div>
2024-04-10 02:29:38 +02:00
<div class="userBackupButton menu_button menu_button_icon" title="Download a complete backup of your user data.">
2024-04-10 01:09:38 +02:00
<i class="fa-fw fa-solid fa-download"></i>
<span data-i18n="Download Backup">Download Backup</span>
</div>
</div>
</div>
</div>
<div>
<h3>
Danger Zone
</h3>
<div class="flex-container">
2024-04-10 02:29:38 +02:00
<div class="userResetSettingsButton menu_button menu_button_icon" title="Reset your settings to factory defaults.">
2024-04-10 01:09:38 +02:00
<i class="fa-fw fa-solid fa-cog warning"></i>
<span data-i18n="Reset Settings">Reset Settings</span>
</div>
2024-04-12 23:11:20 +02:00
<div class="userResetAllButton menu_button menu_button_icon" title="Wipe all user data and reset your account to factory settings.">
2024-04-10 01:09:38 +02:00
<i class="fa-fw fa-solid fa-skull warning"></i>
<span data-i18n="Reset Everything">Reset Everything</span>
</div>
</div>
</div>
</div>