Create nice animation when scanning nfc cards

This commit is contained in:
klmp200 committed 2024-11-15 14:47:15 +01:00
1 parent 63736a6c60
commit f0e5161e54
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