Skip to content

Commit

Permalink
⭐ Adjust: split ENG/CH, prevent odds & adds in console bar
Browse files Browse the repository at this point in the history
  • Loading branch information
bycnck committed Jan 29, 2018
1 parent 45bda69 commit 37ec3f6
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 32 deletions.
10 changes: 6 additions & 4 deletions public/src/partials/addACL/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
<div id="addacl" ng-controller="addaclCtrl" ng-init="init()">
<div class="_item">
<label >{{'CURRENT_MODE' | translate}}</label>
<input ng-show="addACL.acl == 0" type="text" value="黑名单模式" disabled>
<input ng-show="addACL.acl == 1" type="text" value="白名单模式" disabled>
<input ng-show="addACL.acl == 0" type="text" value="黑名单模式" autocomplete="off" disabled>
<input ng-show="addACL.acl == 1" type="text" value="白名单模式" autocomplete="off" disabled>
</div>
<div class="_item">
<label >{{'ADD_LIST' | translate}}</label>
<textarea ng-model="addList" required ></textarea>

</div>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="secondPassword" >
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="secondPassword" autocomplete="off">
</form>
</div>
<button class="sent" ng-click="sub()">{{'SUBMIT' | translate}}</button>
<div id="comfirmDia" ng-show="comfirmDialog">
Expand Down
4 changes: 3 additions & 1 deletion public/src/partials/application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@
<input type="number" required ng-model="amount" ng-trim="true" placeholder="{{'DEPOSIT_AMOUNT' | translate}}" id="deposit_item3">
</div>
<div class="" ng-show="userService.secondPublicKey">
<input type="password" ng-model="secondPassword" id="deposit_item4" placeholder="{{'TRS_TYPE_SECOND_PASSWORD' | translate}}">
<form action="">
<input type="password" ng-model="secondPassword" id="deposit_item4" placeholder="{{'TRS_TYPE_SECOND_PASSWORD' | translate}}" autocomplete="off">
</form>
</div>
<p style = "font-size:15px">{{'DAPP_COIN_FEE' | translate}}</p>
<div class="buttons">
Expand Down
30 changes: 20 additions & 10 deletions public/src/partials/asset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@

</div>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="rpsecondPassword" >
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="rpsecondPassword" autocomplete="off">
</form>
</div>
<button class="sent" ng-show="!issuerStatus" ng-click="registerPublish()">{{'SUBMIT' | translate}}</button>
</div>
Expand Down Expand Up @@ -90,8 +92,10 @@
<select ng-init="selectedAllowBlacklist = allowValueRange[0]" ng-model="selectedAllowBlacklist" ng-options="i.value for i in allowValueRange"></select>
</div>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="rasecondPassword" >
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="rasecondPassword" autocomplete="off">
</form>
</div>
<button class="sent" ng-click="registerAsset()">{{'SUBMIT' | translate}}</button>
</div>
Expand Down Expand Up @@ -131,8 +135,10 @@
<a class="close" href="" ng-click="writeoffClose()"><img src="/assets/common/close.png" alt=""></a>
<p>您正在注销{{moneyName}}资产,该操作不可逆,需要消耗手续费0.1 XAS</p>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="wosecondPassword" >
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="wosecondPassword" autocomplete="off">
</form>
</div>
<button class="sent" ng-click="writeoff_submit()">{{'SUBMIT' | translate}}</button>
</div>
Expand All @@ -144,8 +150,10 @@
<input type="text" ng-model="amount" >
</div>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="pbsecondPassword" >
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="pbsecondPassword" autocomplete="off">
</form>
</div>
<button class="sent" ng-click="publish_submit()">{{'SUBMIT' | translate}}</button>
</div>
Expand All @@ -162,8 +170,10 @@
<input ng-show="acl == 1" type="text" value="白名单模式" disabled>
</div>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="setsecondPassword">
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="setsecondPassword" autocomplete="off">
</form>
</div>
<button class="sent" ng-click="settings_submit()">{{'SUBMIT' | translate}}</button>
</div>
Expand Down
6 changes: 4 additions & 2 deletions public/src/partials/login/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
<!--</div>-->
<div class="right">
<div class="password">
<input ng-model="secret" type="{{showPassword ? 'text' : 'password'}}" placeholder="{{'INPUT_PASSWORD' | translate}}">
<div class="pwd_btn {{showPassword ? 'show_pwd' : '' }}" ng-click="showPassword = !showPassword"></div>
<form action="">
<input ng-model="secret" type="{{showPassword ? 'text' : 'password'}}" placeholder="{{'INPUT_PASSWORD' | translate}}" autocomplete="off">
<div class="pwd_btn {{showPassword ? 'show_pwd' : '' }}" ng-click="showPassword = !showPassword"></div>
</form>
</div>
<div class="is-agree">
<input class="magic-checkbox" type="checkbox" ng-checked="saveLogin" ng-click="saveLoginChange()" name="layout" id="1">
Expand Down
4 changes: 3 additions & 1 deletion public/src/partials/modal/assignee/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
</div>
<div class="left" ng-show="userService.secondPublicKey">{{'SECOND_PASSWORD' | translate}}</div>
<div class="right">
<input placeholder="{{'DELEGATE_NAME_RULE_TIP' | translate}}" maxlength="16" ng-model="secondpassword" type="password" class="tips_voteto" ng-show="userService.secondPublicKey">
<form action="">
<input placeholder="{{'DELEGATE_NAME_RULE_TIP' | translate}}" maxlength="16" ng-model="secondpassword" type="password" class="tips_voteto" ng-show="userService.secondPublicKey" autocomplete="off">
</form>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion public/src/partials/modal/deletevote/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<div class="item_detail" ng-show="userService.secondPublicKey">
<form action="">
<label for="ercemima">{{'SECOND_PASSWORD' | translate}}</label>
<input maxlength="16" ng-model="secondpassword" id= "ercemima" type="password" class="tips_voteto">
<form action="">
<input maxlength="16" ng-model="secondpassword" id= "ercemima" type="password" class="tips_voteto" autocomplete="off">
</form>
</form>
</div>
<div class="btn_wrap">
Expand Down
6 changes: 4 additions & 2 deletions public/src/partials/modal/voteto/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
</div>

<div class="item_detail" ng-show="userService.secondPublicKey">
<label for="ercemima2">{{'SECOND_PASSWORD' | translate}}</label>
<input maxlength="16" ng-model="secondpassword" id= "ercemima2" type="password" class="tips_voteto">
<form action="">
<label for="ercemima2">{{'SECOND_PASSWORD' | translate}}</label>
<input maxlength="16" ng-model="secondpassword" id= "ercemima2" type="password" class="tips_voteto" autocomplete="off">
</form>
</div>
<div class="btn_wrap">
<button ng-click="checkvoteto()">{{'CONFIRM' | translate}} {{'VOTE' | translate}}</button>
Expand Down
8 changes: 5 additions & 3 deletions public/src/partials/pay/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@
<input type="text" ng-model="currencyName" id="pay_item6">
</div>
<div class="_item" ng-show="userService.secondPublicKey">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="secondPassword" id="pay_item5" ng-change="resetSent()">
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="secondPassword" id="pay_item5" ng-change="resetSent()" autocomplete="off">
</form>
</div>
<div class="_item">
<label >{{'FEES' | translate}}</label>
<input type="text" ng-model="fee" id="pay_item4" disabled>
</div>
<div class="_item">
<label >{{'REMARK' | translate}}</label>
<input type="text" ng-model="message" id="pay_item4" placeholder="{{'REMARK_TIP' | translate}} 0~255">
<input type="text" ng-model="message" id="pay_item7" placeholder="{{'REMARK_TIP' | translate}} 0~255">
</div>
<p>{{'PAY_TIP' | translate}}</p>
<button class="sent" ng-click="sentMsg()" ng-disabled="!isSendSuccess" ng-class="{'invalidBtn':!isSendSuccess}">{{'SEND' | translate}}</button>
Expand Down
18 changes: 12 additions & 6 deletions public/src/partials/personal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,16 @@
{{'SET_SECOND_PASSWORD' | translate}}
</div>
<div class="psw">
<label>{{'PASSWORD' | translate}}</label>
<input type="password" ng-trim="true" ng-model="secondpassword" placeholder="{{'PASSWORD_RULE_TIP' | translate}}">
<form action="">
<label>{{'PASSWORD' | translate}}</label>
<input type="password" ng-trim="true" ng-model="secondpassword" placeholder="{{'PASSWORD_RULE_TIP' | translate}}" autocomplete="off">
</form>
</div>
<div class="psw">
<label>{{'CONFIRM' | translate}}</label>
<input type="password" ng-trim="true" ng-model="confirmPassword" placeholder="{{'INPUT_AGAIN' | translate}}">
<form action="">
<label>{{'CONFIRM' | translate}}</label>
<input type="password" ng-trim="true" ng-model="confirmPassword" placeholder="{{'INPUT_AGAIN' | translate}}" autocomplete="off">
</form>
</div>
<p class="pwd_tip">{{'SUBMIT_SECOND_PASSWORD_TIP' | translate}}</p>
<div class="pwd_btn">
Expand All @@ -107,8 +111,10 @@
</div>
<div class="position_input_set">
<div class="input_box">
<input type="number" class="block_type_in orangeFont" ng-keyup="calTimeLeft()" ng-model="block_number" placeholder="{{'ACCOUNT_TYPE_HINT' | translate}}"><p>{{'ACCOUNT_LOCK_TIP' | translate}}</p>
<input type="password" class="block_type_in orangeFont" ng-model="secondpassword" placeholder="{{'ACCOUNT_TYPE2_HINT' | translate}}" ng-hide="!userService.secondPublicKey">
<form action="">
<input type="number" class="block_type_in orangeFont" ng-keyup="calTimeLeft()" ng-model="block_number" placeholder="{{'ACCOUNT_TYPE_HINT' | translate}}"><p>{{'ACCOUNT_LOCK_TIP' | translate}}</p>
<input type="password" class="block_type_in orangeFont" ng-model="secondpassword" placeholder="{{'ACCOUNT_TYPE2_HINT' | translate}}" ng-hide="!userService.secondPublicKey" autocomplete="off">
</form>
</div>
<span>{{timeLeft}}</span>
<div class="pwd_btn">
Expand Down
6 changes: 4 additions & 2 deletions public/src/partials/reduceACL/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
<input ng-show="reduceACL.acl == 1" type="text" value="白名单模式" disabled>
</div>
<div class="_item" ng-show="secpwd">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="secondPassword" >
<form action="">
<label >{{'SECOND_PASSWORD' | translate}}</label>
<input type="password" ng-model="secondPassword" autocomplete="off">
</form>
</div>
<div class="_item">
<label >{{'CURRENT_LIST' | translate}}</label>
Expand Down

0 comments on commit 37ec3f6

Please sign in to comment.