engine/app/views/layouts/good_job/base.html.erb in good_job-2.10.0 vs engine/app/views/layouts/good_job/base.html.erb in good_job-2.11.0

- old
+ new

@@ -43,11 +43,14 @@ <div class="nav-link"> <span class="badge bg-secondary">More views coming soon</span> </div> </li> </ul> - <div class="text-muted" title="Now is <%= Time.current %>">Times are displayed in <%= Time.current.zone %> timezone</div> + <div> + <input type="checkbox" id="toggle-poll" name="toggle-poll" data-gj-action='change#togglePoll' <%= 'checked' if params[:poll].present? %>> + <label for="toggle-poll">Live Poll</label> + </div> </div> </div> </nav> <div class="container-fluid"> @@ -68,9 +71,26 @@ <%= render "good_job/shared/icons/exclamation", class: "flex-shrink-0 me-2" %> <div><%= alert %></div> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> </div> <% end %> + <%= yield %> </div> + + <footer class="footer mt-auto py-3 bg-light fixed-bottom" id="footer" data-gj-poll-replace> + <div class="container-fluid"> + <div class="row"> + <div class="col-6"> + <span class="text-muted"> + Last updated: <time id="page-updated-at" datetime="<%= Time.current.utc.iso8601 %>"><%= Time.current %></time> + </span> + </div> + + <div class="col-6 text-end"> + Remember, you're doing a Good Job too! + </div> + </div> + </div> + </footer> </body> </html>