-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from wlmac/2022-current
feat: added /current page and some other stuff
- Loading branch information
Showing
14 changed files
with
217 additions
and
74 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
38 changes: 38 additions & 0 deletions
38
scavenger2022/core/migrations/0013_logicpuzzlehint_alter_qrcode_notes.py
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 4.1.3 on 2022-12-12 22:57 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0012_remove_user_chosen"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="LogicPuzzleHint", | ||
fields=[ | ||
("id", models.AutoField(primary_key=True, serialize=False)), | ||
( | ||
"hint", | ||
models.TextField( | ||
help_text="Hint for the logic puzzle", max_length=1024 | ||
), | ||
), | ||
("notes", models.TextField(blank=True, help_text="Internal notes")), | ||
( | ||
"qr_index", | ||
models.IntegerField( | ||
help_text="The index of the QR code that this hint is for, that is everyone on their nth QR code will get same same hint (starting from 1)", | ||
unique=True, | ||
), | ||
), | ||
], | ||
), | ||
migrations.AlterField( | ||
model_name="qrcode", | ||
name="notes", | ||
field=models.TextField(blank=True, help_text="Internal notes"), | ||
), | ||
] |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Generated by Django 4.1.3 on 2022-12-12 23:57 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0013_logicpuzzlehint_alter_qrcode_notes"), | ||
("core", "0013_remove_team_completed_qr_codes_and_more"), | ||
] | ||
|
||
operations = [] |
27 changes: 27 additions & 0 deletions
27
scavenger2022/core/migrations/0015_alter_hint_options_alter_invite_team.py
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Generated by Django 4.1.3 on 2022-12-13 00:16 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0014_merge_20221212_1857"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="hint", | ||
options={"permissions": [("view_before_start", "Play game before start")]}, | ||
), | ||
migrations.AlterField( | ||
model_name="invite", | ||
name="team", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="invites", | ||
to="core.team", | ||
), | ||
), | ||
] |
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ body > nav { | |
padding: 4px; | ||
} | ||
|
||
#cutoff-header { | ||
#start-header { | ||
text-align: center; | ||
} | ||
|
||
|
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
Oops, something went wrong.