UI optimize

This commit is contained in:
MaxKey
2022-02-05 17:05:38 +08:00
parent b44b32a34f
commit 67fdedccf4
34 changed files with 183 additions and 151 deletions

View File

@@ -20,7 +20,7 @@
<td><input required="" type="text" id="emailMobile" name="emailMobile" class="form-control" title="" value=""/></td>
</tr>
<tr>
<td><@locale code="login.text.captcha"/></td>
<td><@locale code="login.text.captcha"/></td>
<td><input required="" class="form-control" type='text' id="j_captcha" name="captcha" tabindex="3" value="" style="float: left;"/><img id="j_captchaimg" class="captcha-image" src="<@base/>/captcha"/></td>
</tr>

View File

@@ -23,16 +23,16 @@
<td><input required="" type="text" id="emailMobile" name="emailMobile" class="form-control" title="" value=""/></td>
</tr>
<tr>
<td><@locale code="login.text.captcha"/></td>
<td><@locale code="login.text.captcha"/></td>
<td><input required="" class="form-control" type='text' id="j_captcha" name="captcha" tabindex="3" value="" style="float: left;"/><img id="j_captchaimg" class="captcha-image" src="<@base/>/captcha"/></td>
</tr>
<tr>
<td><@locale code="userinfo.displayName"/></td>
<td><@locale code="userinfo.displayName"/></td>
<td><input required="" class="form-control" type='text' id='displayName' name='displayName' tabindex="1"/></td>
</tr>
<tr>
<td><@locale code="userinfo.username"/></td>
<td><@locale code="userinfo.username"/></td>
<td><input required="" class="form-control" type='text' id='username' name='username' tabindex="1"/></td>
</tr>
<tr>

View File

@@ -19,34 +19,34 @@
<th colspan="2"><@locale code="login.password.applogin.changepassword" /></th>
</tr>
<tr>
<th><@locale code="userinfo.displayName" /> :</th>
<th><@locale code="userinfo.displayName" /> </th>
<td>
<input class="form-control" readonly type="text" id="displayName" name="displayName" class="required" title="" value="${model.displayName}"/>
</td>
</tr>
<tr>
<th><@locale code="userinfo.username" /> :</th>
<th><@locale code="userinfo.username" /> </th>
<td>
<input class="form-control" readonly type="text" id="username" name="username" class="required" title="" value="${model.username}"/>
</td>
</tr>
<tr>
<th><@locale code="login.password.oldPassword" /> :</th>
<th><@locale code="login.password.oldPassword" /> </th>
<td>
<input class="form-control" type="password" id="oldPassword" name="oldPassword" class="required" title="" value=""/>
</td>
</tr>
<tr>
<th><@locale code="login.password.newPassword" />:</th>
<th><@locale code="login.password.newPassword" /></th>
<td>
<input class="form-control" type="password" id="newPassword" name="newPassword" class=" required" title="" value=""/>
</td>
</tr>
<tr>
<th><@locale code="login.password.confirmPassword" />:</th>
<th><@locale code="login.password.confirmPassword" /></th>
<td nowrap>
<input class="form-control" type="password" id="confirmPassword" name="confirmPassword" class="{ required: true, equalTo: '#newPassword' }" title="" value=""/>
</td>

View File

@@ -19,34 +19,34 @@
<th colspan="2"><@locale code="login.password.changepassword" /></th>
</tr>
<tr>
<th><@locale code="userinfo.displayName" /> :</th>
<th><@locale code="userinfo.displayName" /> </th>
<td>
<input class="form-control" readonly type="text" id="displayName" name="displayName" class="required" title="" value="${model.displayName}"/>
</td>
</tr>
<tr>
<th><@locale code="userinfo.username" /> :</th>
<th><@locale code="userinfo.username" /> </th>
<td>
<input class="form-control" readonly type="text" id="username" name="username" class="required" title="" value="${model.username}"/>
</td>
</tr>
<tr>
<th><@locale code="login.password.oldPassword" /> :</th>
<th><@locale code="login.password.oldPassword" /> </th>
<td>
<input class="form-control" type="password" id="oldPassword" name="oldPassword" title="" value="" required="" />
</td>
</tr>
<tr>
<th><@locale code="login.password.newPassword" />:</th>
<th><@locale code="login.password.newPassword" /></th>
<td>
<input class="form-control" type="password" id="newPassword" name="newPassword" title="" value="" required="" />
</td>
</tr>
<tr>
<th><@locale code="login.password.confirmPassword" />:</th>
<th><@locale code="login.password.confirmPassword" /></th>
<td nowrap>
<input class="form-control" type="password" id="confirmPassword" name="confirmPassword" title="" value="" required="" />
</td>

View File

@@ -18,21 +18,21 @@
<th colspan="2"><@locale code="userinfo.authnType" /></th>
</tr>
<tr>
<th><@locale code="userinfo.displayName" /> :</th>
<th><@locale code="userinfo.displayName" /> </th>
<td >
<input class="form-control" readonly type="text" id="displayName" name="displayName" class="required" title="" value="${model.displayName}"/>
</td>
</tr>
<tr>
<th><@locale code="userinfo.username" /> :</th>
<th><@locale code="userinfo.username" /> </th>
<td>
<input class="form-control" readonly type="text" id="username" name="username" class="required" title="" value="${model.username}"/>
</td>
</tr>
<tr>
<th><@locale code="userinfo.authnType" />:</th>
<th><@locale code="userinfo.authnType" /></th>
<td nowrap>
<select class="form-control form-select" name="authnType" id="authnType">
<option value="1" <#if 0==model.authnType >selected</#if> ><@locale code="button.text.select" /></option>
@@ -55,7 +55,7 @@
</td>
</tr>
<tr>
<th><@locale code="userinfo.mobile" /> :</th>
<th><@locale code="userinfo.mobile" /> </th>
<td>
<input class="form-control" type="text" id="mobile" name="mobile" required title="" value="${model.mobile}" required="" />
<label for="mobile"></label>
@@ -69,7 +69,7 @@
</td>
</tr>
<tr>
<th><@locale code="userinfo.email" /> :</th>
<th><@locale code="userinfo.email" /> </th>
<td>
<input class="form-control" type="text" id="email" name="email" class="required" title="" value="${model.email}" required="" />
<label for="eamil"></label>
@@ -83,7 +83,7 @@
</td>
</tr>
<tr>
<th><@locale code="userinfo.theme" />:</th>
<th><@locale code="userinfo.theme" /></th>
<td nowrap>
<select class="form-control form-select" name="theme" id="theme">
<option value="default" <#if "default"==model.theme >selected</#if> ><@locale code="userinfo.theme.default" /></option>

View File

@@ -21,44 +21,44 @@
<div class="col-md-6">
<table class="table table-bordered" >
<tr>
<th style="width:30%;"><@locale code="userinfo.displayName" /> :</th>
<th style="width:30%;"><@locale code="userinfo.displayName" /> </th>
<td>
<input readonly type="text" class="required form-control" title="" value="${userInfo.displayName}"/>
</td>
</tr>
<tr>
<th><@locale code="userinfo.username" /> :</th>
<th><@locale code="userinfo.username" /> </th>
<td>
<input readonly type="text" class="required form-control" title="" value="${userInfo.username}"/>
</td>
</tr>
<tr>
<th><@locale code="login.totp.sharedSecret" />(BASE32) :</th>
<th><@locale code="login.totp.sharedSecret" />(BASE32) </th>
<td>
<input readonly type="text" class="required form-control" title="" value="${sharedSecret}"/>
</td>
</tr>
<tr>
<th><@locale code="login.totp.sharedSecret" />(HEX) :</th>
<th><@locale code="login.totp.sharedSecret" />(HEX) </th>
<td>
<input readonly type="text" class="required form-control" title="" value="${hexSharedSecret}"/>
</td>
</tr>
<tr>
<th><@locale code="login.totp.period" />:</th>
<th><@locale code="login.totp.period" /></th>
<td>
<input readonly type="text" class="required form-control" title="" value="${format.period}"/>
</td>
</tr>
<tr>
<th><@locale code="login.totp.digits" />:</th>
<th><@locale code="login.totp.digits" /></th>
<td>
<input readonly type="text" class="required form-control" title="" value="${format.digits}"/>
</td>
</tr>
<tr>
<th><@locale code="login.totp.crypto" />:</th>
<th><@locale code="login.totp.crypto" /></th>
<td>
<input readonly type="text" class="required form-control" title="" value="${format.crypto}"/>
</td>

View File

@@ -11,7 +11,7 @@
<table data-toggle="table">
<thead>
<tr>
<th><@locale code="login.social.sortorder" /></th>
<!--<th><@locale code="login.social.sortorder" /></th>-->
<th><@locale code="login.social.icon" /></th>
<th><@locale code="login.social.provider" /></th>
<th><@locale code="login.social.bindtime" /></th>
@@ -22,7 +22,7 @@
<tbody>
<#list listSocialSignOnProvider as socialSignOnProvider>
<tr>
<td>${socialSignOnProvider.sortIndex}</td>
<!--<td>${socialSignOnProvider.sortIndex}</td>-->
<td><img src="<@base />/static/${socialSignOnProvider.icon}" title="${socialSignOnProvider.providerName}" width="32px;" height="32px;"/></td>
<td>${socialSignOnProvider.providerName}</td>
<td>${socialSignOnProvider.bindTime!}</td>