File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<span class =" control-general" >
3
3
<span v-b-tooltip.hover
4
- title =" Immediately stop all robots" >
4
+ : title =" ' Immediately stop all robots (' + Object.keys(keymapHalt)[0] + ')' " >
5
5
<b-button v-hotkey =" keymapHalt"
6
6
v-on:click =" send('halt')"
7
7
v-bind:disabled =" halted" >
8
8
Halt
9
9
</b-button >
10
10
</span >
11
11
<span v-b-tooltip.hover
12
- title =" Robots have to keep distance to the ball" >
12
+ : title =" ' Robots have to keep distance to the ball (' + Object.keys(keymapStop)[0] + ')' " >
13
13
<b-button v-hotkey =" keymapStop"
14
14
v-on:click =" send('stop')"
15
15
v-bind:disabled =" stopped || !inNormalHalf" >
16
16
Stop
17
17
</b-button >
18
18
</span >
19
19
<span v-b-tooltip.hover
20
- title =" Restart the game in draw situations" >
20
+ : title =" ' Restart the game in draw situations (' + Object.keys(keymapForceStart)[0] + ')' " >
21
21
<b-button v-hotkey =" keymapForceStart"
22
22
v-on:click =" send('forceStart')"
23
23
v-bind:disabled =" !stopped || !inNormalHalf" >
24
24
Force Start
25
25
</b-button >
26
26
</span >
27
27
<span v-b-tooltip.hover
28
- title =" Continue game after a prepare state" >
28
+ : title =" ' Continue game after a prepare state (' + Object.keys(keymapNormalStart)[0] + ')' " >
29
29
<b-button v-hotkey =" keymapNormalStart"
30
30
v-on:click =" send('normalStart')"
31
31
v-bind:disabled =" !prepareSth || !inNormalHalf" >
Original file line number Diff line number Diff line change 2
2
<div class =" control-team" >
3
3
<h2 >Team {{teamColor}}</h2 >
4
4
<span v-b-tooltip.hover
5
- title =" Prepare for a kickoff" >
5
+ : title =" ' Prepare for a kickoff (' + Object.keys(keymapKickoff)[0] + ')' " >
6
6
<b-button v-hotkey =" keymapKickoff"
7
7
v-on:click =" send('kickoff')"
8
8
v-bind:disabled =" halted || running || preparing" >
9
9
Kickoff
10
10
</b-button >
11
11
</span >
12
12
<span v-b-tooltip.hover
13
- title =" Perform direct kick (corner and goal kicks)" >
13
+ : title =" ' Perform direct kick (corner and goal kicks) (' + Object.keys(keymapDirect)[0] + ')' " >
14
14
<b-button v-hotkey =" keymapDirect"
15
15
v-on:click =" send('direct')"
16
16
v-bind:disabled =" halted || running || preparing" >
17
17
Direct
18
18
</b-button >
19
19
</span >
20
20
<span v-b-tooltip.hover
21
- title =" Perform indirect kick (throw-in)" >
21
+ : title =" ' Perform indirect kick (throw-in) (' + Object.keys(keymapIndirect)[0] + ')' " >
22
22
<b-button v-hotkey =" keymapIndirect"
23
23
v-on:click =" send('indirect')"
24
24
v-bind:disabled =" halted || running || preparing" >
Original file line number Diff line number Diff line change 23
23
<b-collapse id =" collapseDurations" class =" mt-2" >
24
24
<EditableLabelDuration
25
25
class =" editable-label"
26
+ v-bind:key =" cardTime"
26
27
v-for =" (cardTime, cardId) in yellowCardTimes"
27
28
:value =" cardTime"
28
29
:callback =" (v) => updateCardTime(v, cardId)" />
You can’t perform that action at this time.
0 commit comments