diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-08-09 10:46:49 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-08-09 10:46:49 +0100 |
commit | de4dcf6c785dff4775dee837f1156f2e16e30b6b (patch) | |
tree | 2427b15e7a74c32a7503a8b54a9fbe782c5297c1 | |
parent | ef421c31febe5219042468e3ec33654cf1e11556 (diff) |
Use link instead of @import.
-rw-r--r-- | templates/web/barnet/header.html | 7 | ||||
-rw-r--r-- | templates/web/default/header.html | 5 | ||||
-rw-r--r-- | templates/web/emptyhomes/header.html | 12 | ||||
-rw-r--r-- | templates/web/fiksgatami/header.html | 6 | ||||
-rw-r--r-- | templates/web/lichfielddc/header.html | 6 | ||||
-rw-r--r-- | web/down.default.html | 17 |
6 files changed, 22 insertions, 31 deletions
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html index 8346ea344..1616198e7 100644 --- a/templates/web/barnet/header.html +++ b/templates/web/barnet/header.html @@ -3,11 +3,8 @@ <head> <link rel="stylesheet" type="text/css" href="/cobrands/barnet/css/basic.css"> - <style type="text/css"> - @import url(/css/core.css); - @import url(/cobrands/barnet/css/layout.css); - </style> - + <link rel="stylesheet" type="text/css" href="/css/core.css"> + <link rel="stylesheet" type="text/css" href="/cobrands/barnet/css/layout.css"> <!-- Preferred style sheet enabled when the page is loaded --> <link rel="stylesheet" title="default" type="text/css" href="/cobrands/barnet/css/light.css"> diff --git a/templates/web/default/header.html b/templates/web/default/header.html index 4030b537f..8fffbda88 100644 --- a/templates/web/default/header.html +++ b/templates/web/default/header.html @@ -2,9 +2,10 @@ <html lang="[% lang_code %]"> <head> - <style type="text/css">@import url("/css/core.css"); @import url("/css/main.css");</style> + <link rel="stylesheet" type="text/css" href="/css/core.css"> + <link rel="stylesheet" type="text/css" href="/css/main.css"> <!--[if LT IE 7]> - <style type="text/css">@import url("/css/ie6.css");</style> + <link rel="stylesheet" type="text/css" href="/css/ie6.css"> <![endif]--> [% INCLUDE 'common_header_tags.html' %] diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html index 59d3db3e2..017d3a6f5 100644 --- a/templates/web/emptyhomes/header.html +++ b/templates/web/emptyhomes/header.html @@ -2,13 +2,11 @@ <html lang="[% lang_code %]"> <head> -<style type="text/css"> -@import "/css/core.css"; -@import "/cobrands/emptyhomes/css.css"; -</style> -<!--[if LT IE 7]> -<style type="text/css">@import url("/css/ie6.css");</style> -<![endif]--> + <link rel="stylesheet" type="text/css" href="/css/core.css"> + <link rel="stylesheet" type="text/css" href="/cobrands/emptyhomes/css.css"> + <!--[if LT IE 7]> + <link rel="stylesheet" type="text/css" href="/css/ie6.css"> + <![endif]--> [% INCLUDE 'common_header_tags.html' %] diff --git a/templates/web/fiksgatami/header.html b/templates/web/fiksgatami/header.html index c8e9bb1c9..44ebb7ee7 100644 --- a/templates/web/fiksgatami/header.html +++ b/templates/web/fiksgatami/header.html @@ -2,10 +2,8 @@ <html lang="[% lang_code %]"> <head> - <style type="text/css"> - @import url("/css/core.css"); - @import url("/cobrands/fiksgatami/css.css"); - </style> + <link rel="stylesheet" type="text/css" href="/css/core.css"> + <link rel="stylesheet" type="text/css" href="/cobrands/fiksgatami/css.css"> [% INCLUDE 'common_header_tags.html' %] </head> diff --git a/templates/web/lichfielddc/header.html b/templates/web/lichfielddc/header.html index f162ecc97..e134cd6f9 100644 --- a/templates/web/lichfielddc/header.html +++ b/templates/web/lichfielddc/header.html @@ -2,10 +2,8 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="[% lang_code %]"> <head> -<style type="text/css"> - @import url(/css/core.css); - @import url(/cobrands/lichfielddc/css/layout.css); -</style> + <link rel="stylesheet" type="text/css" href="/css/core.css" /> + <link rel="stylesheet" type="text/css" href="/cobrands/lichfielddc/css/layout.css" /> <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/standard_1_.css" media="screen" /> <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/style.php" media="screen" /> diff --git a/web/down.default.html b/web/down.default.html index 35d2cf237..10502d89b 100644 --- a/web/down.default.html +++ b/web/down.default.html @@ -2,12 +2,12 @@ <html lang="en-gb"> <head> <title>FixMyStreet</title> - <style type="text/css">@import url("/css/core.css"); @import url("/css/main.css");</style> + <link rel="stylesheet" type="text/css" href="/css/core.css"> + <link rel="stylesheet" type="text/css" href="/css/main.css"> <!--[if LT IE 7]> -<style type="text/css">@import url("/css/ie6.css");</style> + <link rel="stylesheet" type="text/css" href="/css/ie6.css"> <![endif]--> - <!-- RSS --> </head> <body> <h1 id="header">Fix<span id="my">My</span>Street</h1> @@ -21,15 +21,14 @@ <h2 class="v">Navigation</h2> <ul id="navigation"> -<li>team@fixmystreet.com</a></li> +<li>team@fixmystreet.com</li> </ul> -<a href="http://www.mysociety.org/"><img id="logo" src="/i/mysociety-dark.png" alt="View mySociety.org"><span id="logoie"></span></a> - -<p id="footer">Built by <a href="http://www.mysociety.org/">mySociety</a>, -using some <a href="http://github.com/mysociety/fixmystreet">clever</a> <a -href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>.</p> +<a href="http://www.mysociety.org/"><img id="logo" width="133" height="26" src="/i/mysociety-dark.png" alt="View mySociety.org"><span id="logoie"></span></a> +<p id="footer">Built by <a href="http://www.mysociety.org/">mySociety</a> + | <a href="http://github.com/mysociety/fixmystreet">Source code</a> +</p> </body> </html> |