Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created two tables for programs and templates. #1275

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions app/templates/events/template_selector.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
{% set title = "Template Selector" %}
{% extends "base.html"%}

{% block app_content %}
<h1 class="text-center mb-5">Create an Event</h1>
<div class="card m-auto" style="width: 400px;">
<div class="templateList">
{% for template in templates %}
<a href="/eventTemplates/{{template.id}}/{{celtsSponsoredProgram.id}}/create" class="list-group-item list-group-item-action">{{ template.name }}</a>
{% endfor %}
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-5 mx-3">
<h2 class="text-center">Programs</h2>
<div class="list-group">
{% for program in programs %}
<a href="/eventTemplates/1/{{program.id}}/create" class="list-group-item list-group-item-action">{{ program.programName }}</a>
{% endfor %}
</div>
</div>
<div class="col-lg-5 mx-3">
<h2 class="text-center">Templates</h2>
<div class="list-group">
{% for template in templates %}
<a href="/eventTemplates/{{template.id}}/{{celtsSponsoredProgram.id}}/create" class="list-group-item list-group-item-action">{{ template.name }}</a>
{% endfor %}
</div>
</div>
</div>
{% for program in programs %}
<a href="/eventTemplates/1/{{program.id}}/create" class="list-group-item list-group-item-action">{{ program.programName }}</a>
{% endfor %}
</div>
{% endblock %}
{% endblock %}
Loading