6
6
<div class =" container" >
7
7
<div class =" row justify-content-center" >
8
8
<div class =" col-md-8 col-lg-7" >
9
- @if (session ()-> has (' checkin-collision' ) )
10
- <div class =" alert alert-danger" id =" checkin-collision-alert" >
11
- <h2 class =" fs-4" >
12
- <i class =" fa-solid fa-triangle-exclamation" ></i >
13
- {{ __ (' overlapping-checkin' )} }
14
- </h2 >
15
-
16
- {{ __ (' overlapping-checkin.description' , [' lineName' => session ()-> get (' checkin-collision' )[' lineName' ]])} }
17
- {{ __ (' overlapping-checkin.description2' )} }
18
- {{ __ (' no-points-warning' )} }
19
-
20
- <hr />
21
-
22
- <form method =" POST" action =" {{ route (' trains.checkin' )} }" >
23
- @csrf
24
- <input type =" hidden" name =" force" value =" true" />
25
- <input type =" hidden" name =" tripID"
26
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' tripID' ]} }" />
27
- <input type =" hidden" name =" start"
28
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' start' ]} }" />
29
- <input type =" hidden" name =" departure"
30
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' departure' ]} }" />
31
- <input type =" hidden" name =" destination"
32
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' destination' ]} }" />
33
- <input type =" hidden" name =" arrival"
34
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' arrival' ]} }" />
35
- <input type =" hidden" name =" body"
36
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' body' ] ?? ' ' } }" />
37
- <input type =" hidden" name =" business_check"
38
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' business_check' ]} }" />
39
- <input type =" hidden" name =" checkinVisibility"
40
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' checkinVisibility' ]} }" />
41
- @isset (session ()-> get (' validated' )[' tweet_check' ] )
42
- <input type =" hidden" name =" tweet_check"
43
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' tweet_check' ]} }" />
44
- @endif
45
- @isset (session ()-> get (' validated' )[' toot_check' ] )
46
- <input type =" hidden" name =" toot_check"
47
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' toot_check' ]} }" />
48
- @endif
49
- <input type =" hidden" name =" event"
50
- value =" {{ session ()-> get (' checkin-collision' )[' validated' ][' event' ] ?? ' ' } }" />
51
-
52
- <div class =" d-grid gap-2" >
53
- <button class =" btn btn-success" type =" submit" >
54
- <i class =" fa-solid fa-check" ></i >
55
- {{ __ (' overlapping-checkin.force-yes' )} }
56
- </button >
57
- <button class =" btn btn-secondary" type =" button"
58
- onclick =" $('#checkin-collision-alert').remove()" >
59
- <i class =" fa-solid fa-xmark" ></i >
60
- {{ __ (' overlapping-checkin.force-no' )} }
61
- </button >
62
- </div >
63
- </form >
64
- </div >
65
- @endif
66
-
67
9
<div id =" station-board-new" >
68
10
<Apialerts ></Apialerts >
69
11
<Stationautocomplete :dashboard =" true" :show-gps-button =" true" ></Stationautocomplete >
70
12
</div >
13
+
71
14
@if ($future -> count () >= 1 )
72
15
<div class =" accordion accordion-flush" id =" accordionFutureCheckIns" >
73
16
<div class =" accordion-item" >
@@ -96,15 +39,15 @@ class="accordion-collapse collapse"
96
39
@endif
97
40
98
41
@if (config (' trwl.year_in_review.alert' ) )
99
- <div class =" alert alert-info" >
42
+ <div class =" alert alert-info" role = " region " aria-label = " {{ __ ( ' year-review ' ) } } " >
100
43
<h4 class =" alert-heading" >
101
- <i class =" fa-solid fa-champagne-glasses" ></i >
102
- Träwelling {{ __ (' year-review' )} }
44
+ <i class =" fa-solid fa-champagne-glasses" aria-hidden = " true " ></i >
45
+ Träwelling {{ __ (' year-review' ) } }
103
46
</h4 >
104
- <p >{{ __ (' year-review.teaser' )} } </p >
47
+ <p >{{ __ (' year-review.teaser' ) } } </p >
105
48
<a class =" btn btn-outline-primary btn-block" href =" /your-year/" >
106
- <i class =" fa-solid fa-arrow-pointer text-primary" ></i >
107
- {{ __ (' year-review.open' )} }
49
+ <i class =" fa-solid fa-arrow-pointer text-primary" aria-hidden = " true " ></i >
50
+ {{ __ (' year-review.open' ) } }
108
51
</a >
109
52
</div >
110
53
@endif
@@ -113,14 +56,15 @@ class="accordion-collapse collapse"
113
56
{{ $statuses -> links () } }
114
57
115
58
@if ($showGlobalButton )
116
- <div class =" alert alert-info" >
59
+ <div class =" alert alert-info" role = " region " aria-label = " {{ __ ( ' dashboard.empty ' ) } } " >
117
60
<h4 class =" alert-heading" >
118
- <i class =" fa-solid fa-binoculars" ></i >
61
+ <i class =" fa-solid fa-binoculars" aria-hidden = " true " ></i >
119
62
{{ __ (' dashboard.empty' ) } }
120
63
</h4 >
121
64
<p >{{ __ (' dashboard.empty.teaser' ) } } </p >
122
- <p >{{ __ (' dashboard.empty.discover1' ) } }
123
- <a href =" {{ route (' statuses.active' )} }" >
65
+ <p >
66
+ {{ __ (' dashboard.empty.discover1' ) } }
67
+ <a href =" {{ route (' statuses.active' ) } }" >
124
68
{{ __ (' menu.active' ) } }
125
69
</a >
126
70
{{ __ (' dashboard.empty.discover3' ) } } .
@@ -133,4 +77,4 @@ class="accordion-collapse collapse"
133
77
</div >
134
78
</div >
135
79
</div >
136
- @endsection
80
+ @endsection
0 commit comments