-
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
Lucia Karens
authored and
Lucia Karens
committed
Nov 8, 2024
1 parent
329b339
commit 890f41b
Showing
11 changed files
with
230 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 2.2.24 on 2024-11-07 23:09 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('events', '0035_merge_20241008_1413'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='participant', | ||
name='in_waiting_list', | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import React, {Component, Fragment} from 'react'; | ||
import Typography from "@material-ui/core/es/Typography/Typography"; | ||
import Button from "@material-ui/core/es/Button/Button"; | ||
import Grid from "@material-ui/core/es/Grid/Grid"; | ||
|
||
|
||
class WaitingListPage extends Component { | ||
constructor(props) { | ||
super(props); | ||
} | ||
|
||
|
||
render() { | ||
const {event} = this.props; | ||
|
||
|
||
return ( | ||
<Grid container spacing={16}> | ||
<div className='image-section' > | ||
{ | ||
event.image_url && ( | ||
<img alt='Event image' src={event.image_url} style={{"max-width":"100%",}}/> | ||
) | ||
} | ||
</div> | ||
|
||
|
||
<Grid item sm={12}> | ||
<Typography style={{marginTop: 8}}>By signing up you agree to THS Armada's <a href="https://docs.google.com/document/d/14_dUZHTL6QUNF9UeL7fghJXO1wZimbi_aKG5ttcGd1s/edit#heading=h.hpqg0xn5jl2q" target="_blank" rel="noopener noreferrer" style={{ color: "#00d790" }}>Privacy Notice</a>.</Typography> | ||
|
||
<Typography style={{marginTop: 16, color: "#d73030", fontSize: 18 }}> | ||
{'You have already joined the waiting list for this event.'} | ||
</Typography> | ||
<Typography style={{marginTop: 16, fontSize: 18 }}> | ||
{'If a spot opens up for you, you will automatically be added to the event. Even if you do not get a spot, you can still come to the physical location of the event on the day of: if registered attendees do not show up, you (and all other people on the waiting list) will be given a spot on a first-come first-served basis.'} | ||
</Typography> | ||
|
||
<Button | ||
disabled="true" | ||
variant="contained" | ||
color="primary" | ||
style={{marginTop: 10}} | ||
> | ||
{"Not open for sign up"} | ||
</Button> | ||
|
||
<Button | ||
disabled="true" | ||
variant="contained" | ||
color="secondary" | ||
style={{marginTop: 10, marginLeft: 20}} | ||
> | ||
{"Join Waiting List"} | ||
</Button> | ||
|
||
</Grid> | ||
|
||
</Grid> | ||
) | ||
} | ||
} | ||
|
||
export default WaitingListPage; |
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
Oops, something went wrong.