|
@@ -224,16 +224,32 @@
|
|
|
<div class="tab-pane fade p-lg-3 show active" id="register" role="tabpanel" aria-labelledby="register-tab">
|
|
|
<form>
|
|
|
<div class="form-floating mb-3">
|
|
|
- <input type="text" class="form-control" id="username" name="username" placeholder="User name" required>
|
|
|
- <label for="username"><i class="fas fa-user me-2"></i>User name</label>
|
|
|
+ <input type="text" class="form-control" id="username" name="username" placeholder="User Name" required>
|
|
|
+ <label for="username"><i class="fas fa-user me-2"></i><lan set-lan="html:userName">User Name</lan></label>
|
|
|
</div>
|
|
|
<div class="form-floating mb-3">
|
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="name@example.com" required>
|
|
|
- <label for="email"><i class="fas fa-envelope me-2"></i>Email address</label>
|
|
|
+ <label for="email"><i class="fas fa-envelope me-2"></i><lan set-lan="html:emailAddress">Email address</lan></label>
|
|
|
</div>
|
|
|
- <div class="form-floating mb-3">
|
|
|
+ <div class="form-floating mb-3 position-relative">
|
|
|
<input type="password" class="form-control" id="password" name="password" placeholder="Password" required>
|
|
|
- <label for="password"><i class="fas fa-lock me-2"></i>Password</label>
|
|
|
+ <label for="password">
|
|
|
+ <i class="fas fa-lock me-2"></i>
|
|
|
+ <lan set-lan="html:register_password">Password</lan>
|
|
|
+ <lan style="font-size: 12px;" set-lan="html:password_length">(4-12位數密碼)</lan>
|
|
|
+ </label>
|
|
|
+ <i class="fas fa-eye psd_visible position-absolute"></i>
|
|
|
+ <i class="fas fa-eye-slash psd_invisible position-absolute"></i>
|
|
|
+ </div>
|
|
|
+ <div class="form-floating mb-3 position-relative">
|
|
|
+ <input type="password" class="form-control" id="confirm_password" name="confirm_password" placeholder="Password" required>
|
|
|
+ <label for="confirm_password">
|
|
|
+ <i class="fas fa-lock me-2"></i>
|
|
|
+ <lan set-lan="html:confirm_password">Password</lan>
|
|
|
+ <lan style="font-size: 12px;" set-lan="html:password_confirm_txt">(再次輸入您的密碼)</lan>
|
|
|
+ </label>
|
|
|
+ <i class="fas fa-eye psd_visible position-absolute"></i>
|
|
|
+ <i class="fas fa-eye-slash psd_invisible position-absolute"></i>
|
|
|
</div>
|
|
|
<!-- <div class="mb-3">
|
|
|
<input type="checkbox" id="privacy" name="privacy" checked required>
|
|
@@ -246,6 +262,10 @@
|
|
|
<div class="mb-3 d-flex justify-content-center">
|
|
|
<button type="button" class="btn btn-primary align-items-center btn-register" set-lan="html:goRegister_link">立即註冊</button>
|
|
|
</div>
|
|
|
+ <small class="register__policies" set-lan="html:policies">
|
|
|
+ 註冊即表示您已閱讀並同意 <a href="" onclick="window.open('./privacy.html')">服務條款</a>
|
|
|
+ 及 <a href="" onclick="window.open('./privacy.html')">隱私權政策</a>
|
|
|
+ </small>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -276,8 +296,8 @@
|
|
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
|
<script src="static/owl.carousel.min.js"></script>
|
|
|
<script src="static/loading-overlay.js"></script>
|
|
|
- <script src="register.js"></script>
|
|
|
<script type="text/javascript" src="static/lan.js"></script>
|
|
|
+ <script src="register.js"></script>
|
|
|
<script src="static/common.js"></script>
|
|
|
<script>
|
|
|
$(".menu-bar").click(function () {
|