Add short description for setting model preference
This commit is contained in:
parent
c9f9a8ddb2
commit
e7f95fe956
|
|
@ -37,8 +37,8 @@ const playersTableColumnDefs = [
|
||||||
render: data => {
|
render: data => {
|
||||||
return `
|
return `
|
||||||
<select class="form-control" onchange="changePreference.call(this)">
|
<select class="form-control" onchange="changePreference.call(this)">
|
||||||
<option ${(data === 'default') ? 'selected=selected' : ''} value="default">Default</option>
|
<option ${(data === 'default') ? 'selected=selected' : ''} value="default">Default (Steve)</option>
|
||||||
<option ${(data === 'slim') ? 'selected=selected' : ''} value="slim">Slim</option>
|
<option ${(data === 'slim') ? 'selected=selected' : ''} value="slim">Slim (Alex)</option>
|
||||||
</select>`;
|
</select>`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@ player:
|
||||||
|
|
||||||
preference:
|
preference:
|
||||||
title: Preference
|
title: Preference
|
||||||
|
description: Default stands for the Steve model with 4-pixel width arms, and Slim for the Alex model with 3-pixel width arms.
|
||||||
success: The preference of player :name was updated to :preference
|
success: The preference of player :name was updated to :preference
|
||||||
|
|
||||||
profile:
|
profile:
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,7 @@ player:
|
||||||
|
|
||||||
preference:
|
preference:
|
||||||
title: 优先模型
|
title: 优先模型
|
||||||
|
description: Default 即为默认的 Steve 模型(手臂 4 个像素宽),Slim 即为手臂宽 3 个像素的 Alex 模型。
|
||||||
success: 角色 :name 的优先模型已更改至 :preference
|
success: 角色 :name 的优先模型已更改至 :preference
|
||||||
|
|
||||||
profile:
|
profile:
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,10 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th>PID</th>
|
<th>PID</th>
|
||||||
<th>{{ trans('user.player.player-name') }}</th>
|
<th>{{ trans('user.player.player-name') }}</th>
|
||||||
<th>{{ trans('user.player.preference.title') }}</th>
|
<th>
|
||||||
|
{{ trans('user.player.preference.title') }}
|
||||||
|
<i class="fa fa-question-circle" title="{{ trans('user.player.preference.description') }}" data-toggle="tooltip" data-placement="right"></i>
|
||||||
|
</th>
|
||||||
<th>{{ trans('user.player.edit') }}</th>
|
<th>{{ trans('user.player.edit') }}</th>
|
||||||
<th>{{ trans('user.player.operation') }}</th>
|
<th>{{ trans('user.player.operation') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -37,8 +40,8 @@
|
||||||
<td class="player-name">{{ $player['player_name'] }}</td>
|
<td class="player-name">{{ $player['player_name'] }}</td>
|
||||||
<td>
|
<td>
|
||||||
<select class="form-control" id="preference" pid="{{ $player['pid'] }}">
|
<select class="form-control" id="preference" pid="{{ $player['pid'] }}">
|
||||||
<option {{ ($player['preference'] == "default") ? 'selected="selected"' : '' }} value="default">Default</option>
|
<option {{ ($player['preference'] == "default") ? 'selected="selected"' : '' }} value="default">Default (Steve)</option>
|
||||||
<option {{ ($player['preference'] == "slim") ? 'selected="selected"' : '' }} value="slim">Slim</option>
|
<option {{ ($player['preference'] == "slim") ? 'selected="selected"' : '' }} value="slim">Slim (Alex)</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user