1+ //- -*- tab-width: 2 -*-
2+ extends ../../includes/signage_layout
3+
4+ block vars
5+ - var ngAppDef = ' LineScore'
6+
7+ append scripts
8+ script .
9+ var competitionId = " #{id}"
10+ var leagueId = " #{leagueId}"
11+ script( src = '/components/datatables/media/js/jquery.dataTables.min.js' )
12+ script( src = '/components/angular-datatables/demo/src/archives/dist/angular-datatables.min.js' )
13+ script( src = '/javascripts/ranking/line_2025.js' )
14+
15+ block content
16+ style .
17+ .ces {
18+ display : flex ;
19+ justify-content : center ; /* 左右中央揃え*/
20+ align-items : center ;
21+ }
22+ .row #rank
23+ .col-lg-12
24+ div( ng-repeat ='team in ranking | limitTo: 3 track by $index' ng-show ="showFrom == 0" )
25+ .row ( style ="height:29vh" )
26+ .col-9
27+ img( ng-src ="/images/ranking/{{$index+1}}.png" style ="height:29vh;float: left;" )
28+ div( style ="margin-left:35vh;" )
29+ div( style ="position:relative; top:3vh; font-size: 6vh;" ) {{team.team.teamCode}}
30+ div( style ="position:relative; top:5vh; font-size:10vh; text-overflow: ellipsis;white-space: nowrap;" ) {{team.team.name}}
31+ .col-3
32+ ul.list-group ( style ="height:100%;font-size:4vh;" )
33+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;color:#d35400;overflow: hidden;text-overflow: clip;white-space: nowrap;" )
34+ i.fas.fa-calculator.fa-fw {{team.finalScore}}
35+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;border-top:0px;color:#0abde3" )
36+ i.fas.fa-stopwatch.fa-fw {{("00"+team.gameSum.time.minutes).slice(-2)}}:{{("00"+team.gameSum.time.seconds).slice(-2)}}
37+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;border-top:0px;color:#ee5253" )
38+ i.fas.fa-ambulance.fa-fw ( style ="margin-right:10px;" )
39+ .img-thumbnail ( style ="padding:0;display: inline-block;margin:1px;" ng-repeat ="victim in team.gameSum.victims" ng-style ="{backgroundColor: evacZoneColor(victim)}" )
40+ div( style ="display: flex; flex-direction: column;" )
41+ img( ng-src ='/images/{{victimImgPath(victim)}}' , style ="height:3vh" )
42+ span( style ="font-size:1vh; color: #000; text-align:center;" ) ×{{victim.count}}
43+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;border-top:0px;color:#222f3e" )
44+ i.fas.fa-step-forward.fa-fw {{team.gameSum.lops}}
45+ hr( color ="#636e72" style ="margin-top:1vh;margin-bottom:1vh;" )
46+ .row ( ng-hide ="showFrom == 0" style ="height:30vh;" )
47+ .col-6 ( style ="border-right:solid 1px #000;border-right:solid 1px #000;padding-bottom:20px;" ng-repeat ="team in ranking | limitTo: 6:showFrom track by $index" )
48+ .row.ces ( style ="margin-left:5px;margin-top:10px;height:30%;margin-bottom:3vh;" )
49+ .col-2 ( style ="text-align:center;font-size:6vh; border:solid 1px #000;" ) {{showFrom + $index + 1}}
50+ .col-10 ( style ="font-size:6vh;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" )
51+ span( style ="font-size:3vh;margin-right:10px;" ) {{team.team.teamCode}}
52+ span {{team.team.name}}
53+ .row
54+ .col-6
55+ ul.list-group ( style ="height:100%;font-size:4vh;" )
56+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;color:#d35400;overflow: hidden;text-overflow: clip;white-space: nowrap;" )
57+ i.fas.fa-calculator.fa-fw {{team.finalScore}}
58+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;border-top:0px;color:#0abde3" )
59+ i.fas.fa-stopwatch.fa-fw {{("00"+team.gameSum.time.minutes).slice(-2)}}:{{("00"+team.gameSum.time.seconds).slice(-2)}}
60+ .col-6
61+ ul.list-group ( style ="height:100%;font-size:4vh;" )
62+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;color:#ee5253" )
63+ i.fas.fa-ambulance.fa-fw ( style ="margin-right:10px;" )
64+ .img-thumbnail ( style ="padding:0;display: inline-block;margin:1px;" ng-repeat ="victim in team.gameSum.victims" ng-style ="{backgroundColor: evacZoneColor(victim)}" )
65+ div( style ="display: flex; flex-direction: column;" )
66+ img( ng-src ='/images/{{victimImgPath(victim)}}' , style ="height:3vh" )
67+ span( style ="font-size:1vh; color: #000; text-align:center;" ) ×{{victim.count}}
68+ li.list-group-item ( style ="border:3px solid #636e72;padding:1vh;border-top:0px;color:#222f3e" )
69+ i.fas.fa-step-forward.fa-fw {{team.gameSum.lops}}
0 commit comments