forked from HackAssistant/registration
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Various fixes to offers, meals, etc (#88)
* slack fixes * fixing flake errors * Enabling sponsors etc to be QR scanned * reenable HW * resetting app deadline * on the fly fixes * flake fixes * added newline
- Loading branch information
Showing
4 changed files
with
21 additions
and
13 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,20 +1,25 @@ | ||
{% extends 'base_tabs.html' %} | ||
|
||
| ||
{% load bootstrap3 %} | ||
{% block head_title %}Offers{% endblock %} | ||
|
||
| ||
{% block panel %} | ||
<style> | ||
.code a{ | ||
color: black !important; | ||
} | ||
</style> | ||
<div class="row"> | ||
<div class="col-md-12" style="text-align: center;"> | ||
{% for code in codes %} | ||
<img style="max-width: 250px;" alt="{{ code.offer.name }} logo" src="{{ code.offer.logo.url }}" /> | ||
<img style="max-width: 250px;display: block;" alt="{{ code.offer.name }} logo" src="{{ code.offer.logo.url }}" /> | ||
<p style="margin-top: 10px;">{{ code.offer.description | safe }}</p> | ||
<span style="background-color: #C2BEBE;padding: 10px 15px;font-size: 22px;display: inline-block;margin-top: 10px;margin-bottom: 1rem;">{{ code.code }}</span> | ||
<span class="code" style="background-color: #C2BEBE;padding: 10px 15px;font-size: 22px;display: inline-block;margin-top: 10px;margin-bottom: 25px;">{{ code.code | urlize }}</span> | ||
{% endfor %} | ||
{% if not codes %} | ||
<h4 style="margin-top: 15px;">Please contact us at {{ h_contact_email | urlize }} if you believe you should have offer codes.</h4> | ||
{% endif %} | ||
</div> | ||
</div> | ||
|
||
{% endblock %} | ||
| ||
{% endblock %} |
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