diff options
| author | Jannis Leidel | 2012-08-27 03:37:44 -0700 |
|---|---|---|
| committer | Jannis Leidel | 2012-08-27 03:37:44 -0700 |
| commit | 1432944152d5fa6005e29419dc160a7602a26cee (patch) | |
| tree | 0198cb90ff0088d718b5c3d9e11f1893f37e742f /example/templates | |
| parent | 119874f649e67e04ded3847fc166b9798af26a78 (diff) | |
| parent | a4480a2f810fd8a21da1d2e637d4bfcf10357605 (diff) | |
| download | django-debug-toolbar-1432944152d5fa6005e29419dc160a7602a26cee.tar.bz2 | |
Merge pull request #313 from graingert/master
Use links to static JS and CSS, using {{ STATIC_URL }}
Diffstat (limited to 'example/templates')
| -rw-r--r-- | example/templates/jquery/index.html | 2 | ||||
| -rw-r--r-- | example/templates/mootools/index.html | 2 | ||||
| -rw-r--r-- | example/templates/prototype/index.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/example/templates/jquery/index.html b/example/templates/jquery/index.html index 61b3cbe..9cab242 100644 --- a/example/templates/jquery/index.html +++ b/example/templates/jquery/index.html @@ -6,7 +6,7 @@ .hide {display:none;} #v {font-weight:bold;} </style> - <script type="text/javascript" charset="utf-8" src="{{ MEDIA_URL }}/js/jquery.js"></script> + <script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $('p.hide').show(); diff --git a/example/templates/mootools/index.html b/example/templates/mootools/index.html index fa12abe..dde019d 100644 --- a/example/templates/mootools/index.html +++ b/example/templates/mootools/index.html @@ -5,7 +5,7 @@ <style> .hide {display:none;} </style> - <script type="text/javascript" charset="utf-8" src="{{ MEDIA_URL }}/js/mootools.js"></script> + <script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/mootools.js"></script> <script type="text/javascript"> window.addEvent('domready', function() { $$('p.hide').setStyle('display', 'block'); diff --git a/example/templates/prototype/index.html b/example/templates/prototype/index.html index bcc3141..bf3d0a5 100644 --- a/example/templates/prototype/index.html +++ b/example/templates/prototype/index.html @@ -5,7 +5,7 @@ <style> .hide {display:none;} </style> - <script type="text/javascript" charset="utf-8" src="{{ MEDIA_URL }}/js/prototype.js"></script> + <script type="text/javascript" charset="utf-8" src="{{ STATIC_URL }}/js/prototype.js"></script> <script type="text/javascript"> document.observe('dom:loaded', function() { $('showme').removeClassName('hide'); |
