summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-02-09 10:38:15 +0100
committerLeif Johansson <leifj@sunet.se>2011-02-09 10:38:15 +0100
commit38c882e2fcb25752e24285d0f5f7a0e5a591aadb (patch)
tree950578b6b1b604af0d6b45159e65adf10aefcc19
parentf4ee518893a1441aebdba4322d0692553bd8469e (diff)
relative urls in css
-rw-r--r--site-media/css/sunet.css4
-rw-r--r--templates/login.html3
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 %}
<h2>Welcome!</h2>
<p class="ui-state-highlight ui-corner-all">This is a technology preview of the SUNET Meeting Tools. Contact Johnny or Marcus for more info!</p>
-<div class="button"><a href="/accounts/login-federated">Login</a></div>
+<div class="button"><a href="{% prefix %}/accounts/login-federated">Login</a></div>
{% endblock %} \ No newline at end of file