Sha256: 0491210ef4d3c9ae5114679a0e8ef6ad43f83bea08e9bbca957b35ad9780da98
Contents?: true
Size: 1008 Bytes
Versions: 1
Compression:
Stored size: 1008 Bytes
Contents
<!-- Tabler Core --> <script src="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/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 (!confirm(event.target.dataset["confirm"])) event.preventDefault() }) </script> <!-- Stimulus controllers --> <script type="module"> import { Application, Controller } from "https://cdn.jsdelivr.net/npm/stimulus@3.2.1/dist/stimulus.min.js" window.Stimulus = Application.start() // Flash message 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.18 | lib/generators/admin/install/templates/erb/admin/base/_javascript_tags.html.erb |