delete.eta 758 B

123456789101112131415161718
  1. <% layout("/en/layout", { title: "delete station" }) %>
  2. <%~ include("/en/panel/partials/navbar") %>
  3. <% const backIcon = `
  4. <svg class="icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  5. <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m12 19l-7-7l7-7m7 7H5" />
  6. </svg>
  7. ` %>
  8. <div class="container-row">
  9. <a role="button" href="/en/panel/stations/<%= it?.meteostanica.id %>"><%~ backIcon %></a>
  10. <h2>delete station</h2>
  11. </div>
  12. <p>are you sure you want to delete your station <strong><%= it?.meteostanica.name %></strong>?</p>
  13. <a role="button" class="danger" href="/en/panel/stations/<%= it?.meteostanica.id %>/deleteConfirm">delete station</a>