File tree Expand file tree Collapse file tree 11 files changed +28
-33
lines changed Expand file tree Collapse file tree 11 files changed +28
-33
lines changed Original file line number Diff line number Diff line change 15
15
.team-blue {
16
16
color : blue;
17
17
}
18
+
19
+ button , .btn-group {
20
+ margin : 0.25em ;
21
+ }
Original file line number Diff line number Diff line change 46
46
47
47
<style scoped>
48
48
49
- button , .switch {
49
+ .switch {
50
50
margin : 0.25em ;
51
51
}
52
52
Original file line number Diff line number Diff line change 76
76
</script >
77
77
78
78
<style scoped>
79
- button {
80
- margin-right : 0.5em ;
81
- margin-bottom : 0.5em ;
82
- }
83
79
</style >
Original file line number Diff line number Diff line change 108
108
</script >
109
109
110
110
<style scoped>
111
- button , .btn-group {
112
- margin-right : 0.5em ;
113
- margin-bottom : 0.5em ;
114
- }
115
111
116
112
.btn-active {
117
113
background-color : green ;
Original file line number Diff line number Diff line change 6
6
<b-pagination size =" sm"
7
7
:total-rows =" events.length"
8
8
v-model =" currentPage"
9
- :per-page =" perPage" >
10
- </b-pagination >
9
+ :per-page =" perPage" />
11
10
12
11
<input v-model.number =" perPage"
13
12
title =" Rows per page"
61
60
justify-content : center ;
62
61
}
63
62
64
- .event-controls-container button , input {
65
- margin-bottom : 1rem ;
66
- margin-left : 1rem ;
67
- }
68
-
69
63
input {
70
64
text-align : center ;
65
+ margin-bottom : 1rem ;
66
+ margin-left : 1rem ;
71
67
}
72
68
</style >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<b-button v-on:click =" toggleTimeout"
3
+ class =" manual-control-button"
3
4
v-bind:disabled =" disableTimeoutButton" >
4
5
{{timeoutRunning ? 'Stop' : 'Start'}} Timeout
5
6
</b-button >
Original file line number Diff line number Diff line change 87
87
88
88
<style scoped>
89
89
</style >
90
+
91
+ <style >
92
+ .manual-control-button {
93
+ width : 90% ;
94
+ }
95
+ </style >
Original file line number Diff line number Diff line change 6
6
:title =" 'Immediately stop all robots (' + Object.keys(keymapHalt)[0] + ')'" >
7
7
<b-button v-hotkey =" keymapHalt"
8
8
ref =" btnHalt"
9
+ class =" manual-control-button"
9
10
v-on:click =" send('halt')"
10
11
v-bind:disabled =" halted" >
11
12
Halt
17
18
:title =" 'Robots have to keep distance to the ball (' + Object.keys(keymapStop)[0] + ')'" >
18
19
<b-button v-hotkey =" keymapStop"
19
20
ref =" btnStop"
21
+ class =" manual-control-button"
20
22
v-on:click =" send('stop')"
21
23
v-bind:disabled =" stopped || !stopAllowed" >
22
24
Stop
30
32
:title =" 'Restart the game in draw situations (' + Object.keys(keymapForceStart)[0] + ')'" >
31
33
<b-button v-hotkey =" keymapForceStart"
32
34
ref =" btnForceStart"
35
+ class =" manual-control-button"
33
36
v-on:click =" send('forceStart')"
34
37
v-bind:disabled =" !stopped || !forceStartAllowed" >
35
38
Force Start
41
44
:title =" 'Continue game after a prepare state (' + Object.keys(keymapNormalStart)[0] + ')'" >
42
45
<b-button v-hotkey =" keymapNormalStart"
43
46
ref =" btnNormalStart"
47
+ class =" manual-control-button"
44
48
v-on:click =" send('normalStart')"
45
49
v-bind:disabled =" !prepareSth || !normalStartAllowed" >
46
50
Normal Start
125
129
</script >
126
130
127
131
<style scoped>
128
- button {
129
- margin : 0.5em ;
130
- width : 90% ;
131
- }
132
-
133
132
table {
134
133
width : 100% ;
135
134
}
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" container" >
3
3
<b-button v-on:click =" addYellowCard"
4
+ class =" manual-control-button"
4
5
v-bind:disabled =" running || preparing" >
5
6
Add Yellow Card
6
7
</b-button >
7
8
8
9
<b-button v-on:click =" revokeYellowCard"
10
+ class =" manual-control-button"
9
11
v-bind:disabled =" teamState.yellowCardTimes.length===0" >
10
12
Revoke Yellow Card
11
13
</b-button >
12
14
13
15
<b-button v-on:click =" addRedCard"
16
+ class =" manual-control-button"
14
17
v-bind:disabled =" running || preparing" >
15
18
Add Red Card
16
19
</b-button >
17
20
18
- <b-button v-on:click =" addGoal" >
21
+ <b-button v-on:click =" addGoal"
22
+ class =" manual-control-button" >
19
23
Goal
20
24
</b-button >
21
25
116
120
padding-left : 0 ;
117
121
padding-right : 0 ;
118
122
}
119
-
120
- button {
121
- margin : 0.5em ;
122
- width : 90% ;
123
- }
124
123
</style >
Original file line number Diff line number Diff line change 4
4
:title =" 'Perform direct kick (corner and goal kicks) (' + Object.keys(keymapDirect)[0] + ')'" >
5
5
<b-button v-hotkey =" keymapDirect"
6
6
ref =" btnDirect"
7
+ class =" manual-control-button"
7
8
v-on:click =" sendDirect"
8
9
v-bind:disabled =" halted || running || preparing || !nonPausedStage" >
9
10
Direct
13
14
:title =" 'Perform indirect kick (throw-in) (' + Object.keys(keymapIndirect)[0] + ')'" >
14
15
<b-button v-hotkey =" keymapIndirect"
15
16
ref =" btnIndirect"
17
+ class =" manual-control-button"
16
18
v-on:click =" sendIndirect"
17
19
v-bind:disabled =" halted || running || preparing || !nonPausedStage" >
18
20
Indirect
22
24
:title =" 'Prepare for a kickoff (' + Object.keys(keymapKickoff)[0] + ')'" >
23
25
<b-button v-hotkey =" keymapKickoff"
24
26
ref =" btnKickoff"
27
+ class =" manual-control-button"
25
28
v-on:click =" sendKickoff"
26
29
v-bind:disabled =" halted || running || preparing" >
27
30
Kickoff
30
33
<div v-b-tooltip.hover
31
34
title =" Prepare for a penalty kick" >
32
35
<b-button v-on:click =" sendPenalty"
36
+ class =" manual-control-button"
33
37
v-bind:disabled =" halted || running || preparing || !nonPausedStage" >
34
38
Penalty
35
39
</b-button >
127
131
padding-left : 0 ;
128
132
padding-right : 0 ;
129
133
}
130
-
131
- button {
132
- margin : 0.5em ;
133
- width : 90% ;
134
- }
135
134
</style >
You can’t perform that action at this time.
0 commit comments