Skip to content

Commit cc01434

Browse files
committed
feat: 更新差分の各要素の並び順を調整
フィルタをいじったのでレーティング/bpでまとめる 並び順もts/p/ランプで固まるように
1 parent d76faf5 commit cc01434

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

OngekiScoreLog/resources/views/user_progress.blade.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,18 @@
9090
<thead>
9191
<tr>
9292
<th></th>
93-
<th colspan="2">Technical Score</th>
94-
<th colspan="2">Platinum Score</th>
93+
<th colspan="2">Battle Score</th>
94+
<th colspan="2">Over Damage</th>
9595
</tr>
9696
</thead>
9797
<tbody>
9898
@foreach ($difficulties as $difficulty)
9999
<tr>
100100
<td>{{$difficulty}}</td>
101-
<td class="right">{{number_format($score['new'][$difficulty]['technical_high_score'])}}</td>
102-
<td class="right difference">{{($score['difference'][$difficulty]['technical_high_score'] === 0) ? "" : "+" . number_format($score['difference'][$difficulty]['technical_high_score'])}}</td>
103-
<td class="right">{{number_format($score['new'][$difficulty]['platinum_score'])}}</td>
104-
<td class="right difference">{{($score['difference'][$difficulty]['platinum_score'] === 0) ? "" : "+" . number_format($score['difference'][$difficulty]['platinum_score'])}}</td>
101+
<td class="right">{{number_format($score['new'][$difficulty]['battle_high_score'])}}</td>
102+
<td class="right difference">{{($score['difference'][$difficulty]['battle_high_score'] === 0) ? "" : "+" . number_format($score['difference'][$difficulty]['battle_high_score'])}}</td>
103+
<td class="right">{{number_format($score['new'][$difficulty]['over_damage_high_score'], 2)}}%</td>
104+
<td class="right difference">{{($score['difference'][$difficulty]['over_damage_high_score'] === 0.0) ? "" : "+" . number_format($score['difference'][$difficulty]['over_damage_high_score'], 2) . "%"}}</td>
105105
</tr>
106106
@endforeach
107107
</tbody>
@@ -111,18 +111,18 @@
111111
<thead>
112112
<tr>
113113
<th></th>
114-
<th colspan="2">Battle Score</th>
115-
<th colspan="2">Over Damage</th>
114+
<th colspan="2">Technical Score</th>
115+
<th colspan="2">Platinum Score</th>
116116
</tr>
117117
</thead>
118118
<tbody>
119119
@foreach ($difficulties as $difficulty)
120120
<tr>
121121
<td>{{$difficulty}}</td>
122-
<td class="right">{{number_format($score['new'][$difficulty]['battle_high_score'])}}</td>
123-
<td class="right difference">{{($score['difference'][$difficulty]['battle_high_score'] === 0) ? "" : "+" . number_format($score['difference'][$difficulty]['battle_high_score'])}}</td>
124-
<td class="right">{{number_format($score['new'][$difficulty]['over_damage_high_score'], 2)}}%</td>
125-
<td class="right difference">{{($score['difference'][$difficulty]['over_damage_high_score'] === 0.0) ? "" : "+" . number_format($score['difference'][$difficulty]['over_damage_high_score'], 2) . "%"}}</td>
122+
<td class="right">{{number_format($score['new'][$difficulty]['technical_high_score'])}}</td>
123+
<td class="right difference">{{($score['difference'][$difficulty]['technical_high_score'] === 0) ? "" : "+" . number_format($score['difference'][$difficulty]['technical_high_score'])}}</td>
124+
<td class="right">{{number_format($score['new'][$difficulty]['platinum_score'])}}</td>
125+
<td class="right difference">{{($score['difference'][$difficulty]['platinum_score'] === 0) ? "" : "+" . number_format($score['difference'][$difficulty]['platinum_score'])}}</td>
126126
</tr>
127127
@endforeach
128128
</tbody>
@@ -146,6 +146,10 @@
146146
<span class="difference">{{$value['difference']['battle_high_score']}}</span>
147147
<br>
148148

149+
<span class="score-title">Over Damage</span><span class="score">{{$value['new']->over_damage_high_score}}%</span><span class="difference">{{$value['difference']['over_damage_high_score']}}</span>
150+
<span class="score-rank {{$value['difference']['is_update_over_damage_high_score_rank']}}">{{$value['difference']['over_damage_high_score_rank']}}</span>
151+
<br>
152+
149153
<span class="score-title">Technical Score</span>
150154
<span class="score">{{number_format($value['new']->technical_high_score)}}</span>
151155
<span class="difference">{{$value['difference']['technical_high_score']}}</span>
@@ -155,10 +159,6 @@
155159
<span class="score-title">Platinum Score</span>
156160
<span class="score">{{number_format($value['new']->platinum_score)}}</span>
157161
<span class="difference">{{$value['difference']['platinum_score']}}</span>
158-
<br>
159-
160-
<span class="score-title">Over Damage</span><span class="score">{{$value['new']->over_damage_high_score}}%</span><span class="difference">{{$value['difference']['over_damage_high_score']}}</span>
161-
<span class="score-rank {{$value['difference']['is_update_over_damage_high_score_rank']}}">{{$value['difference']['over_damage_high_score_rank']}}</span>
162162
</div>
163163
<div class="lamp-info">
164164
<span class="tag {{$value['difference']['old-lamp-is-fb']}}">FB</span>

0 commit comments

Comments
 (0)