-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3e1dc2
commit 5f898e0
Showing
8 changed files
with
25 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!-- Tabler Core --> | ||
<script src="https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta11/dist/js/tabler.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta17/dist/js/tabler.min.js"></script> | ||
|
||
<!-- Time zone cookie --> | ||
<script type="module"> | ||
|
@@ -12,15 +12,16 @@ | |
<script type="module"> | ||
document.addEventListener("click", (event) => { | ||
if (!event.target.matches("[data-confirm]")) return | ||
if (!window.confirm(event.target.dataset["confirm"])) event.preventDefault() | ||
if (!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" | ||
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() | ||
|
2 changes: 1 addition & 1 deletion
2
lib/generators/admin/install/templates/erb/admin/base/_stylesheet_link_tags.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!-- Tabler Core --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta11/dist/css/tabler.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta17/dist/css/tabler.min.css"> | ||
|
||
<!-- Customize tabler here --> | ||
<style>body { | ||
|
9 changes: 0 additions & 9 deletions
9
lib/generators/admin/install/templates/erb/admin/user_mailer/password_reset.text.erb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters