@@ -67,7 +67,28 @@ block content
6767 td
6868 button( ng-click ='addRun()' ) {{"admin.lineRun.add" | translate}}
6969 a( ng-href ='/admin/{{competitionId}}/line/runs/bulk' ) {{"admin.lineRun.bulk" | translate}}
70-
70+
71+ .refine
72+ .card.border-dark.mb-3 ( style ='width:100%;' )
73+ .card-header.bg-transparent.border-dark.fa-2x
74+ i.fas.fa-search ( aria-hidden ='true' ) {{'line.competition.refine.filter' | translate}}
75+ .card-body.text-dark
76+ h6.card-title {{'line.competition.refine.round' | translate}}
77+ span( ng-repeat ='(key, value) in Rrounds track by key' )
78+ input( type ='checkbox' ng-model ='Rrounds[key]' id ="checkR_{{key}}" )
79+ label.checkbox ( for ="checkR_{{key}}" ) {{key}}
80+ hr
81+ h6.card-title {{'line.competition.refine.field' | translate}}
82+ span( ng-repeat ='(key, value) in Rfields track by key' )
83+ input( type ='checkbox' ng-model ='Rfields[key]' id ="checkF_{{key}}" )
84+ label.checkbox ( for ="checkF_{{key}}" ) {{key}}
85+ hr
86+ h6.card-title {{'line.competition.refine.team' | translate}}
87+ .input-group
88+ span#basic-addon1 .input-group-addon
89+ i.fas.fa-users ( aria-hidden ='true' )
90+ input.form-control ( type ='text' , placeholder ='Team name' , aria-label ='Username' , aria-describedby ='basic-addon1' ng-model ='teamName' )
91+
7192 div
7293 button( ng-click ="selectAll()" class ='btn btn-primary' style ="margin: 5px 5px 5px 5px;" ) {{"admin.lineRun.selectAll" | translate}}
7394 button( ng-click ="removeSelectedRun()" class ='btn btn-danger' style ="margin: 5px 5px 5px 5px;" ) {{"admin.lineRun.delS" | translate}}
@@ -88,13 +109,9 @@ block content
88109 th {{"common.time" | translate}}
89110 th {{"admin.lineRun.status" | translate}}
90111 th {{"common.comment" | translate}}
91- th
92- th
93- th
94- //th
95112 th {{"common.operation" | translate}}
96113 tbody
97- tr( ng-repeat ='run in runs | orderBy:"[startTime,round.name,field.name,team.name]"' runs-read-finished ='' )
114+ tr( ng-repeat ='run in runs | filter:list_filter | orderBy:"[startTime,round.name,field.name,team.name]"' runs-read-finished ='' )
98115 td
99116 input( type ='checkbox' ng-model ='run.checked' style ="display:initial;" )
100117 td( ng-bind ='run.startTime | date:"dd EEE HH:mm"' ng-style ="{'background-color':run.status==5?'#bdafdb':''}" )
@@ -112,13 +129,23 @@ block content
112129 span( ng-if ="run.status==5" ) {{"admin.lineRun.st5" | translate}}
113130 td( ng-style ="{'background-color':run.status==5?'#bdafdb':''}" )
114131 button( uib-popover ="{{run.comment}}" popover-trigger ="'outsideClick'" type ="button" class ="btn btn-default" ng-disabled ="run.comment==''" ) {{"common.comment" | translate}}
115- td( ng-style ="{'background-color':run.status==5?'#bdafdb':''}" )
132+ // td(ng-style="{'background-color':run.status==5?'#bdafdb':''}")
116133 button(ng-click="go('/line/view/' + run._id)" class='btn btn-info') {{"common.view" | translate}}
117- td( ng-style ="{'background-color':run.status==5?'#bdafdb':''}" )
134+ // td(ng-style="{'background-color':run.status==5?'#bdafdb':''}")
118135 button(ng-click="go_sign(run._id)" class='btn btn-warning') {{"common.sign" | translate}}
119- td( ng-style ="{'background-color':run.status==5?'#bdafdb':''}" )
136+ // td(ng-style="{'background-color':run.status==5?'#bdafdb':''}")
120137 button(ng-click="go_judge(run._id)" class='btn btn-danger') {{"common.judge" | translate}}
121138 //td(ng-style="{'background-color':run.status==5?'#bdafdb':''}")
122- button(ng-click="go_approval(run._id)" class='btn btn-secondary') Approval
139+ button(ng-click="go_approval(run._id)" class='btn btn-secondary') {{"common.approval" | translate}}
123140 td( ng-style ="{'background-color':run.status==5?'#bdafdb':''}" )
124- a( href ="" ng-click ='removeRun(run._id)' ) {{"common.delete" | translate}}
141+ //a(href="" ng-click='removeRun(run._id)') {{"common.delete" | translate}}
142+ .dropdown
143+ button#dropdownMenu .btn.btn-secondary.dropdown-toggle ( type ='button' , data-toggle ='dropdown' , aria-haspopup ='true' , aria-expanded ='false' ) {{"common.action" | translate}}
144+ .dropdown-menu ( aria-labelledby ='dropdownMenu' )
145+ button.dropdown-item ( type ='button' ng-click ="go('/line/view/' + run._id)" ) Kioskにチェクポイント設定画面を表示
146+ button.dropdown-item ( type ='button' ng-click ="go('/line/view/' + run._id)" ) {{"common.view" | translate}}
147+ button.dropdown-item ( type ='button' ng-click ="go_judge(run._id)" ) {{"common.judge" | translate}}
148+ button.dropdown-item ( type ='button' ng-click ="go_sign(run._id)" ) {{"common.sign" | translate}}
149+ button.dropdown-item ( type ='button' ng-click ="go_approval(run._id)" ) {{"common.approval" | translate}}
150+ .dropdown-divider
151+ button.dropdown-item ( type ='button' ng-click ='removeRun(run._id)' ) {{"common.delete" | translate}}
0 commit comments