From 38c882e2fcb25752e24285d0f5f7a0e5a591aadb Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 10:38:15 +0100 Subject: relative urls in css --- site-media/css/sunet.css | 4 ++-- templates/login.html | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/site-media/css/sunet.css b/site-media/css/sunet.css index fc01b2e..3226fcd 100644 --- a/site-media/css/sunet.css +++ b/site-media/css/sunet.css @@ -6,7 +6,7 @@ } html, body { height: 100%; - background: url(/site-media/img/header.jpg) center top repeat-x; + background: url(../img/header.jpg) center top repeat-x; width: 100%; } .wrapper { @@ -28,7 +28,7 @@ html, body { display: block; height: 145px; width: 81px; - background: url(/site-media/img/logo.jpg) center no-repeat; + background: url(../img/logo.jpg) center no-repeat; } .footer, .push { height: 4em; diff --git a/templates/login.html b/templates/login.html index 03ecd2a..a89fa6a 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,8 +1,9 @@ {% extends "base.html" %} +{% load "prefix" %} {% block headline %}Login{% endblock %} {% block title %}SUNET Meeting Tools{% endblock %} {% block content %}

Welcome!

This is a technology preview of the SUNET Meeting Tools. Contact Johnny or Marcus for more info!

-
Login
+
Login
{% endblock %} \ No newline at end of file -- cgit v1.1