Skip to content

Commit

Permalink
Tidy herald page a little
Browse files Browse the repository at this point in the history
  • Loading branch information
marksteward committed May 28, 2024
1 parent aeaf40b commit 2fa3a11
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/schedule/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class HeraldCommsForm(Form):
)
update = SubmitField("Update info")

speaker_here = SubmitField("'Now' Speaker here")
speaker_here = SubmitField("Speaker has arrived")


class HeraldStageForm(Form):
Expand Down
20 changes: 15 additions & 5 deletions templates/schedule/herald/venue.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ <h2>Now</h2>
</dl>
{{ form.now.talk_id() }}
{{ render_field(form.now.video_privacy, horizontal=8) }}
{{ render_field(form.now.update, horizontal=8) }}
<div class="col-sm-12">
<input type="submit" name="{{form.now.update.name}}" value="{{form.now.update.label.text}}" class="btn btn-success debounce pull-right"/>
</div>
<p>&nbsp;</p>
{{ render_field(form.now.speaker_here, horizontal=8) }}
<div class="col-sm-8 col-sm-offset-4">
<input type="submit" name="{{form.now.speaker_here.name}}" value="{{form.now.speaker_here.label.text}}" class="form-control btn btn-primary debounce"/>
</div>
<p>&nbsp;</p>
{% endif %}

Expand All @@ -45,16 +49,22 @@ <h2>Next</h2>
</dl>
{{ form.next.talk_id() }}
{{ render_field(form.next.video_privacy, horizontal=8) }}
{{ render_field(form.next.update, horizontal=8) }}
<div class="col-sm-12">
<input type="submit" name="{{form.next.update.name}}" value="{{form.next.update.label.text}}" class="btn btn-success debounce pull-right"/>
</div>
<p>&nbsp;</p>
{{ render_field(form.next.speaker_here, horizontal=8) }}
<div class="col-sm-8 col-sm-offset-4">
<input type="submit" name="{{form.next.speaker_here.name}}" value="{{form.next.speaker_here.label.text}}" class="form-control btn btn-primary debounce"/>
</div>
<p>&nbsp;</p>
{% endif %}

<h2>Send message to the Greenroom</h2>

{{ render_field(form.message, horizontal=8) }}
{{ form.send_message(class="btn btn-success pull-right") }}
<div class="col-sm-8 col-sm-offset-4">
<input type="submit" name="{{form.send_message.name}}" value="{{form.send_message.label.text}}" class="btn btn-success debounce pull-right"/>
</div>
</form>
<p>&nbsp;</p>

Expand Down

0 comments on commit 2fa3a11

Please sign in to comment.