Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Paweljong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
AlekSIS-App-Paweljong
Commits
4a8b6c74
Verified
Commit
4a8b6c74
authored
2 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Add QR code reader to person-group-assignment
parent
3e370d00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!32
Resolve "Add QR code scanning to person-group view"
Pipeline
#76080
failed
2 years ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/paweljong/forms.py
+2
-0
2 additions, 0 deletions
aleksis/apps/paweljong/forms.py
aleksis/apps/paweljong/templates/paweljong/event/persons_group.html
+1
-0
1 addition, 0 deletions
...ps/paweljong/templates/paweljong/event/persons_group.html
with
3 additions
and
0 deletions
aleksis/apps/paweljong/forms.py
+
2
−
0
View file @
4a8b6c74
...
...
@@ -492,6 +492,8 @@ class RegistrationStatesForm(forms.ModelForm):
class
PersonGroupFormPerson
(
forms
.
Form
):
class
Media
:
js
=
(
"
https://unpkg.com/html5-qrcode
"
,
"
js/paweljong/qrscanner.js
"
)
layout
=
Layout
(
"
username
"
)
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/paweljong/templates/paweljong/event/persons_group.html
+
1
−
0
View file @
4a8b6c74
...
...
@@ -15,6 +15,7 @@
{% form form=form %}{% form %}
{% include "core/partials/save_button.html" %}
</form>
<div
id=
"qr-reader"
data-target-input=
"username"
></div>
{{ form.media.js }}
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment