Files
tytd2025/Tesses.YouTubeDownloader.Server/src/pages/settings.tcross
T
2026-09-30 04:03:51 -05:00

19 lines
716 B
Plaintext

func Pages.Settings(tytd,ctx)
{
const html= <fieldset>
<legend>Actions</legend>
<a class="button" hx-push-url="true" hx-get="./admin" hx-target="body" href="./admin">Admin</a>
<a class="button" hx-push-url="true" href="./api/v1/database.db">Download Database</a>
<a class="button" hx-push-url="true" hx-get="./whoami" hx-target="body" href="./whoami">whoami</a>
<a class="button" hx-push-url="true" hx-get="./passwd" hx-target="body" href="./passwd">Change password</a>
<a class="button" href="./logout">Logout</a>
</fieldset>;
return Components.Shell("Settings",html ,5);
}