@@ -200,11 +200,11 @@ html(ng-app="ddApp")
200200 .input-group-append
201201 button.btn.btn-success ( type ='button' , ng-click ='increment($index,$last)' )
202202 i.fas.fa-plus ( aria-hidden ='true' )
203- hr ( ng-show = '!$last' )
204- div( ng-if ="$index == EvacuationAreaLoPIndex && league != 'LineNL'" , style ="border: solid 3px #e74c3c;border-radius:calc(0.5rem - 1px);" )
205- h3.card-header ( style ="background-color: #e74c3c;color: #fff;border-radius:calc(0.2rem - 1px) calc(0.2rem - 1px) 0 0;margin-left:-1px; " ) {{'line.judge.rescue' | translate}}
203+
204+ div( ng-if ="$index == EvacuationAreaLoPIndex && league != 'LineNL'" , style ="border: solid 4px #e74c3c;border-radius:calc(0.5rem - 1px);margin-top:15px ;" )
205+ h3.card-header ( style ="background-color: #e74c3c;color: #fff;border-radius:calc(0.2rem - 1px) calc(0.2rem - 1px) 0 0;" ) {{'line.judge.rescue' | translate}}
206206 span.badge.badge-danger {{evacuationLevel-1?'line.judge.high':'line.judge.low' | translate}}
207- .row
207+ .row ( style = "padding:10px;" )
208208 .col-4 ( ng-click ="addVictimTmp('L')" )
209209 span Max : {{maxLiveVictims}}
210210 br
@@ -222,68 +222,70 @@ html(ng-app="ddApp")
222222 .victim_btn ( style ='width:100%;position: relative;' , ng-style ="{'background-color': count_victim_list('K') + count_victim_tmp('K') >= 1?'#ccc':'#E1FFFE'}" )
223223 img.img-thumbnail ( src ='/images/rescuekit-1.png' , height ='60px' , ng-if ="kitLevel==1" )
224224 img.img-thumbnail ( src ='/images/rescuekit-2.png' , height ='60px' , ng-if ="kitLevel==2" )
225- table( border ='1' , style ='width:100%; text-align: center; margin-top: 10px;' , ng-repeat ='j in range(6)' , ng-if ='victim_tmp.length > j*5' )
226- tbody
227- tr
228- td( ng-repeat ='i in range(5)' , ng-dblclick ='delete_victim_tmp(j*5 + i)' , ng-swipe-left ='delete_victim_tmp(j*5 + i)' )
229- img( src ='/images/liveVictim.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'L'" )
230- img( src ='/images/deadVictim.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'D'" )
231- img( src ='/images/rescuekit-1.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'K' && kitLevel==1" )
232- img( src ='/images/rescuekit-2.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'K' && kitLevel==2" )
233- span( style ='width:30px;' , ng-hide ='victim_tmp[j*5 + i]' ) ---
234- div( style ='margin-top:20px;' , ng-show ='victim_tmp[0]' )
235- button.btn.btn-warning ( style ='margin:0 10px 10px 0;' , type ='button' , ng-click ='victim_tmp_clear()' )
236- i.far.fa-trash-alt ( aria-hidden ='true' ) Â Clear
237- button.btn.btn-success ( style ='margin:0 10px 10px 0;' , type ='button' , ng-click ='victimRegist()' )
238- i.fas.fa-arrow-down ( aria-hidden ='true' ) Â Register
239- div( ng-show ="victim_list.length > 0" )
240- hr
241- h6 {{'line.judge.rescuedVictims' | translate}}
242- span( style ='font-size:9px;' ) {{'line.judge.rescuedVictimsMes' | translate}}
243- table( border ='1' , style ='width:100%; text-align: center; margin-top: 10px;' , ng-repeat ='j in range(6)' , ng-if ='victim_list.length > j*5 || j == 0' )
244- tbody
245- tr
246- th( style ='text-align:center;' , ng-repeat ='i in range(5)' ) {{j*5 + i+1}}
247- tr
248- td( ng-repeat ='i in range(5)' , ng-style ="{'background-color': victim_list[j*5 + i].effective?'#E1FFFE':'#ccc'}" , ng-dblclick ='delete_victim(j*5 + i)' , ng-swipe-left ='delete_victim(j*5 + i)' )
249- img( src ='/images/liveVictim.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'L'" )
250- img( src ='/images/deadVictim.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'D'" )
251- img( src ='/images/rescuekit-1.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'K' && kitLevel==1" )
252- img( src ='/images/rescuekit-2.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'K' && kitLevel==2" )
253- span( style ='width:30px;' , ng-hide ='victim_list[j*5 + i]' ) ---
254- br
255- span( ng-show ='victim_list[j*5 + i]' )
256- | {{calc_victim_multipliers(victim_list[j*5 + i].type,victim_list[j*5 + i].effective)}}
257- div( ng-if ="league == 'LineNL'" , style ="border: solid 3px #e74c3c;border-radius:calc(0.5rem - 1px);" )
258- h3.card-header ( style ="background-color: #e74c3c;color: #fff;border-radius:calc(0.2rem - 1px) calc(0.2rem - 1px) 0 0;margin-left:-1px;" ) {{'line.judge.rescue' | translate}} (NL)
259- .row ( style ="margin-top:20px;" )
260- div( style ='width:40%;font-size:10px;' , align ='center' )
261- img( src ='/images/blackVictim.png' , height ='40px' )
262- div( style ='width:60%;position: relative;' )
263- .input-group.mb-3 ( style ='width:100%; height:40px;position:absolute;margin: auto;top: calc(50% - 20px);' )
264- .input-group-prepend
265- button.btn.btn-danger ( type ='button' , ng-click ='victimNL("S",-1)' )
266- i.fas.fa-minus ( aria-hidden ='true' )
267- div( style ='background-color: #F2F2F2; width:40%; text-align: center;' )
268- span.count {{victimNL_S}}
269- .input-group-append
270- button.btn.btn-success ( type ='button' , ng-click ='victimNL("S",1)' )
271- i.fas.fa-plus ( aria-hidden ='true' )
272- .row ( style ="margin-top:20px;margin-bottom:20px;" )
273- div( style ='width:40%;font-size:10px;' , align ='center' )
274- img( src ='/images/greenVictim.png' , height ='40px' )
275- div( style ='width:60%;position: relative;' )
276- .input-group.mb-3 ( style ='width:100%; height:40px;position:absolute;margin: auto;top: calc(50% - 20px);' )
277- .input-group-prepend
278- button.btn.btn-danger ( type ='button' , ng-click ='victimNL("G",-1)' )
279- i.fas.fa-minus ( aria-hidden ='true' )
280- div( style ='background-color: #F2F2F2; width:40%; text-align: center;' )
281- span.count {{victimNL_G}}
282- .input-group-append
283- button.btn.btn-success ( type ='button' , ng-click ='victimNL("G",1)' )
284- i.fas.fa-plus ( aria-hidden ='true' )
225+ .col-12
226+ table( border ='1' , style ='width:100%; text-align: center; margin-top: 10px;' , ng-repeat ='j in range(6)' , ng-if ='victim_tmp.length > j*5' )
227+ tbody
228+ tr
229+ td( ng-repeat ='i in range(5)' , ng-dblclick ='delete_victim_tmp(j*5 + i)' , ng-swipe-left ='delete_victim_tmp(j*5 + i)' )
230+ img( src ='/images/liveVictim.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'L'" )
231+ img( src ='/images/deadVictim.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'D'" )
232+ img( src ='/images/rescuekit-1.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'K' && kitLevel==1" )
233+ img( src ='/images/rescuekit-2.png' , width ='30px' , ng-if ="victim_tmp[j*5 + i] == 'K' && kitLevel==2" )
234+ span( style ='width:30px;' , ng-hide ='victim_tmp[j*5 + i]' ) ---
235+ div( style ='margin-top:20px;' , ng-show ='victim_tmp[0]' )
236+ button.btn.btn-warning ( style ='margin:0 10px 10px 0;' , type ='button' , ng-click ='victim_tmp_clear()' )
237+ i.far.fa-trash-alt ( aria-hidden ='true' ) Â Clear
238+ button.btn.btn-success ( style ='margin:0 10px 10px 0;' , type ='button' , ng-click ='victimRegist()' )
239+ i.fas.fa-arrow-down ( aria-hidden ='true' ) Â Register
240+ div( ng-show ="victim_list.length > 0" )
241+ hr
242+ h6 {{'line.judge.rescuedVictims' | translate}}
243+ span( style ='font-size:9px;' ) {{'line.judge.rescuedVictimsMes' | translate}}
244+ table( border ='1' , style ='width:100%; text-align: center; margin-top: 10px;' , ng-repeat ='j in range(6)' , ng-if ='victim_list.length > j*5 || j == 0' )
245+ tbody
246+ tr
247+ th( style ='text-align:center;' , ng-repeat ='i in range(5)' ) {{j*5 + i+1}}
248+ tr
249+ td( ng-repeat ='i in range(5)' , ng-style ="{'background-color': victim_list[j*5 + i].effective?'#E1FFFE':'#ccc'}" , ng-dblclick ='delete_victim(j*5 + i)' , ng-swipe-left ='delete_victim(j*5 + i)' )
250+ img( src ='/images/liveVictim.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'L'" )
251+ img( src ='/images/deadVictim.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'D'" )
252+ img( src ='/images/rescuekit-1.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'K' && kitLevel==1" )
253+ img( src ='/images/rescuekit-2.png' , width ='30px' , ng-if ="victim_list[j*5 + i].type == 'K' && kitLevel==2" )
254+ span( style ='width:30px;' , ng-hide ='victim_list[j*5 + i]' ) ---
255+ br
256+ span( ng-show ='victim_list[j*5 + i]' )
257+ | {{calc_victim_multipliers(victim_list[j*5 + i].type,victim_list[j*5 + i].effective)}}
258+
259+ div( ng-if ="$index == EvacuationAreaLoPIndex && league == 'LineNL'" , style ="border: solid 4px #e74c3c;border-radius:calc(0.5rem - 1px);margin-top:15px;" )
260+ h3.card-header ( style ="background-color: #e74c3c;color: #fff;border-radius:calc(0.2rem - 1px) calc(0.2rem - 1px) 0 0;" ) {{'line.judge.rescue' | translate}} (NL)
261+ .row ( style ="margin-top:20px;" )
262+ div( style ='width:40%;font-size:10px;' , align ='center' )
263+ img( src ='/images/blackVictim.png' , height ='40px' )
264+ div( style ='width:60%;position: relative;' )
265+ .input-group.mb-3 ( style ='width:100%; height:40px;position:absolute;margin: auto;top: calc(50% - 20px);' )
266+ .input-group-prepend
267+ button.btn.btn-danger ( type ='button' , ng-click ='victimNL("S",-1)' )
268+ i.fas.fa-minus ( aria-hidden ='true' )
269+ div( style ='background-color: #F2F2F2; width:40%; text-align: center;' )
270+ span.count {{victimNL_S}}
271+ .input-group-append
272+ button.btn.btn-success ( type ='button' , ng-click ='victimNL("S",1)' )
273+ i.fas.fa-plus ( aria-hidden ='true' )
274+ .row ( style ="margin-top:20px;margin-bottom:20px;" )
275+ div( style ='width:40%;font-size:10px;' , align ='center' )
276+ img( src ='/images/greenVictim.png' , height ='40px' )
277+ div( style ='width:60%;position: relative;' )
278+ .input-group.mb-3 ( style ='width:100%; height:40px;position:absolute;margin: auto;top: calc(50% - 20px);' )
279+ .input-group-prepend
280+ button.btn.btn-danger ( type ='button' , ng-click ='victimNL("G",-1)' )
281+ i.fas.fa-minus ( aria-hidden ='true' )
282+ div( style ='background-color: #F2F2F2; width:40%; text-align: center;' )
283+ span.count {{victimNL_G}}
284+ .input-group-append
285+ button.btn.btn-success ( type ='button' , ng-click ='victimNL("G",1)' )
286+ i.fas.fa-plus ( aria-hidden ='true' )
285287 //hr
286- // .row(style="margin-top:10px;padding-bottom:20px;")
288+ .row ( style ="margin-top:10px;padding-bottom:20px;" )
287289 div( style ='width:40%;font-size:10px;' , align ='center' )
288290 img( src ='/images/misidentNL.png' , height ='40px' )
289291 div( style ='width:60%;position: relative;' )
@@ -296,6 +298,7 @@ html(ng-app="ddApp")
296298 .input-group-append
297299 button.btn.btn-success ( type ='button' , ng-click ='misidentNL(1)' )
298300 i.fas.fa-plus ( aria-hidden ='true' )
301+ hr( ng-show ='!$last' )
299302
300303 h3.card-header
301304 i.fas.fa-door-open ( aria-hidden ='true' )
0 commit comments