diff options
-rw-r--r-- | gentoo_ads/ads/templates/ads.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gentoo_ads/ads/templates/ads.html b/gentoo_ads/ads/templates/ads.html index 55a80d2..1626a0c 100644 --- a/gentoo_ads/ads/templates/ads.html +++ b/gentoo_ads/ads/templates/ads.html @@ -2,13 +2,18 @@ <head> <title></title> <meta content=""> - <style></style> + <style> + div.ads a img { + max-width: 125px; + max-height: 125px; + } + </style> </head> <body> + <div class="ads"> {% for ad in ads %} <a href="{{ad.url}}"><img src="{{ MEDIA_URL }}{{ ad.name }}.png" alt="{{ ad.title }}" title="{{ ad.title }}" height="{{ ad.height }}" width="{{ ad.width }}" /></a><br /> {% endfor %} - - + </div> </body> </html>
\ No newline at end of file |