changeset 1049:4aae6bb81005 beta

changed all urls for CSS files to use pylons url function
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 15 Feb 2011 18:37:56 +0100
parents ab09064ba7cf
children cabe887a9829
files rhodecode/templates/errors/error_document.html rhodecode/templates/login.html rhodecode/templates/password_reset.html rhodecode/templates/register.html
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/errors/error_document.html	Tue Feb 15 18:33:58 2011 +0100
+++ b/rhodecode/templates/errors/error_document.html	Tue Feb 15 18:37:56 2011 +0100
@@ -11,7 +11,7 @@
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
-        <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
+        <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css',_static=True)}" media="screen" />
 	    <style type="text/css">
 	     #main_div{
 	       border: 0px solid #000;
--- a/rhodecode/templates/login.html	Tue Feb 15 18:33:58 2011 +0100
+++ b/rhodecode/templates/login.html	Tue Feb 15 18:37:56 2011 +0100
@@ -8,7 +8,7 @@
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
-        <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
+        <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css',_static=True)}" media="screen" />
 
     </head>
     <body>
--- a/rhodecode/templates/password_reset.html	Tue Feb 15 18:33:58 2011 +0100
+++ b/rhodecode/templates/password_reset.html	Tue Feb 15 18:37:56 2011 +0100
@@ -8,7 +8,7 @@
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
-        <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
+        <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css',_static=True)}" media="screen" />
 
     </head>
     <body>
--- a/rhodecode/templates/register.html	Tue Feb 15 18:33:58 2011 +0100
+++ b/rhodecode/templates/register.html	Tue Feb 15 18:37:56 2011 +0100
@@ -8,7 +8,7 @@
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
-        <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
+        <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css',_static=True)}" media="screen" />
 
     </head>
     <body>