Create nice animation when scanning nfc cards

This commit is contained in:
klmp200 authored and Bartuccio Antoine committed 2024-11-15 14:51:45 +01:00
1 parent fce6c3d29c
commit 9991f5dc64
4 files changed
+43 -4

No files matched your search

+2 -1
View File
@@ -76,7 +76,8 @@ class NFCTextInput(TextInput):
def get_context(self, name, value, attrs):
context = super().get_context(name, value, attrs)
context["statics"] = {
"js": staticfiles_storage.url("webpack/core/components/nfc-input-index.ts")
"js": staticfiles_storage.url("webpack/core/components/nfc-input-index.ts"),
"css": staticfiles_storage.url("core/components/nfc-input.scss"),
}
return context