From d06361146b4f77c9b759272f9103c36732db8cc5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 4 Oct 2016 20:43:40 +0200 Subject: Simplify project layout --- .../chimere/css/form-compat.css | 69 ------- .../chimere/img/layer-switcher-maximize.png | Bin 1433 -> 0 bytes .../chimere_example_static/chimere/img/logo.jpg | Bin 25981 -> 0 bytes .../chimere_example_static/chimere/img/minus.png | Bin 236 -> 0 bytes .../chimere_example_static/chimere/img/plus.png | Bin 528 -> 0 bytes .../chimere_example_static/chimere/js/interface.js | 73 ------- .../fonts/glyphicons-halflings-regular.eot | Bin 20335 -> 0 bytes .../fonts/glyphicons-halflings-regular.svg | 229 --------------------- .../fonts/glyphicons-halflings-regular.ttf | Bin 41280 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 23320 -> 0 bytes .../project_static/.project_static | 0 .../static/chimere/css/form-compat.css | 69 +++++++ .../static/chimere/img/layer-switcher-maximize.png | Bin 0 -> 1433 bytes .../static/chimere/img/logo.jpg | Bin 0 -> 25981 bytes .../static/chimere/img/minus.png | Bin 0 -> 236 bytes .../static/chimere/img/plus.png | Bin 0 -> 528 bytes .../static/chimere/js/interface.js | 73 +++++++ .../static/fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20335 bytes .../static/fonts/glyphicons-halflings-regular.svg | 229 +++++++++++++++++++++ .../static/fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 41280 bytes .../static/fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23320 bytes 21 files changed, 371 insertions(+), 371 deletions(-) delete mode 100644 chimere_example_project/chimere_example_static/chimere/css/form-compat.css delete mode 100644 chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png delete mode 100644 chimere_example_project/chimere_example_static/chimere/img/logo.jpg delete mode 100755 chimere_example_project/chimere_example_static/chimere/img/minus.png delete mode 100755 chimere_example_project/chimere_example_static/chimere/img/plus.png delete mode 100644 chimere_example_project/chimere_example_static/chimere/js/interface.js delete mode 100644 chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot delete mode 100644 chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg delete mode 100644 chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf delete mode 100644 chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff delete mode 100644 chimere_example_project/project_static/.project_static create mode 100644 chimere_example_project/static/chimere/css/form-compat.css create mode 100644 chimere_example_project/static/chimere/img/layer-switcher-maximize.png create mode 100644 chimere_example_project/static/chimere/img/logo.jpg create mode 100755 chimere_example_project/static/chimere/img/minus.png create mode 100755 chimere_example_project/static/chimere/img/plus.png create mode 100644 chimere_example_project/static/chimere/js/interface.js create mode 100644 chimere_example_project/static/fonts/glyphicons-halflings-regular.eot create mode 100644 chimere_example_project/static/fonts/glyphicons-halflings-regular.svg create mode 100644 chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf create mode 100644 chimere_example_project/static/fonts/glyphicons-halflings-regular.woff (limited to 'chimere_example_project') diff --git a/chimere_example_project/chimere_example_static/chimere/css/form-compat.css b/chimere_example_project/chimere_example_static/chimere/css/form-compat.css deleted file mode 100644 index f83672f..0000000 --- a/chimere_example_project/chimere_example_static/chimere/css/form-compat.css +++ /dev/null @@ -1,69 +0,0 @@ -input:-moz-placeholder { - color: #999999; -} - -input::-moz-placeholder { - color: #999999; -} - -input:-ms-input-placeholder { - color: #999999; -} - -input::-webkit-input-placeholder { - color: #999999; -} - -textarea, -input { - display: block; - font-size: 14px; - line-height: 1.428571429; - color: #555555; - vertical-align: middle; - background-color: #ffffff; - border: 1px solid #cccccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; - transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; -} - -input{ - padding: 6px 12px; -} - -textarea:focus, -input:focus { - border-color: #81cf57; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); -} - -input[disabled], -input[readonly], -fieldset[disabled] input { - cursor: not-allowed; - background-color: #eeeeee; -} - -input[type="checkbox"], -input[type="radio"] { - display: inline; -} - -.alert-error { - color: #b94a48; - background-color: #f2dede; - border-color: #eed3d7; -} - -.alert-error hr { - border-top-color: #e6c1c7; -} - -.alert-error .alert-link { - color: #953b39; -} diff --git a/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png b/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png deleted file mode 100644 index 326f243..0000000 Binary files a/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png and /dev/null differ diff --git a/chimere_example_project/chimere_example_static/chimere/img/logo.jpg b/chimere_example_project/chimere_example_static/chimere/img/logo.jpg deleted file mode 100644 index cc2ff36..0000000 Binary files a/chimere_example_project/chimere_example_static/chimere/img/logo.jpg and /dev/null differ diff --git a/chimere_example_project/chimere_example_static/chimere/img/minus.png b/chimere_example_project/chimere_example_static/chimere/img/minus.png deleted file mode 100755 index e8ebf51..0000000 Binary files a/chimere_example_project/chimere_example_static/chimere/img/minus.png and /dev/null differ diff --git a/chimere_example_project/chimere_example_static/chimere/img/plus.png b/chimere_example_project/chimere_example_static/chimere/img/plus.png deleted file mode 100755 index b26a6f9..0000000 Binary files a/chimere_example_project/chimere_example_static/chimere/img/plus.png and /dev/null differ diff --git a/chimere_example_project/chimere_example_static/chimere/js/interface.js b/chimere_example_project/chimere_example_static/chimere/js/interface.js deleted file mode 100644 index c0c00bf..0000000 --- a/chimere_example_project/chimere_example_static/chimere/js/interface.js +++ /dev/null @@ -1,73 +0,0 @@ -$(function(){ - - if (has_search){ - $('a[href=#categories]').click(function(){ - show_panel(display_categories); - }); - $('a[href=#search-box]').click(function(){ - show_panel(display_search); - }); - $('a[href=#search-box]').click(); - } else { - $("#categories").fadeIn(); - } - highlight_selected_categories(); - $('.subcategory label').click(highlight_selected_categories); - $('#categories-lnk, #search-lnk').click(function(){ - if($('.navbar-toggle').css('display') !='none'){ - $(".navbar-toggle").click(); - } - }); - $('#hide-panel').click(hide_panel); - $('#show-panel').click(show_panel); - $('#close-detail').click(function(){ - $('#detail').fadeOut(); - }); -}); - -function display_categories(){ - $('a[href=#categories]').parent().parent().children().removeClass('active'); - $('a[href=#categories]').parent().addClass('active'); - $("#search-box").fadeOut(400, - function(){ $("#categories").fadeIn(); }); -} - -function display_search(){ - $('a[href=#search-box]').parent().parent().children().removeClass('active'); - $('a[href=#search-box]').parent().addClass('active'); - $("#categories").fadeOut(400, - function(){ $("#search-box").fadeIn(); $('#id_q').focus(); }); -} - -function show_panel(fct){ - if(!fct) fct = function(){}; - if($('#panel').css('display') == 'none'){ - $('#show-panel').fadeOut(200, function(){ - $('#hide-panel').fadeIn(500); - $("#panel").fadeIn(500); - $("#panel").fadeIn(500, fct); - }); - } else { - fct(); - } -} - -function hide_panel(){ - if($('#panel').css('display') != 'none'){ - $('#hide-panel').fadeOut(500); - $("#panel").fadeOut(500, function(){ - $('#show-panel').fadeIn(); - }); - } -} - -function highlight_selected_categories(){ - $('.subcategory input').each(function(){ - var lbl = $(this).parent(); - if($(this).is(':checked')){ - lbl.addClass('selected'); - }else{ - lbl.removeClass('selected'); - } - }); -} diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot b/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot deleted file mode 100644 index 4a4ca86..0000000 Binary files a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot and /dev/null differ diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg b/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg deleted file mode 100644 index 89d2909..0000000 --- a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf b/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf deleted file mode 100644 index 67fa00b..0000000 Binary files a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf and /dev/null differ diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff b/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff deleted file mode 100644 index 8c54182..0000000 Binary files a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff and /dev/null differ diff --git a/chimere_example_project/project_static/.project_static b/chimere_example_project/project_static/.project_static deleted file mode 100644 index e69de29..0000000 diff --git a/chimere_example_project/static/chimere/css/form-compat.css b/chimere_example_project/static/chimere/css/form-compat.css new file mode 100644 index 0000000..f83672f --- /dev/null +++ b/chimere_example_project/static/chimere/css/form-compat.css @@ -0,0 +1,69 @@ +input:-moz-placeholder { + color: #999999; +} + +input::-moz-placeholder { + color: #999999; +} + +input:-ms-input-placeholder { + color: #999999; +} + +input::-webkit-input-placeholder { + color: #999999; +} + +textarea, +input { + display: block; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +input{ + padding: 6px 12px; +} + +textarea:focus, +input:focus { + border-color: #81cf57; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +input[disabled], +input[readonly], +fieldset[disabled] input { + cursor: not-allowed; + background-color: #eeeeee; +} + +input[type="checkbox"], +input[type="radio"] { + display: inline; +} + +.alert-error { + color: #b94a48; + background-color: #f2dede; + border-color: #eed3d7; +} + +.alert-error hr { + border-top-color: #e6c1c7; +} + +.alert-error .alert-link { + color: #953b39; +} diff --git a/chimere_example_project/static/chimere/img/layer-switcher-maximize.png b/chimere_example_project/static/chimere/img/layer-switcher-maximize.png new file mode 100644 index 0000000..326f243 Binary files /dev/null and b/chimere_example_project/static/chimere/img/layer-switcher-maximize.png differ diff --git a/chimere_example_project/static/chimere/img/logo.jpg b/chimere_example_project/static/chimere/img/logo.jpg new file mode 100644 index 0000000..cc2ff36 Binary files /dev/null and b/chimere_example_project/static/chimere/img/logo.jpg differ diff --git a/chimere_example_project/static/chimere/img/minus.png b/chimere_example_project/static/chimere/img/minus.png new file mode 100755 index 0000000..e8ebf51 Binary files /dev/null and b/chimere_example_project/static/chimere/img/minus.png differ diff --git a/chimere_example_project/static/chimere/img/plus.png b/chimere_example_project/static/chimere/img/plus.png new file mode 100755 index 0000000..b26a6f9 Binary files /dev/null and b/chimere_example_project/static/chimere/img/plus.png differ diff --git a/chimere_example_project/static/chimere/js/interface.js b/chimere_example_project/static/chimere/js/interface.js new file mode 100644 index 0000000..c0c00bf --- /dev/null +++ b/chimere_example_project/static/chimere/js/interface.js @@ -0,0 +1,73 @@ +$(function(){ + + if (has_search){ + $('a[href=#categories]').click(function(){ + show_panel(display_categories); + }); + $('a[href=#search-box]').click(function(){ + show_panel(display_search); + }); + $('a[href=#search-box]').click(); + } else { + $("#categories").fadeIn(); + } + highlight_selected_categories(); + $('.subcategory label').click(highlight_selected_categories); + $('#categories-lnk, #search-lnk').click(function(){ + if($('.navbar-toggle').css('display') !='none'){ + $(".navbar-toggle").click(); + } + }); + $('#hide-panel').click(hide_panel); + $('#show-panel').click(show_panel); + $('#close-detail').click(function(){ + $('#detail').fadeOut(); + }); +}); + +function display_categories(){ + $('a[href=#categories]').parent().parent().children().removeClass('active'); + $('a[href=#categories]').parent().addClass('active'); + $("#search-box").fadeOut(400, + function(){ $("#categories").fadeIn(); }); +} + +function display_search(){ + $('a[href=#search-box]').parent().parent().children().removeClass('active'); + $('a[href=#search-box]').parent().addClass('active'); + $("#categories").fadeOut(400, + function(){ $("#search-box").fadeIn(); $('#id_q').focus(); }); +} + +function show_panel(fct){ + if(!fct) fct = function(){}; + if($('#panel').css('display') == 'none'){ + $('#show-panel').fadeOut(200, function(){ + $('#hide-panel').fadeIn(500); + $("#panel").fadeIn(500); + $("#panel").fadeIn(500, fct); + }); + } else { + fct(); + } +} + +function hide_panel(){ + if($('#panel').css('display') != 'none'){ + $('#hide-panel').fadeOut(500); + $("#panel").fadeOut(500, function(){ + $('#show-panel').fadeIn(); + }); + } +} + +function highlight_selected_categories(){ + $('.subcategory input').each(function(){ + var lbl = $(this).parent(); + if($(this).is(':checked')){ + lbl.addClass('selected'); + }else{ + lbl.removeClass('selected'); + } + }); +} diff --git a/chimere_example_project/static/fonts/glyphicons-halflings-regular.eot b/chimere_example_project/static/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000..4a4ca86 Binary files /dev/null and b/chimere_example_project/static/fonts/glyphicons-halflings-regular.eot differ diff --git a/chimere_example_project/static/fonts/glyphicons-halflings-regular.svg b/chimere_example_project/static/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000..89d2909 --- /dev/null +++ b/chimere_example_project/static/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf b/chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000..67fa00b Binary files /dev/null and b/chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf differ diff --git a/chimere_example_project/static/fonts/glyphicons-halflings-regular.woff b/chimere_example_project/static/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000..8c54182 Binary files /dev/null and b/chimere_example_project/static/fonts/glyphicons-halflings-regular.woff differ -- cgit v1.2.3