Sha256: 66a9d37825d104dcd64d49c012ef7f9d51c1872bef409838b61f2320e2823147

Contents?: true

Size: 1.31 KB

Versions: 39

Compression:

Stored size: 1.31 KB

Contents

<div data-controller="alert"
  data-alert-dismiss-after-value="<%= Avo.configuration.alert_dismiss_time %>"
  data-alert-remove-delay-value="0"
  class="w-full shadow-lg px-4 py-3 rounded relative border text-white pointer-events-auto bg-red-400 border-red-600"
>
  <div class="px-2">
    <div class="flex h-full">
      <div class="flex items-center min-h-full">
        <%= helpers.svg "heroicons/solid/exclamation-circle", class: "h-6" %>
      </div>
      <div class="ml-3 w-0 flex-1 pt-0.5">
        <p class="text-sm leading-5 font-semibold">
          <strong>Backtrace:</strong>
          <pre class='overflow-y-scroll max-h-64 whitespace-pre-wrap text-xs'><%= @backtrace.join("\n") %></pre>
        </p>
      </div>
      <div class="ml-4 flex-shrink-0 flex items-center">
        <button data-action="alert#close" class="inline-flex text-white focus:outline-none focus:text-gray-300 transition ease-in-out duration-150">
          <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
          </svg>
        </button>
      </div>
    </div>
  </div>
</div>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
avo-3.15.1 app/components/avo/backtrace_alert_component.html.erb
avo-3.15.0 app/components/avo/backtrace_alert_component.html.erb
avo-3.14.5 app/components/avo/backtrace_alert_component.html.erb
avo-3.14.4 app/components/avo/backtrace_alert_component.html.erb
avo-3.14.3 app/components/avo/backtrace_alert_component.html.erb
avo-3.14.2 app/components/avo/backtrace_alert_component.html.erb
avo-3.14.1 app/components/avo/backtrace_alert_component.html.erb
avo-3.14.0 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.7 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.6 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.5 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.4 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.3 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.2 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.1 app/components/avo/backtrace_alert_component.html.erb
avo-3.13.0 app/components/avo/backtrace_alert_component.html.erb
avo-3.12.0 app/components/avo/backtrace_alert_component.html.erb
avo-3.11.10 app/components/avo/backtrace_alert_component.html.erb
avo-3.11.9 app/components/avo/backtrace_alert_component.html.erb
avo-3.11.8 app/components/avo/backtrace_alert_component.html.erb