Sha256: 9eb5772783d05f7cfc5be28eea3890b3065b320466495e4c89738e28d7ba006e
Contents?: true
Size: 1006 Bytes
Versions: 1
Compression:
Stored size: 1006 Bytes
Contents
<!-- Tabler Core --> <script src="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta11/dist/js/tabler.min.js"></script> <!-- Time zone cookie --> <script type="module"> import cookies from "https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.mjs" const { timeZone } = new Intl.DateTimeFormat().resolvedOptions() cookies.set("time_zone", timeZone, { expires: 365 }) </script> <!-- Data confirm --> <script type="module"> document.addEventListener("click", (event) => { if (!event.target.matches("[data-confirm]")) return if (!window.confirm(event.target.dataset["confirm"])) event.preventDefault() }) </script> <!-- Stimulus controllers --> <script type="module"> import { Application, Controller } from "https://cdn.jsdelivr.net/npm/@hotwired/stimulus@3.1.0/dist/stimulus.min.js" window.Stimulus = Application.start() Stimulus.register("flash-message", class extends Controller { connect() { new bootstrap.Toast(this.element).show() } }) </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administration-zero-0.0.17 | lib/generators/admin/install/templates/erb/admin/base/_javascript_tags.html.erb |