suite
This commit is contained in:
parent
9c45029d75
commit
69532530c2
@ -353,6 +353,8 @@ img {
|
||||
position:static;
|
||||
background:$green;
|
||||
text-align:center;
|
||||
|
||||
|
||||
img{
|
||||
width:200px;
|
||||
|
||||
@ -454,6 +456,13 @@ img {
|
||||
}
|
||||
}
|
||||
|
||||
#menu_top, #menu_fixed{
|
||||
display:none;
|
||||
}
|
||||
#devis-img{
|
||||
top:0 !important;
|
||||
width:200px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -484,4 +493,52 @@ img {
|
||||
}
|
||||
}
|
||||
|
||||
.quote{
|
||||
|
||||
padding:10px 10px;
|
||||
|
||||
position:relative;
|
||||
.guillemet{
|
||||
font-family:palatino;
|
||||
opacity:0.6;
|
||||
font-size:3em;
|
||||
position:absolute;
|
||||
|
||||
|
||||
|
||||
&.top_corner{
|
||||
top:5px;
|
||||
left:5px;
|
||||
padding-top:15px;
|
||||
padding-left:5px;
|
||||
}
|
||||
|
||||
&.bottom_corner{
|
||||
bottom:5px;
|
||||
right:5px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.quote_content{
|
||||
font-family:Stylograph;
|
||||
font-size:1.6em;
|
||||
padding-top:45px;
|
||||
text-align:center;
|
||||
line-height:1.3em;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
.author{
|
||||
padding-right:50px;
|
||||
font-size:1em;
|
||||
text-align:right;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
84
app/controllers/admin/testimonies_controller.rb
Normal file
84
app/controllers/admin/testimonies_controller.rb
Normal file
@ -0,0 +1,84 @@
|
||||
# -*- encoding : utf-8 -*-
|
||||
class Admin::TestimoniesController < ApplicationController
|
||||
layout "admin"
|
||||
|
||||
before_filter :auth_admin
|
||||
|
||||
|
||||
def index
|
||||
|
||||
|
||||
@testimonies = Testimony.order("created_at DESC").all
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
def new
|
||||
|
||||
@testimony = Testimony.new
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
def edit
|
||||
@testimony = Testimony.find(params[:id])
|
||||
|
||||
end
|
||||
|
||||
def show
|
||||
@testimony = Testimony.find(params[:id])
|
||||
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
@testimony = Testimony.new(testimony_params)
|
||||
|
||||
|
||||
if @testimony.save
|
||||
|
||||
else
|
||||
render :action => "new"
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
def update
|
||||
@testimony = Testimony.find(params[:id])
|
||||
|
||||
|
||||
if @testimony.update_attributes(testimony_params)
|
||||
|
||||
else
|
||||
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
def destroy
|
||||
@testimony = Testimony.find(params[:id])
|
||||
|
||||
@testimony.destroy
|
||||
flash[:notice] = "Le témoignage de "+@testimony.author.to_s+" a bien été supprimé."
|
||||
|
||||
|
||||
end
|
||||
|
||||
private
|
||||
def testimony_params
|
||||
params.require(:testimony).permit(:quote,:author, :image_file_id)
|
||||
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
end
|
34
app/controllers/public/testimonies_controller.rb
Normal file
34
app/controllers/public/testimonies_controller.rb
Normal file
@ -0,0 +1,34 @@
|
||||
# -*- encoding : utf-8 -*-
|
||||
class Public::TestimoniesController < ApplicationController
|
||||
layout "public"
|
||||
|
||||
|
||||
|
||||
def show
|
||||
|
||||
|
||||
if params[:slug]
|
||||
testimony_id = params[:slug].split('-')[0].to_i
|
||||
testimony = Testimony.find(:first, :conditions => {:id => testimony_id})
|
||||
|
||||
if testimony
|
||||
@testimony = testimony
|
||||
else
|
||||
@testimony = Testimony.find(:first)
|
||||
end
|
||||
|
||||
|
||||
else
|
||||
@testimony = Testimony.find(:first)
|
||||
end
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
def index
|
||||
@testimonies = Testimony.all
|
||||
end
|
||||
|
||||
end
|
22
app/models/testimony.rb
Normal file
22
app/models/testimony.rb
Normal file
@ -0,0 +1,22 @@
|
||||
# -*- encoding : utf-8 -*-
|
||||
class Testimony < ActiveRecord::Base
|
||||
belongs_to :image_file
|
||||
|
||||
|
||||
has_one :block, :as => :blockable
|
||||
|
||||
|
||||
before_create do
|
||||
self.block = Block.new
|
||||
end
|
||||
|
||||
|
||||
def alloweds_types
|
||||
self.block.allow_types :TitleContent, :TextContent, :ImageContent, :LinkContent, :GalleryContent
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
end
|
10
app/views/admin/testimonies/_form.html.haml
Normal file
10
app/views/admin/testimonies/_form.html.haml
Normal file
@ -0,0 +1,10 @@
|
||||
= semantic_form_for [:admin,@testimony], :remote => true do |form|
|
||||
.content
|
||||
= form.inputs do
|
||||
= form.input :quote, :label => "Citation :"
|
||||
= form.input :author, :label => "Auteur :"
|
||||
|
||||
= form.input :image_file_id, :label => "Image :", :as => :qi_image_select
|
||||
|
||||
.actions
|
||||
= form.submit "Sauvegarder", :class => "btn btn-primary"
|
17
app/views/admin/testimonies/_show.html.haml
Normal file
17
app/views/admin/testimonies/_show.html.haml
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
%table#testimony_show
|
||||
%tr
|
||||
%td{:style => "vertical-align:top;"}
|
||||
%p
|
||||
Auteur :
|
||||
=@testimony.author
|
||||
|
||||
%p
|
||||
Citation :
|
||||
=@testimony.quote
|
||||
|
||||
%td{:style => "text-align:right;"}
|
||||
-if @testimony.image_file
|
||||
=image_tag @testimony.image_file.file.square.url
|
||||
|
9
app/views/admin/testimonies/_testimony.html.haml
Normal file
9
app/views/admin/testimonies/_testimony.html.haml
Normal file
@ -0,0 +1,9 @@
|
||||
%tr#testimony_row.testimony_row{:id => testimony.id}
|
||||
%td=testimony.author
|
||||
%td=testimony.quote
|
||||
|
||||
%td{:style => "width:100px;"}
|
||||
= link_to i(:"trash-o"), [:admin, testimony], :confirm => 'Voulez-vous vraiment supprimer cette testimony ?', :method => :delete, :remote => true
|
||||
|
||||
= link_to i(:pencil), edit_admin_testimony_path(testimony)
|
||||
|
5
app/views/admin/testimonies/create.js.erb
Normal file
5
app/views/admin/testimonies/create.js.erb
Normal file
@ -0,0 +1,5 @@
|
||||
close_pane_hover();
|
||||
|
||||
$('#testimonies').prepend("<%= escape_javascript(render(@testimony))%>");
|
||||
|
||||
|
2
app/views/admin/testimonies/destroy.js.erb
Normal file
2
app/views/admin/testimonies/destroy.js.erb
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
$('#testimony_row_<%=@testimony.id%>').remove();
|
78
app/views/admin/testimonies/edit.html.haml
Normal file
78
app/views/admin/testimonies/edit.html.haml
Normal file
@ -0,0 +1,78 @@
|
||||
#toolbar-text
|
||||
|
||||
#menu_item_block_edit{:style => "margin-right:330px;margin-top:45px;"}
|
||||
|
||||
=render :partial => "admin/blocks/block", :locals => {:block => @testimony.block, :sortable => true}
|
||||
|
||||
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
#menu_item_inspector_container
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#menu_item_informations
|
||||
%h4
|
||||
Infos sur le témoignage
|
||||
|
||||
|
||||
.panel#collapseOne{:style => "display:none;"}
|
||||
=link_to "modifier", edit_admin_testimony_path(@testimony), :remote => true,:class => "btn"
|
||||
=render :partial => "show"
|
||||
|
||||
%h4 éléments
|
||||
|
||||
.panel#collapse2
|
||||
.block_portlets_sortable#content_types
|
||||
-@testimony.alloweds_types.each do |slug, name|
|
||||
|
||||
.content_type{:id => slug, :"data-type" => slug}
|
||||
=image_tag("admin/content_type/type_"+slug.to_s+".png", :alt => name, :title => name, :class => "handle")
|
||||
|
||||
|
||||
#collapse3{:style => "display:none;"}
|
||||
%h4 Modifier l'élément
|
||||
|
||||
|
||||
.panel
|
||||
#element_form
|
||||
|
||||
%div#element_form_action
|
||||
%a.move.btn.btn-default.portlet_handle{:href => "#", :data => {:portlet_id => nil}}
|
||||
%span.move_message
|
||||
=ic :arrows
|
||||
|
||||
déplacer
|
||||
%span.cancel_message
|
||||
=ic :ban
|
||||
|
||||
annuler
|
||||
|
||||
=link_to ic(:"trash-o"), "#", :method => :delete, :data => { :confirm => "Etes-vous sûr ?"}, :remote => true, :class => "btn btn-danger trash"
|
||||
|
||||
%button.save.btn.btn-primary
|
||||
=ic(:"floppy-o")
|
||||
|
||||
Sauvegarder
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
2
app/views/admin/testimonies/edit.js.erb
Normal file
2
app/views/admin/testimonies/edit.js.erb
Normal file
@ -0,0 +1,2 @@
|
||||
show_pane_hover("<%= escape_javascript(render(:partial => "form"))%>",550,600);
|
||||
|
9
app/views/admin/testimonies/index.html.haml
Normal file
9
app/views/admin/testimonies/index.html.haml
Normal file
@ -0,0 +1,9 @@
|
||||
%h1 Témoignages
|
||||
|
||||
.right= link_to "Ajouter un témoignage", new_admin_testimony_path(), :class => "btn btn-primary", :remote => true
|
||||
|
||||
|
||||
%table.table.table-striped#testimonies
|
||||
|
||||
=render @testimonies
|
||||
|
2
app/views/admin/testimonies/index.js.erb
Normal file
2
app/views/admin/testimonies/index.js.erb
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
$('#Testimony_index_block').replaceWith("<%= escape_javascript(render(:partial => "index_block")) %>");
|
2
app/views/admin/testimonies/new.html.haml
Normal file
2
app/views/admin/testimonies/new.html.haml
Normal file
@ -0,0 +1,2 @@
|
||||
#Testimony_new_form=render :partial => "form"
|
||||
|
2
app/views/admin/testimonies/new.js.erb
Normal file
2
app/views/admin/testimonies/new.js.erb
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
show_pane_hover("<%= escape_javascript(render(:partial => "form"))%>",550,600);
|
35
app/views/admin/testimonies/show.html.haml
Normal file
35
app/views/admin/testimonies/show.html.haml
Normal file
@ -0,0 +1,35 @@
|
||||
-content_for :dock_actions do
|
||||
= link_to image_tag("/quartz_admin/icons/dock_edit.png"), edit_admin_testimony_path(@testimony), :class => "open_thing_box"
|
||||
|
||||
.padding
|
||||
#general_informations
|
||||
=render :partial => "show"
|
||||
|
||||
.block_links
|
||||
Blocks :
|
||||
-@testimony.blocks.each do |block|
|
||||
=link_to block.block_name, admin_block_path(block), :data_div_id => "Testimony_"+@testimony.id.to_s+"_blocks_part", :class => "update_auto_load_div "+("selected" if block == @testimony.blocks[0]).to_s
|
||||
|
||||
|
||||
=auto_load_div(admin_block_path(@testimony.blocks[0]),"Testimony_"+@testimony.id.to_s+"_blocks_part")
|
||||
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%h3 Ce témoignage est la cible des éléments de menu suivants :
|
||||
-@testimony.item.menu_items.each do |menu_item|
|
||||
|
||||
=link_to cms_fil_ariane(menu_item,false, false, false), edit_admin_menu_item_path(menu_item),:class => "int_link "+("active" if params[:menu_item_id] and MenuItem.find(params[:menu_item_id]) == menu_item).to_s
|
||||
|
||||
=link_to "", menu_route(menu_item),:target => "_blank", :class => "ext_link "+("active" if params[:menu_item_id] and MenuItem.find(params[:menu_item_id]) == menu_item).to_s
|
||||
|
||||
%br
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
6
app/views/admin/testimonies/update.js.erb
Normal file
6
app/views/admin/testimonies/update.js.erb
Normal file
@ -0,0 +1,6 @@
|
||||
close_pane_hover();
|
||||
|
||||
$('#testimony_row_<%= @testimony.id %>').replaceWith("<%= escape_javascript(render(@testimony))%>");
|
||||
|
||||
$('#testimony_show').replaceWith("<%= escape_javascript(render(:partial => "show"))%>");
|
||||
|
@ -69,7 +69,7 @@
|
||||
|
||||
%li.divider
|
||||
%li= link_to "Sliders", admin_home_slider_path(1)
|
||||
|
||||
%li= link_to "Témoignages", admin_testimonies_path
|
||||
%li= link_to "Contacts", admin_contacts_path
|
||||
|
||||
|
||||
|
@ -88,7 +88,8 @@
|
||||
-if @menu_item and @menu_item.id == 1
|
||||
.slide_home_wrapper
|
||||
=image_tag("/services-a-la-personne.png?a=n", :id => "services-img")
|
||||
=image_tag("/devis.png", :id => "devis-img")
|
||||
=link_to "#footer" do
|
||||
=image_tag("/devis.png", :id => "devis-img")
|
||||
|
||||
|
||||
|
||||
@ -174,8 +175,56 @@
|
||||
|
||||
.clear
|
||||
|
||||
#avis
|
||||
|
||||
#avis{:style => "padding:20px 0;background:url('/fond.jpg') no-repeat;background-size:cover;padding-bottom:60px !important;"}
|
||||
|
||||
%h2 Témoignages clients
|
||||
|
||||
.center{:style => "max-width:800px;"}
|
||||
-Testimony.all.sort_by { rand }.each do |testimony|
|
||||
-css_style = ""
|
||||
|
||||
-color = "black"
|
||||
|
||||
-css_style += "color:#{color};" if color
|
||||
|
||||
.quote{:style => css_style}
|
||||
.guillemet.bottom_corner
|
||||
|
||||
<svg width="40px" height="40px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
||||
<g transform="matrix(6.6048,0,0,6.6048,0.86082,1.26248)">
|
||||
|
||||
<g>
|
||||
=raw '<path d="M6.48,4.382C6.484,7.373 4.416,10.198 1.612,11.14C0.945,11.365 0.64,11.1 0.352,10.614C0.035,10.081 0.24,9.735 0.728,9.437C1.445,8.998 2.13,8.506 2.645,7.828C3.517,6.677 3.293,5.563 2.067,4.846C1.86,4.725 1.645,4.619 1.441,4.493C0.155,3.7 -0.283,2.701 0.178,1.626C0.705,0.396 2.268,-0.293 3.592,0.12C5.284,0.648 6.477,2.41 6.48,4.382" style="fill:'+(color ? color : "black")+';fill-rule:nonzero;"/>'
|
||||
=raw '<path d="M14.88,4.621C14.883,7.487 13.007,10.193 10.412,11.111C9.82,11.32 9.367,11.389 9.03,10.693C8.716,10.046 9.022,9.73 9.507,9.43C10.295,8.944 11.028,8.4 11.466,7.546C12.02,6.465 11.816,5.636 10.807,4.965C10.576,4.811 10.315,4.701 10.07,4.568C8.698,3.824 8.268,2.734 8.86,1.511C9.483,0.226 10.862,-0.317 12.185,0.2C13.836,0.846 14.878,2.554 14.88,4.621" style="fill:'+(color ? color : "black")+';fill-rule:nonzero;"/>'
|
||||
</g>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
||||
.guillemet.top_corner
|
||||
<svg width="40px" height="40px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
||||
<g transform="matrix(-6.6048,2.12427e-15,-2.12427e-15,-6.6048,99.1431,75.5965)">
|
||||
|
||||
<g>
|
||||
=raw '<path d="M6.48,4.382C6.484,7.373 4.416,10.198 1.612,11.14C0.945,11.365 0.64,11.1 0.352,10.614C0.035,10.081 0.24,9.735 0.728,9.437C1.445,8.998 2.13,8.506 2.645,7.828C3.517,6.677 3.293,5.563 2.067,4.846C1.86,4.725 1.645,4.619 1.441,4.493C0.155,3.7 -0.283,2.701 0.178,1.626C0.705,0.396 2.268,-0.293 3.592,0.12C5.284,0.648 6.477,2.41 6.48,4.382" style="fill:'+(color ? color : "black")+';fill-rule:nonzero;"/>'
|
||||
=raw '<path d="M14.88,4.621C14.883,7.487 13.007,10.193 10.412,11.111C9.82,11.32 9.367,11.389 9.03,10.693C8.716,10.046 9.022,9.73 9.507,9.43C10.295,8.944 11.028,8.4 11.466,7.546C12.02,6.465 11.816,5.636 10.807,4.965C10.576,4.811 10.315,4.701 10.07,4.568C8.698,3.824 8.268,2.734 8.86,1.511C9.483,0.226 10.862,-0.317 12.185,0.2C13.836,0.846 14.878,2.554 14.88,4.621" style="fill:'+(color ? color : "black")+';fill-rule:nonzero;"/>'
|
||||
</g>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
||||
|
||||
|
||||
=#'+(color ? color : "black")+'
|
||||
.quote_content
|
||||
=simple_format testimony.quote
|
||||
%p.author
|
||||
=testimony.author
|
||||
.clear
|
||||
%br
|
||||
|
||||
|
||||
#footer
|
||||
.center
|
||||
%h2
|
||||
@ -195,9 +244,9 @@
|
||||
=ic :phone
|
||||
06 87 99 14 96
|
||||
="-"
|
||||
=link_to "mailto:eyssard.joris@gmail.com" do
|
||||
=link_to "mailto:info@abritium.fr" do
|
||||
=ic :"envelope-o"
|
||||
eyssard.joris@gmail.com
|
||||
info@abritium.fr
|
||||
|
||||
.clear
|
||||
|
||||
|
7
app/views/public/testimonies/_testimony.html.haml
Normal file
7
app/views/public/testimonies/_testimony.html.haml
Normal file
@ -0,0 +1,7 @@
|
||||
.testimony
|
||||
=link_to image_tag(testimony.image_file.file.square.url()), testimony_path(testimony) if testimony.image_file
|
||||
%blockquote
|
||||
=link_to testimony.quote, testimony_path(testimony)
|
||||
|
||||
.author=link_to testimony.author+" - lire la suite >", testimony_path(testimony)
|
||||
.clear{:style => "clear:both;"}
|
21
app/views/public/testimonies/index.haml
Normal file
21
app/views/public/testimonies/index.haml
Normal file
@ -0,0 +1,21 @@
|
||||
#testimony_index
|
||||
|
||||
%h1 Témoignages
|
||||
|
||||
.traduction_avertissement
|
||||
%p
|
||||
%strong Avertissement
|
||||
%p
|
||||
Les témoignages des médecins formés par l'Ecole EFT France présents sur les sites de Geneviève Gagos, www.Technique-EFT.com et www.Ecole-EFT-France.fr, ne peuvent être reproduits ou cités sur d'autres sites ou documents ; toute reproduction pouvant créer une confusion dans l’esprit du public, en donnant une fausse validation d’ordre médical, est strictement interdite.
|
||||
|
||||
:scss
|
||||
.traduction_avertissement{
|
||||
|
||||
padding:10px 20px;
|
||||
background:#f4f4f4;
|
||||
margin:20px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
=render @testimonies
|
29
app/views/public/testimonies/show.html.haml
Normal file
29
app/views/public/testimonies/show.html.haml
Normal file
@ -0,0 +1,29 @@
|
||||
.traduction_avertissement
|
||||
%p
|
||||
%strong Avertissement
|
||||
%p
|
||||
Les témoignages des médecins formés par l'Ecole EFT France présents sur les sites de Geneviève Gagos, www.Technique-EFT.com et www.Ecole-EFT-France.fr, ne peuvent être reproduits ou cités sur d'autres sites ou documents ; toute reproduction pouvant créer une confusion dans l’esprit du public, en donnant une fausse validation d’ordre médical, est strictement interdite.
|
||||
|
||||
:scss
|
||||
.traduction_avertissement{
|
||||
|
||||
padding:10px 20px;
|
||||
background:#f4f4f4;
|
||||
margin:20px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
-if !@testimony.block
|
||||
-@testimony.block = Block.new
|
||||
-@testimony.save
|
||||
|
||||
#testimony_header
|
||||
=image_tag(@testimony.image_file.file.square.url) if @testimony.image_file
|
||||
.quote
|
||||
=@testimony.quote
|
||||
.author
|
||||
=@testimony.author
|
||||
|
||||
%p{:style => "clear:both;"}
|
||||
=render @testimony.block
|
@ -60,6 +60,7 @@ Rails.application.routes.draw do
|
||||
|
||||
namespace :public do
|
||||
resources :contacts
|
||||
resources :testimonies
|
||||
|
||||
|
||||
resources :specific_maps
|
||||
@ -111,7 +112,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
namespace :admin do
|
||||
|
||||
resources :testimonies
|
||||
|
||||
resources :mail_contents
|
||||
resources :mail_templates
|
||||
|
18
db/migrate/20190529138444_create_testimonies.rb
Normal file
18
db/migrate/20190529138444_create_testimonies.rb
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- encoding : utf-8 -*-
|
||||
class CreateTestimonies < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :testimonies do |t|
|
||||
t.string :author
|
||||
t.references :image_file
|
||||
t.text :quote
|
||||
t.references :menu_item
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :testimonies
|
||||
end
|
||||
end
|
11
db/schema.rb
11
db/schema.rb
@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20190508091713) do
|
||||
ActiveRecord::Schema.define(version: 20190529138444) do
|
||||
|
||||
create_table "admin_admin_roles", force: :cascade do |t|
|
||||
t.integer "admin_id", limit: 4
|
||||
@ -918,6 +918,15 @@ ActiveRecord::Schema.define(version: 20190508091713) do
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
create_table "testimonies", force: :cascade do |t|
|
||||
t.string "author", limit: 255
|
||||
t.integer "image_file_id", limit: 4
|
||||
t.text "quote", limit: 65535
|
||||
t.integer "menu_item_id", limit: 4
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
create_table "text_contents", force: :cascade do |t|
|
||||
t.string "style", limit: 255
|
||||
t.text "content", limit: 65535
|
||||
|
BIN
public/devis.png
BIN
public/devis.png
Binary file not shown.
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
BIN
public/fond.jpg
Normal file
BIN
public/fond.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 464 KiB |
BIN
public/left.png
Normal file
BIN
public/left.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 692 B |
BIN
public/right.png
Normal file
BIN
public/right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 686 B |
Loading…
x
Reference in New Issue
Block a user