Changeset 623:c59da4d445e8
- Timestamp:
- 12/06/12 13:52:55 (11 months ago)
- Branch:
- default
- Location:
- cyclope
- Files:
-
- 6 edited
-
apps/medialibrary/templates/medialibrary/media_player.html (modified) (1 diff)
-
core/collections/templates/collections/category_slideshow.html (modified) (2 diffs)
-
templates/cyclope/inline_view.html (modified) (1 diff)
-
templates/cyclope/menu_menuitems_hierarchy.html (modified) (2 diffs)
-
templates/cyclope/site_search_box.html (modified) (1 diff)
-
templates/cyclope/themes/neutrona/base.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cyclope/apps/medialibrary/templates/medialibrary/media_player.html
r621 r623 1 {% load i18n compress%}1 {% load i18n %} 2 2 3 {% block extra_head %}4 { % compress js %}3 {% block extra_head_js %} 4 {{ block.super }} 5 5 <script type='text/javascript' src='/media/cyclope/jwplayer/swfobject.js'></script> 6 {% endcompress %}7 6 {% endblock %} 8 7 -
cyclope/core/collections/templates/collections/category_slideshow.html
r621 r623 3 3 {% load i18n cyclope_utils fb_versions compress %} 4 4 5 {% block extra_head %} 6 {% compress js %} 5 {% block extra_head_js %} 7 6 <script type="text/javascript" src="{{ CYCLOPE_STATIC_URL }}js/jquery.jcarousel.min.js"></script> 8 7 <script type="text/javascript"> … … 39 38 }); 40 39 </script> 41 {% endcompress %} 42 {% compress css %} 40 {% endblock %} 41 42 {% block extra_head %} 43 {% compress css inline %} 43 44 <link rel="stylesheet" type="text/css" href="{{ CYCLOPE_THEME_MEDIA_URL }}css/jcarousel.css" /> 44 45 {% endcompress %} -
cyclope/templates/cyclope/inline_view.html
r378 r623 1 1 {# This template wraps a view when inserted inline in a region #} 2 {% load compress %} 2 3 {% block extra_head %}{{ block.super }}{% endblock %} 4 {% compress js inline %}{% block extra_head_js %}{{ block.super }}{% endblock %}{% endcompress %} 3 5 {% block content %}{{ block.super }}{% endblock %} -
cyclope/templates/cyclope/menu_menuitems_hierarchy.html
r496 r623 1 1 {% extends host_template %} 2 2 3 {% block content %}4 5 3 {% if expand_style != "DISABLED" %} 4 {% block extra_head_js %} 5 {{ block.super }} 6 6 <script type="text/javascript"> 7 7 … … 51 51 }); 52 52 </script> 53 {% endblock extra_head_js %} 53 54 {% endif %} 54 55 56 {% block content %} 55 57 <ul id="menu-{{ expand_style|lower }}-{{ menu_slug }}" class="cyclope_menu {{ expand_style|lower }}"> 56 58 {{ menu_items|unordered_list }} -
cyclope/templates/cyclope/site_search_box.html
r621 r623 1 1 {% extends host_template %} 2 {% load i18n compress%}2 {% load i18n %} 3 3 4 {% block extra_head %} 5 {% compress js %} 4 {% block extra_head_js %} 6 5 {{ block.super }} 7 <script type="text/javascript"> 8 $(function() { 9 // clear input on focus 10 $('.cleardefault').focus(function() { 11 if( this.value == this.title ) { 12 this.value = ''; 13 } 14 }); 15 16 // if field is empty afterward, add text again 17 $('.cleardefault').blur(function() { 18 if(!this.value.length) { 19 this.value = this.title; 20 } 21 }); 6 <script type="text/javascript"> 7 $(function() { 8 // clear input on focus 9 $('.cleardefault').focus(function() { 10 if( this.value == this.title ) { 11 this.value = ''; 12 } 22 13 }); 23 14 24 </script> 25 {% endcompress %} 15 // if field is empty afterward, add text again 16 $('.cleardefault').blur(function() { 17 if(!this.value.length) { 18 this.value = this.title; 19 } 20 }); 21 }); 22 </script> 26 23 {% endblock %} 27 24 -
cyclope/templates/cyclope/themes/neutrona/base.html
r621 r623 28 28 <link href="/rss" title="RSS" type="application/rss+xml" rel="alternate" /> 29 29 30 {% if not COMPRESS_ENABLED%}30 {% if debug %} 31 31 <link href="{{ CYCLOPE_THEME_MEDIA_URL }}css/cyclope.less" rel="stylesheet/less" type="text/css"/> 32 32 <script type="text/javascript" src="{{ CYCLOPE_STATIC_URL }}js/less-1.3.0.min.js"></script> … … 63 63 }); 64 64 </script> 65 {% block extra_head_js %}{% endblock %} 65 66 {% endcompress %} 66 67 {% block extra_head %}{% endblock %} 68 69 67 70 </head> 68 71
Note: See TracChangeset
for help on using the changeset viewer.

