diff options
author | 2009-10-13 23:46:04 -0500 | |
---|---|---|
committer | 2009-10-13 23:46:04 -0500 | |
commit | c2d89e3a78e9e43bc3f9e61bf7166ce057d80b56 (patch) | |
tree | 3b2fed7cbd31f40b8a5050294dd449ba8cd4b8a4 /gentoo_ads/ads/templates/ads.html | |
download | gentoo-ads-c2d89e3a78e9e43bc3f9e61bf7166ce057d80b56.tar.gz gentoo-ads-c2d89e3a78e9e43bc3f9e61bf7166ce057d80b56.tar.bz2 gentoo-ads-c2d89e3a78e9e43bc3f9e61bf7166ce057d80b56.zip |
Intial commit.
It works, but won't display the images until they are served via
an external media server.
I will add that in for dev purposes next.
Diffstat (limited to 'gentoo_ads/ads/templates/ads.html')
-rw-r--r-- | gentoo_ads/ads/templates/ads.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gentoo_ads/ads/templates/ads.html b/gentoo_ads/ads/templates/ads.html new file mode 100644 index 0000000..55a80d2 --- /dev/null +++ b/gentoo_ads/ads/templates/ads.html @@ -0,0 +1,14 @@ +<html> + <head> + <title></title> + <meta content=""> + <style></style> + </head> + <body> + {% 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 %} + + + </body> +</html>
\ No newline at end of file |