diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/common_footer_tags.html | 2 | ||||
-rw-r--r-- | templates/web/base/common_header_tags.html | 6 | ||||
-rw-r--r-- | templates/web/base/common_scripts.html | 8 | ||||
-rw-r--r-- | templates/web/base/front/javascript.html | 4 | ||||
-rw-r--r-- | templates/web/base/maps/bing.html | 2 | ||||
-rw-r--r-- | templates/web/base/maps/fms.html | 2 | ||||
-rw-r--r-- | templates/web/base/maps/google-ol.html | 2 | ||||
-rw-r--r-- | templates/web/base/maps/mapquest-attribution.html | 2 | ||||
-rw-r--r-- | templates/web/base/maps/osm-streetview.html | 2 | ||||
-rw-r--r-- | templates/web/base/maps/osm-toner-lite.html | 2 | ||||
-rw-r--r-- | templates/web/base/maps/osm.html | 2 | ||||
-rw-r--r-- | templates/web/base/report/photo-js.html | 4 |
12 files changed, 19 insertions, 19 deletions
diff --git a/templates/web/base/common_footer_tags.html b/templates/web/base/common_footer_tags.html index 01420c37d..915751802 100644 --- a/templates/web/base/common_footer_tags.html +++ b/templates/web/base/common_footer_tags.html @@ -3,7 +3,7 @@ [% PROCESS 'common_scripts.html' %] <!--[if lte IE 9]> - <script src="[% version('/js/history.polyfill.min.js') %]"></script> + <script src="[% version('/vendor/history.polyfill.min.js') %]"></script> <![endif]--> [% FOR script IN scripts ~%] [% script = script.0 ? script : [ script ] ~%] diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html index adbcf3c0b..e5a4d25f2 100644 --- a/templates/web/base/common_header_tags.html +++ b/templates/web/base/common_header_tags.html @@ -1,6 +1,6 @@ [% SET start = c.config.ADMIN_BASE_URL IF admin %] -<link rel="stylesheet" href="[% version('/js/OpenLayers/theme/default/style.css') %]"> +<link rel="stylesheet" href="[% version('/vendor/OpenLayers/theme/default/style.css') %]"> <meta http-equiv="content-type" content="text/html; charset=utf-8" id="js-meta-data" data-page="[% page %]" @@ -11,7 +11,7 @@ [% END %] <!--[if (lt IE 9)]> - <script src="[% version('/js/html5shiv.js') %]""></script> + <script src="[% version('/vendor/html5shiv.js') %]"></script> <![endif]--> <script nonce="[% csp_nonce %]"> window.Modernizr=function(e,t,n){function r(e){p.cssText=e}function o(e,t){return typeof e===t}var a,i,c,l="2.8.3",s={},u=t.documentElement,d="modernizr",f=t.createElement(d),p=f.style,m=({}.toString,{}),h=[],y=h.slice,v=function(e,n,r,o){var a,i,c,l,s=t.createElement("div"),f=t.body,p=f||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=o?o[r]:d+(r+1),s.appendChild(c);return a=["­",'<style id="s',d,'">',e,"</style>"].join(""),s.id=d,(f?s:p).innerHTML+=a,p.appendChild(s),f||(p.style.background="",p.style.overflow="hidden",l=u.style.overflow,u.style.overflow="hidden",u.appendChild(p)),i=n(s,e),f?s.parentNode.removeChild(s):(p.parentNode.removeChild(p),u.style.overflow=l),!!i},g=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return v("@media "+t+" { #"+d+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},b={}.hasOwnProperty;c=o(b,"undefined")||o(b.call,"undefined")?function(e,t){return t in e&&o(e.constructor.prototype[t],"undefined")}:function(e,t){return b.call(e,t)};for(var E in m)c(m,E)&&(i=E.toLowerCase(),s[i]=m[E](),h.push((s[i]?"":"no-")+i));return r(""),f=a=null,s._version=l,s.mq=g,s.testStyles=v,s}(this,this.document); @@ -20,7 +20,7 @@ </script> [% IF admin %] - <link rel="stylesheet" href="[% version('/js/jquery-ui/css/smoothness/jquery-ui-1.10.3.custom.min.css') %]"> + <link rel="stylesheet" href="[% version('/vendor/jquery-ui/css/smoothness/jquery-ui-1.10.3.custom.min.css') %]"> [% END %] [% IF robots %] diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html index 42c04f11f..474edc46e 100644 --- a/templates/web/base/common_scripts.html +++ b/templates/web/base/common_scripts.html @@ -9,10 +9,10 @@ scripts.push( start _ "/js/translation_strings." _ lang_code _ ".js?" _ Math.int( date.now / 3600 ), version('/jslib/jquery-1.7.2.min.js'), version('/js/validation_rules.js'), - version('/js/jquery.validate.min.js'), - version('/js/dropzone.min.js'), + version('/vendor/jquery.validate.min.js'), + version('/vendor/dropzone.min.js'), version('/js/jquery.multi-select.js'), - version('/js/geo.min.js'), + version('/vendor/geo.min.js'), version('/cobrands/fixmystreet/fixmystreet.js'), ); @@ -33,7 +33,7 @@ scripts.push( IF admin; scripts.push( - version('/js/jquery-ui/js/jquery-ui-1.10.3.custom.min.js'), + version('/vendor/jquery-ui/js/jquery-ui-1.10.3.custom.min.js'), version('/cobrands/fixmystreet/admin.js'), ); END; diff --git a/templates/web/base/front/javascript.html b/templates/web/base/front/javascript.html index 6b8e2a292..69eb626f7 100644 --- a/templates/web/base/front/javascript.html +++ b/templates/web/base/front/javascript.html @@ -1,10 +1,10 @@ [% # Assume using OpenStreetMap maps map_js = [ - version('/js/yepnope.js'), + version('/vendor/yepnope.js'), [ version('/cobrands/fixmystreet/front.js'), { id = 'script_front', - 'data-scripts' = version('/js/OpenLayers/OpenLayers.fixmystreet.js') _ ',' _ + 'data-scripts' = version('/vendor/OpenLayers/OpenLayers.fixmystreet.js') _ ',' _ version('/js/map-OpenLayers.js') _ ',' _ version('/js/map-OpenStreetMap.js') } ], diff --git a/templates/web/base/maps/bing.html b/templates/web/base/maps/bing.html index 59d012c4f..df45eced5 100644 --- a/templates/web/base/maps/bing.html +++ b/templates/web/base/maps/bing.html @@ -1,6 +1,6 @@ [% map_js = [ - version('/js/OpenLayers/OpenLayers.fixmystreet.js'), + version('/vendor/OpenLayers/OpenLayers.fixmystreet.js'), version('/js/map-OpenLayers.js'), version('/js/map-bing-ol.js'), ]; diff --git a/templates/web/base/maps/fms.html b/templates/web/base/maps/fms.html index e155ff778..ff5b4eab6 100644 --- a/templates/web/base/maps/fms.html +++ b/templates/web/base/maps/fms.html @@ -1,6 +1,6 @@ [% map_js = [ - version('/js/OpenLayers/OpenLayers.fixmystreet.js'), + version('/vendor/OpenLayers/OpenLayers.fixmystreet.js'), version('/js/map-OpenLayers.js'), version('/js/map-bing-ol.js'), version('/js/map-fms.js'), diff --git a/templates/web/base/maps/google-ol.html b/templates/web/base/maps/google-ol.html index 7c7711de9..d88043403 100644 --- a/templates/web/base/maps/google-ol.html +++ b/templates/web/base/maps/google-ol.html @@ -6,7 +6,7 @@ END; map_js = [ google_maps_url, - version('/js/OpenLayers/OpenLayers.google.js'), + version('/vendor/OpenLayers/OpenLayers.google.js'), version('/js/map-OpenLayers.js'), version('/js/map-google-ol.js'), ] diff --git a/templates/web/base/maps/mapquest-attribution.html b/templates/web/base/maps/mapquest-attribution.html index e469901a8..43d6106a5 100644 --- a/templates/web/base/maps/mapquest-attribution.html +++ b/templates/web/base/maps/mapquest-attribution.html @@ -1,6 +1,6 @@ [% map_js = [ - version('/js/OpenLayers/OpenLayers.fixmystreet.js'), + version('/vendor/OpenLayers/OpenLayers.fixmystreet.js'), version('/js/map-OpenLayers.js'), version('/js/map-OpenStreetMap.js'), ]; diff --git a/templates/web/base/maps/osm-streetview.html b/templates/web/base/maps/osm-streetview.html index dcf45d3b6..f68f53039 100644 --- a/templates/web/base/maps/osm-streetview.html +++ b/templates/web/base/maps/osm-streetview.html @@ -1,6 +1,6 @@ [% map_js = [ - version('/js/OpenLayers/OpenLayers.fixmystreet.js'), + version('/vendor/OpenLayers/OpenLayers.fixmystreet.js'), version('/js/map-OpenLayers.js'), version('/js/map-streetview.js'), ]; diff --git a/templates/web/base/maps/osm-toner-lite.html b/templates/web/base/maps/osm-toner-lite.html index 6512eaf2c..22b6636c5 100644 --- a/templates/web/base/maps/osm-toner-lite.html +++ b/templates/web/base/maps/osm-toner-lite.html @@ -1,6 +1,6 @@ [% map_js = [ - version('/js/OpenLayers/OpenLayers.fixmystreet.js'), + version('/vendor/OpenLayers/OpenLayers.fixmystreet.js'), "https://stamen-maps.a.ssl.fastly.net/js/tile.stamen.js?v1.3.0", version('/js/map-OpenLayers.js'), version('/js/map-toner-lite.js'), diff --git a/templates/web/base/maps/osm.html b/templates/web/base/maps/osm.html index e469901a8..43d6106a5 100644 --- a/templates/web/base/maps/osm.html +++ b/templates/web/base/maps/osm.html @@ -1,6 +1,6 @@ [% map_js = [ - version('/js/OpenLayers/OpenLayers.fixmystreet.js'), + version('/vendor/OpenLayers/OpenLayers.fixmystreet.js'), version('/js/map-OpenLayers.js'), version('/js/map-OpenStreetMap.js'), ]; diff --git a/templates/web/base/report/photo-js.html b/templates/web/base/report/photo-js.html index 91b9930e7..8c8c91669 100644 --- a/templates/web/base/report/photo-js.html +++ b/templates/web/base/report/photo-js.html @@ -1,6 +1,6 @@ [% extra_css = BLOCK %] - <link rel="stylesheet" href="[% version('/js/fancybox/jquery.fancybox-1.3.4.css') %]"> + <link rel="stylesheet" href="[% version('/vendor/fancybox/jquery.fancybox-1.3.4.css') %]"> [% END %] [% extra_js = [ - version('/js/fancybox/jquery.fancybox-1.3.4.pack.js') + version('/vendor/fancybox/jquery.fancybox-1.3.4.pack.js') ] %] |