|
40 | 40 | <div class="d-flex flex-row-reverse px-3 pt-3 pb-1"><button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button></div>
|
41 | 41 |
|
42 | 42 | <div class="d-flex flex-column mx-2 gap-1">
|
43 |
| - <div class="d-flex gap-1 align-items-center"> |
44 |
| - <div class="d-flex flex-column gap-1 flex-grow-1"> |
45 |
| - <div class="d-flex gap-2 align-items-center"> |
46 |
| - <div class="routing_marker_column flex-shrink-0"> |
47 |
| - <%= image_tag "marker-green.png", :class => "img-fluid", :data => { :type => "from" }, :draggable => "true" %> |
48 |
| - </div> |
49 |
| - <%= text_field_tag "route_from", params[:from], :placeholder => t("site.search.from"), :autocomplete => "on", :class => "form-control py-1 px-2", :dir => "auto" %> |
50 |
| - </div> |
51 |
| - <div class="d-flex gap-2 align-items-center"> |
52 |
| - <div class="routing_marker_column flex-shrink-0"> |
53 |
| - <%= image_tag "marker-red.png", :class => "img-fluid", :data => { :type => "to" }, :draggable => "true" %> |
54 |
| - </div> |
55 |
| - <%= text_field_tag "route_to", params[:to], :placeholder => t("site.search.to"), :autocomplete => "on", :class => "form-control py-1 px-2", :dir => "auto" %> |
56 |
| - </div> |
| 43 | + <div class="d-flex gap-2 align-items-center"> |
| 44 | + <div class="routing_marker_column flex-shrink-0"> |
| 45 | + <%= image_tag "marker-green.png", :class => "img-fluid", :data => { :type => "from" }, :draggable => "true" %> |
57 | 46 | </div>
|
58 |
| - <div> |
59 |
| - <button type="button" class="reverse_directions btn btn-outline-secondary border-0 p-2" title="<%= t("site.search.reverse_directions_text") %>"> |
60 |
| - <svg class="d-block" width="20" height="20" viewBox="-10 -10 20 20" fill="none" stroke="currentColor" stroke-width="2"> |
61 |
| - <path d="m-4 -2 0 10 m-4 -4 4 4 4 -4" /> |
62 |
| - <path d="m4 2 0 -10 m4 4 -4 -4 -4 4" /> |
63 |
| - </svg> |
64 |
| - </button> |
| 47 | + <%= text_field_tag "route_from", params[:from], :placeholder => t("site.search.from"), :autocomplete => "on", :class => "form-control py-1 px-2", :dir => "auto" %> |
| 48 | + <button type="button" class="locate border-0 btn btn-outline-secondary p-2"> |
| 49 | + <span class="d-block geolocate icon"></span> |
| 50 | + </button> |
| 51 | + </div> |
| 52 | + <div class="d-flex gap-2 align-items-center"> |
| 53 | + <div class="routing_marker_column flex-shrink-0"> |
| 54 | + <%= image_tag "marker-red.png", :class => "img-fluid", :data => { :type => "to" }, :draggable => "true" %> |
65 | 55 | </div>
|
| 56 | + <%= text_field_tag "route_to", params[:to], :placeholder => t("site.search.to"), :autocomplete => "on", :class => "form-control py-1 px-2", :dir => "auto" %> |
| 57 | + <button type="button" class="reverse_directions btn btn-outline-secondary border-0 p-2" title="<%= t("site.search.reverse_directions_text") %>"> |
| 58 | + <svg class="d-block" width="20" height="20" viewBox="-10 -10 20 20" fill="none" stroke="currentColor" stroke-width="2"> |
| 59 | + <path d="m-4 -2 0 10 m-4 -4 4 4 4 -4" /> |
| 60 | + <path d="m4 2 0 -10 m4 4 -4 -4 -4 4" /> |
| 61 | + </svg> |
| 62 | + </button> |
66 | 63 | </div>
|
67 | 64 | <div class="d-flex gap-2 align-items-center">
|
68 | 65 | <div class="routing_marker_column flex-shrink-0"></div>
|
|
0 commit comments