projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b8cf05b
)
Use local CSS when in debug mode.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 16 Nov 2008 17:57:21 +0000
(18:57 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sat, 10 Jan 2009 12:00:38 +0000
(13:00 +0100)
templates/base/base.html
patch
|
blob
|
history
diff --git
a/templates/base/base.html
b/templates/base/base.html
index 9f0e7e2c579efa803f85daaa006b56da4cdf7aa4..ac838bb56184c645ad02f47ef69b1f58847723ae 100644
(file)
--- a/
templates/base/base.html
+++ b/
templates/base/base.html
@@
-3,9
+3,12
@@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
-{# <link rel="stylesheet" type="text/css" href="http://www.evolution-events.nl/algemeen/css.php?skin=lex"/> #}
+{% if debug %}
+{# Use local copy of skin css when in debug mode #}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/base/css/lex.css"/>
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/base/css/lex.css"/>
-
+{% else %}
+<link rel="stylesheet" type="text/css" href="http://www.evolution-events.nl/algemeen/css.php?skin=lex"/>
+{% endif %}
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{{ MEDIA_URL }}/base/css/base.css{% endblock %}"/>
{# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> #}
{# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/logger/logger-debug.js"></script> #}
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{{ MEDIA_URL }}/base/css/base.css{% endblock %}"/>
{# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> #}
{# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/logger/logger-debug.js"></script> #}