-
Notifications
You must be signed in to change notification settings - Fork 8
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 #1275 from BCStudentSoftwareDevTeam/createEventgap
Created two tables for programs and templates.
- Loading branch information
Showing
1 changed file
with
19 additions
and
10 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
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 %} |