This commit is contained in:
Sung Won Cho 2022-04-23 19:06:11 +10:00
commit 0f2d42607c
6 changed files with 11 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -27,7 +27,7 @@
{{define "accountDropdown"}}
<div class="dropdown account-dropdown">
<button class="dropdown-trigger button-no-ui nav-item">Account</button>
<button id="T-account-menu" class="dropdown-trigger button-no-ui nav-item">Account</button>
<div class="dropdown-content right-align">
<header>
@ -63,6 +63,6 @@
{{define "logoutForm"}}
<form action="/logout" method="POST">
{{csrfField}}
<input type="submit" class="button-no-ui dropdown-link" role="menuitem" tabindex="0" value="Logout"></input>
<input id="T-logout-button" type="submit" class="button-no-ui dropdown-link" role="menuitem" tabindex="0" value="Logout"></input>
</form>
{{end}}

View file

@ -1,5 +1,5 @@
{{define "yield"}}
<div class="auth-page">
<div id="T-login-page" class="auth-page">
<div class="container">
<a href="{{rootURL}}">
{{template "logo" .}}

View file

@ -36,7 +36,7 @@
{{end}}
{{define "signupForm"}}
<form action="{{ if .Referrer }} {{ getPathWithReferrer "/join" .Referrer }} {{else}} /join {{end}}" method="POST">
<form id="T-join-form" action="{{ if .Referrer }} {{ getPathWithReferrer "/join" .Referrer }} {{else}} /join {{end}}" method="POST">
{{csrfField}}
<div class="form-group">

View file

@ -1,5 +1,5 @@
{{define "yield"}}
<div class="page page-mobile-full settings-page">
<div id="T-home-page" class="page page-mobile-full settings-page">
<div class="container mobile-fw">
<div class="page-header">
<h1 class="page-heading">Settings</h1>
@ -25,7 +25,7 @@
{{end}}
{{define "emailForm"}}
<form action="/account/profile" method="POST">
<form id="T-email-change-form" action="/account/profile" method="POST">
{{/* prevent browsers from automatically filling the input fields */}}
<input type="password" style="display: none;" readonly />
<input type="hidden" name="_method" value="PATCH" />
@ -72,7 +72,7 @@
{{end}}
{{define "passwordChangeForm"}}
<form action="/account/password" method="POST">
<form id="T-password-change-form" action="/account/password" method="POST">
{{/* prevent browsers from automatically filling the input fields */}}
<input type="password" style="display: none;" readonly />
<input type="hidden" name="_method" value="PATCH" />
@ -163,7 +163,7 @@
<form action="/verification-token" method="POST" class="email-verification-form">
<button
id="#T-send-verification-button"
id="T-send-verification-button"
class="button button-second button-small"
type="submit"
>
@ -227,7 +227,7 @@
{{if .Cloud}}
Yes
{{else}}
<a id="#T-unlock-pro-btn"
<a id="T-unlock-pro-btn"
href="/subscriptions"
class="button button-first button-small">
Unlock