14
14
</ div >
15
15
{{end}}
16
16
< div class ="row ">
17
- < div class ="col-lg-2 ">
18
- < form class =" form-horizontal " action ="/setup/teams " method ="POST ">
17
+ < div class ="col-lg-3 ">
18
+ < form action ="/setup/teams " method ="POST ">
19
19
< fieldset >
20
20
< legend > Import Teams</ legend >
21
21
{{if not .EventSettings.TbaDownloadEnabled}}
22
22
< p > To automatically download data about teams, enable TBA Team Info Download on the settings page</ p >
23
23
{{end}}
24
- < div class ="form-group ">
24
+ < div class ="row mb-3 ">
25
25
< textarea class ="form-control " rows ="10 " name ="teamNumbers "
26
26
placeholder ="One team number per line "> </ textarea >
27
27
</ div >
28
- < div class ="form-group ">
29
- < button type ="submit " class ="btn btn-info " onclick ="$('#loadingFromTba').modal('show'); "> Add Teams</ button >
28
+ < div class ="row mb-3 ">
29
+ < button type ="submit " class ="btn btn-primary " onclick ="$('#loadingFromTba').modal('show'); "> Add Teams</ button >
30
30
</ div >
31
31
{{if .EventSettings.TbaDownloadEnabled}}
32
- < div class ="form-group ">
33
- < a href ="/setup/teams/refresh " class ="btn btn-info " onclick ="$('#loadingFromTba').modal('show'); ">
32
+ < div class ="row mb-3 ">
33
+ < a href ="/setup/teams/refresh " class ="btn btn-primary " onclick ="$('#loadingFromTba').modal('show'); ">
34
34
Refresh Team Data from TBA
35
35
</ a >
36
36
</ div >
37
37
{{end}}
38
- < div class ="form-group ">
39
- < button type ="button " class ="btn btn-primary " onclick ="$('#confirmClearTeams').modal('show'); ">
38
+ < div class ="row mb-3 ">
39
+ < button type ="button " class ="btn btn-danger " onclick ="$('#confirmClearTeams').modal('show'); ">
40
40
Clear Team List
41
41
</ button >
42
42
</ div >
43
43
{{if .EventSettings.NetworkSecurityEnabled}}
44
- < div class ="form-group ">
45
- < a href ="/setup/teams/generate_wpa_keys?all=true " class ="btn btn-primary "> Generate All WPA Keys</ a >
44
+ < div class ="row mb-3 ">
45
+ < a href ="/setup/teams/generate_wpa_keys?all=true " class ="btn btn-danger "> Generate All WPA Keys</ a >
46
46
</ div >
47
- < div class ="form-group ">
48
- < a href ="/setup/teams/generate_wpa_keys?all=false " class ="btn btn-primary "> Generate Missing WPA Keys</ a >
47
+ < div class ="row mb-3 ">
48
+ < a href ="/setup/teams/generate_wpa_keys?all=false " class ="btn btn-danger "> Generate Missing WPA Keys</ a >
49
49
</ div >
50
50
{{end}}
51
51
{{if .EventSettings.TbaPublishingEnabled}}
55
55
</ fieldset >
56
56
</ form >
57
57
</ div >
58
- < div class ="col-lg-10 ">
58
+ < div class ="col-lg-9 ">
59
59
< table class ="table table-striped table-hover ">
60
60
< thead >
61
61
< tr >
79
79
< td > {{$team.RobotName}}</ td >
80
80
< td class ="text-center nowrap ">
81
81
< form action ="/setup/teams/{{$team.Id}}/delete " method ="POST ">
82
- < a href ="/setup/teams/{{$team.Id}}/edit ">
83
- < button type ="button " class ="btn btn-info btn-xs ">
84
- < i class ="glyphicon glyphicon-edit "> </ i >
85
- </ button >
86
- </ a >
87
- < button type ="submit " class ="btn btn-primary btn-xs ">
88
- < i class ="glyphicon glyphicon-trash "> </ i >
82
+ < a href ="/setup/teams/{{$team.Id}}/edit "> < button type ="button " class ="btn btn-primary btn-sm ">
83
+ < i class ="bi-pencil-square "> </ i >
84
+ </ button > </ a >
85
+ < button type ="submit " class ="btn btn-danger btn-sm ">
86
+ < i class ="bi-trash "> </ i >
89
87
</ button >
90
88
</ form >
91
89
</ td >
100
98
< div class ="modal-dialog ">
101
99
< div class ="modal-content ">
102
100
< div class ="modal-header ">
103
- < button type ="button " class ="close " data-bs-dismiss ="modal " aria-hidden ="true "> ×</ button >
104
101
< h4 class ="modal-title "> Confirm</ h4 >
102
+ < button type ="button " class ="btn-close " data-bs-dismiss ="modal "> </ button >
105
103
</ div >
106
104
< div class ="modal-body ">
107
105
< p > Are you sure you want to clear the team list?</ p >
108
106
</ div >
109
107
< div class ="modal-footer ">
110
108
< form class ="form-horizontal " action ="/setup/teams/clear " method ="POST ">
111
- < button type ="button " class ="btn btn-default " data-bs-dismiss ="modal "> Cancel</ button >
112
- < button type ="submit " class ="btn btn-primary "> Clear Team List</ button >
109
+ < button type ="button " class ="btn btn-primary " data-bs-dismiss ="modal "> Cancel</ button >
110
+ < button type ="submit " class ="btn btn-danger "> Clear Team List</ button >
113
111
</ form >
114
112
</ div >
115
113
</ div >
@@ -119,8 +117,8 @@ <h4 class="modal-title">Confirm</h4>
119
117
< div class ="modal-dialog ">
120
118
< div class ="modal-content ">
121
119
< div class ="modal-header ">
122
- < button type ="button " class ="close " data-bs-dismiss ="modal " aria-hidden ="true "> ×</ button >
123
120
< h4 class ="modal-title "> Confirm</ h4 >
121
+ < button type ="button " class ="btn-close " data-bs-dismiss ="modal "> </ button >
124
122
</ div >
125
123
< div class ="modal-body ">
126
124
< p > Are you sure you want to publish the team list to The Blue Alliance? This will overwrite any
0 commit comments