"
+ $(".img_container.first").append "
"+$(this).data("video-title")+"
"
+ $(".img_container.first").append "
"+$(this).data("video-description")+"
"
+ $(".img_container.first").append "
"
+
+
+
+ $("#large").fadeIn(500)
+ position_img();
+ if $(window).height() > (maxheight+100)
+ $("#large .large-img").css
+ "max-height" : maxheight
+ else
+ $("#large .large-img").css
+ "max-height" : "85%"
+
+ if $(window).width() > (maxwidth+100)
+ $("#large .large-img").css
+ "max-width" : maxwidth
+ else
+ $("#large .large-img").css
+ "max-width" : "85%"
+ popover_resize();
+
+ $("#large .img_container.first").css
+ "padding-top": (($(window).height()- $("#large .img_container.first iframe").height()-50)/ 2)+"px"
+ #position_img();
+
+
+ false
+
+
+ $(".expandable_image").click ->
+ maxwidth = 1000
+ maxheight = 900
+ alert "t"
+
+
+
+ prev_link = $(this)
+ $("body").append "
"
+ title = false
+ alert "te"
+
+
+ $("#large").append "
"
+ $("#large").append "

"
+ $(".img_container.first").append "
.attr()
"
+
+ if $(this).attr "title"
+ title = $(this).attr "title"
+ $(".img_container.first").append "
"+title+"
"
+
+ $("#large .large-img").one "load", ->
+ $("#large").fadeIn(500)
+ position_img();
+ if $(window).height() > (maxheight+100)
+ $("#large .large-img").css
+ "max-height" : maxheight
+ else
+ $("#large .large-img").css
+ "max-height" : "85%"
+
+ if $(window).width() > (maxwidth+100)
+ $("#large .large-img").css
+ "max-width" : maxwidth
+ else
+ $("#large .large-img").css
+ "max-width" : "85%"
+
+ position_img();
+
+ alert "t"
+ false
+
+
+ $(".rea-gal a").click ->
+ maxwidth = 1000
+ maxheight = 900
+
+
+ prev_link = $(this)
+ $("body").append "
"
+ title = false
+
+
+ $("#large").append "

"
+ $("#large").append "

"
+ $("#large").append "

"
+
+ $("#large").append "
"
+ $(".img_container.first").append "
.attr()
"
+
+ if $(this).attr "title"
+ title = $(this).attr "title"
+ $(".img_container.first").append "
"+title+"
"
+
+ $("#large .large-img").one "load", ->
+ $("#large").fadeIn(500)
+ position_img();
+ if $(window).height() > (maxheight+100)
+ $("#large .large-img").css
+ "max-height" : maxheight
+ else
+ $("#large .large-img").css
+ "max-height" : "85%"
+
+ if $(window).width() > (maxwidth+100)
+ $("#large .large-img").css
+ "max-width" : maxwidth
+ else
+ $("#large .large-img").css
+ "max-width" : "85%"
+
+ position_img();
+
+
+ false
+
+
+
+ $("body").on "click", "#large", ->
+ $(this).fadeOut 300, ->
+ $(this).remove()
+
+
+ $("body").on "click" ,"#large .prev",->
+
+ if prev_link.prev("a").length > 0
+ link = prev_link.closest("a").prev("a")
+
+
+
+ else
+ link = prev_link.closest("div").children("a:last")
+
+
+ #titre = photo.find("h3")
+ $(".img_container.first").fadeOut 300, ->
+ $("#large h3").remove()
+ if link.attr "title"
+ title = link.attr "title"
+ $(".img_container.first").append "
"+title+"
"
+
+
+ $('#large .large-img').attr("src", link.attr("href"))
+ $("#large .large-img").one "load", ->
+ $(".img_container.first").fadeIn()
+ position_img();
+ prev_link = link
+
+ false
+
+
+ $("body").on "click" ,"#large .next",->
+
+ if prev_link.next("a").length > 0
+ link = prev_link.closest("a").next("a")
+
+
+
+ else
+ link = prev_link.closest("div").children("a:first")
+
+
+ #titre = photo.find("h3")
+
+ $(".img_container.first").fadeOut 300, ->
+ $("#large h3").remove()
+ if link.attr "title"
+ title = link.attr "title"
+ $(".img_container.first").append "
"+title+"
"
+
+ $('#large .large-img').attr("src", link.attr("href"))
+ $("#large .large-img").one "load", ->
+ $(".img_container.first").fadeIn()
+ position_img();
+ prev_link = link
+
+ false
+
+
+
+ left =0
+
+ top = 0
+ offset= 0
+
+ popover_resize = ->
+
+
+
+
+
+
+
+ $(".rea-gal").each ->
+
+ $(this).find("img").css "width", Math.floor(((100) )/ 5)+"%"
+
+
+ $("#large").css "min-height", ($(window).height()-30)+"px"
+
+ $(".slider").each ->
+ $(this).css({"width": $(window).width()+"px"})
+
+ height = ($(window).height())
+ optimal_height = Math.round($(this).width()/ 1.66)
+ if optimal_height < height
+ height = optimal_height
+
+ $(this).css({"height": height+"px"})
+
+
+ position_img_now();
+
+
+
+
+ popover_resize()
+
+ $(window).on "popover_resize", ->
+ popover_resize()
+
+
\ No newline at end of file
diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss
index 18e2b0f..8126a39 100644
--- a/app/assets/stylesheets/public.scss
+++ b/app/assets/stylesheets/public.scss
@@ -61,7 +61,7 @@ h3{
text-align:left;
padding:1em 2em;
padding-right:3em;
- background:rgba(255,255,255,0.98);
+ background:rgba(255,255,255,0.85);
max-width:920px;
position:absolute;
right:0px;
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 5a05466..610128d 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -43,7 +43,8 @@
.slides
%ul.slides-container
-
+ %li
+ =image_tag "/slide4.jpg"
%li
=image_tag "/slide1.jpg"
@@ -182,6 +183,16 @@
%br
N° Siret : 430 323 113 00018
+
+
+ -
+
+
+
+
+
+
+
diff --git a/app/views/portlets/render_public/_imagecontent.html.haml b/app/views/portlets/render_public/_imagecontent.html.haml
index 81bb40a..ab22df4 100644
--- a/app/views/portlets/render_public/_imagecontent.html.haml
+++ b/app/views/portlets/render_public/_imagecontent.html.haml
@@ -60,7 +60,7 @@
-elsif input.expandable
- =link_to image_tag(url, :alt => input.alt.to_s, :style => styleimg ), "http://"+HOSTNAME+(input.image_file ? input.image_file.file.large.path : ""), :title => input.alt.to_s, :class => "expandable_image"
+ =link_to image_tag(url, :alt => input.alt.to_s, :style => styleimg ), "http://"+HOSTNAME+(input.image_file ? input.image_file.file.large.url : ""), :title => input.alt.to_s, :class => "expandable_image"
-else
=image_tag(url, :alt => input.alt.to_s, :style => styleimg )
diff --git a/config/ssl/monserveur.key b/config/ssl/monserveur.key
new file mode 100644
index 0000000..a4e38ee
--- /dev/null
+++ b/config/ssl/monserveur.key
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpAIBAAKCAQEA2sG8w2hIL1Ke4/wcP+tSiq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LrEnRPaG118SZy
+UYjlIK0yOVmGu95HTIXZmK7eIjrjCak4cfEWAjq47oN4Nnqlmg2RBlgEG5GM3JlZ
+6F0zPnLm8lThmZ/sHP5ZffIyT+ctUAKOSt4XF+mfSC7A8ojHQG3nAGNSjRK5voG9
+4aKFVBaiueN8LSN8FBJT/T8vAoGAbxBzwJOBLwiZcZfiRMIdTV5kQCTFm5WDXVAQ
+kuuUK1GaDN4xQEI1AA0TJMTvgt8EpOkPVUpgBK+OZ4A9RE0/8PAe+NWsXt6KVonC
+fxIhkIfKq33l2/Micvy5hmLRspWTAresbF11NVDzxfGJaqJChTqrZUlhd2bjhfPw
+7j4NTMECgYAhhfRa7LM2Tk3baEJSRjjWNJcJ3af3u3iZo9mnrpZHrCJYDwtWWDDV
+oj7NRD4yp1barTj6qLnuPFALN+ru7+nZ6VakJG1c3ZGajDr/wx9nZgncHeXQD239
+z5dyZ07zmFhhLrZsAFKRzxgL8vqL1HHhcuL9q7osKje3KiCVacIr8A==
+-----END RSA PRIVATE KEY-----
diff --git a/config/ssl/serveur.csr b/config/ssl/serveur.csr
new file mode 100644
index 0000000..27bf7fd
--- /dev/null
+++ b/config/ssl/serveur.csr
@@ -0,0 +1,18 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIC0TCCAbkCAQAwgYsxCzAJBgNVBAYTAkZSMQ8wDQYDVQQIFAZJc8OocmUxEjAQ
+BgNVBAcUCVLDqWF1bW9udDESMBAGA1UEChMJQmFsbGFsYW1hMRYwFAYDVQQDEw1i
+YWxsYWxhbWEuY29tMSswKQYJKoZIhvcNAQkBFhxiYWxsYWxhbWEucmVhdW1vbnRA
+b3JhbmdlLmZyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2sG8w2hI
+L1Ke4/wcP+tSiqbgmy6Qi2nTO6EL5xcQ+CpiF3Zo+CkF0bn7anndLvQcqx1WcD8U
+yiweJkxXfAcKT8/wocUm6ejTUECGEl+/z4CRBL5r8k82sNLUFc6OvvEmm+CKrm6d
+BPldjRYKothq/I1yYp5XVMQJDVZAHmJDB8kbRSrmV1ZHqUrars5i2RbjpVv3F9iJ
+FHdV/FAraLZQoFujRudQUFGDfES9al/ZXYlTTIf4+1M+hRSFiRV+BIWD7Ngo+/ov
+FG6hLEXy1tENTtZQ0Gm9y7gPeZ60CsTX9lQIBPYlJXNvvmz0EIvba5EtILgBFP6a
+4J71IMzlV5VtbwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBADfOjTpC6395Xg7q
+kwMr48tpiltFVJQPtfxU8Zi4c4CfS/KKIsWFKnNHmuQ1UYtdmFGv2pJJXXiVJLCx
+Fn8gQZ9qwKkfURpIaMRpvh607eUcd5hXOHdvnTvzaGe1g50S2pXZjmOrTFnTujz2
+dhK+Pj112rESBmsNn5ZTZD5jdUON8CA1VdVjkPAMFeCqOrPcw2jKV1mKcJfrAnIf
+oK/CHutLAfqFCToeiVmh5f5pFkimMlZ1m970i53BawKD1OXVmwvJUi1A1abGT/lS
+dIJ4ESD+nk7nkaiArT1ZK26nX4b0rF3LG7eveGkbigdSjZQ8FIxSRp1l6/wXNIj8
+N+h6Ufw=
+-----END CERTIFICATE REQUEST-----
diff --git a/public/E5DFA2DE2EC753FF8350DB016DC4EDD3.txt b/public/E5DFA2DE2EC753FF8350DB016DC4EDD3.txt
new file mode 100644
index 0000000..6156e3a
--- /dev/null
+++ b/public/E5DFA2DE2EC753FF8350DB016DC4EDD3.txt
@@ -0,0 +1,2 @@
+BC8BD46BD15CA584494B56FF1290512F1E0825D09D16F74F0CF0643E51E3BA4A
+comodoca.com
\ No newline at end of file
diff --git a/public/slide4.jpg b/public/slide4.jpg
new file mode 100644
index 0000000..79ed6bd
Binary files /dev/null and b/public/slide4.jpg differ