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

CONCD-996 aligning the filters right #2642

Merged
merged 2 commits into from
Dec 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
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
{% block main_content %}
<div class="container py-3">
<h1>Completed Campaigns</h1>
<div id="campaign-options" class="row mb-2">
<div class="col-2 d-flex align-items-center">
<div id="campaign-options" class="d-flex justify-content-end mb-2">
<div class="d-flex align-items-center mx-2">
<label for="view-options" class="pe-1">View</label>
<select id="view-options">
<option value="grid"{% if request.GET.view != 'list' %} selected{% endif %}>Grid</option>
<option value="list"{% if request.GET.view == 'list' %} selected{% endif %}>List</option>
</select>
<a class="btn btn-primary" onclick="toggleCampaignView();">Go</a>
</div>
<div class="col-5 d-flex align-items-center">
<div class="d-flex align-items-center mx-2">
<label for="campaign-type" class="pe-1">Campaign Type</label>
<select id="campaign-type">
<option value="completed"{% if request.GET.type != 'retired' %} selected{% endif %}>Completed Campaigns</option>
Expand All @@ -33,7 +33,7 @@ <h1>Completed Campaigns</h1>
<a class="btn btn-primary" onclick="toggleCampaignType();" type="submit">Go</a>
</div>
{% if research_centers %}
<div class="col-5 d-flex align-items-center">
<div class="d-flex align-items-center ms-2">
<label for="research-center" class="pe-1">Research Center</label>
<select id="research-center">
<option value="all"{% if 'research_center' not in request.GET %} selected{% endif %}>All Research Centers</option>
Expand Down
Loading