Styling, and hoping it looks good on @telling's big screen.
This commit is contained in:
parent
d6a07110b7
commit
d2c4a18df7
25
src/sponsors/migrations/0006_auto_20170715_1110.py
Normal file
25
src/sponsors/migrations/0006_auto_20170715_1110.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.5 on 2017-07-15 09:10
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('sponsors', '0005_sponsor_url'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='sponsor',
|
||||
name='logo',
|
||||
field=models.URLField(help_text='A URL to the logo', max_length=255),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='sponsor',
|
||||
name='url',
|
||||
field=models.URLField(blank=True, help_text='An URL to the sponsor.', null=True),
|
||||
),
|
||||
]
|
|
@ -27,24 +27,20 @@ Sponsors | {{ block.super }}
|
|||
<div class="page-header">
|
||||
<h1>{{ sponsor.tier.name}}</h1>
|
||||
</div>
|
||||
<section>
|
||||
<section class="text-center">
|
||||
|
||||
{% endifchanged %}
|
||||
|
||||
<div class="sponsor thumbnail">
|
||||
<p class="lead">
|
||||
{% if sponsor.url %}
|
||||
<a href="{{ sponsor.url }}">
|
||||
{% endif %}
|
||||
<img src="{{ sponsor.logo }}" />
|
||||
|
||||
<div class="caption">
|
||||
{{ sponsor.description }}
|
||||
</div>
|
||||
|
||||
<img class="img-responsive center-block" src="{{ sponsor.logo }}" />
|
||||
{% if sponsor.url %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ sponsor.description }}
|
||||
</p>
|
||||
|
||||
{% if forloop.last == True %}
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue