adjust styles at user/player

This commit is contained in:
printempw 2016-12-17 18:07:29 +08:00
parent 65acb7426b
commit be23dac2b3
2 changed files with 16 additions and 5 deletions

View File

@ -2,13 +2,26 @@
* @Author: printempw
* @Date: 2016-07-10 17:17:07
* @Last Modified by: printempw
* @Last Modified time: 2016-08-06 18:53:14
* @Last Modified time: 2016-12-17 17:40:55
*/
@import "style.scss";
.player {
cursor: pointer;
border-bottom: 1px solid #f4f4f4;
#preference {
height: 31px;
}
.pid, .player-name {
padding-top: 13px;
}
}
.player:last-child {
border-bottom: none;
}
.player-selected {
@ -61,5 +74,3 @@
.progress {
margin-top: 4px;
}

View File

@ -34,8 +34,8 @@
<tbody>
@foreach ($players as $player)
<tr class="player" id="{{ $player['pid'] }}">
<td>{{ $player['pid'] }}</td>
<td>{{ $player['player_name'] }}</td>
<td class="pid">{{ $player['pid'] }}</td>
<td class="player-name">{{ $player['player_name'] }}</td>
<td>
<select class="form-control" id="preference" pid="{{ $player['pid'] }}">
<option {{ ($player['preference'] == "default") ? 'selected="selected"' : '' }} value="default">Default</option>