suite
This commit is contained in:
parent
6ab5dcda31
commit
36d9a9e45f
@ -1,5 +1,6 @@
|
|||||||
.sommaire_panel
|
.sommaire_panel
|
||||||
.content
|
.content
|
||||||
|
=link_to public_plume_path(@plume) do
|
||||||
%h2 Sommaire
|
%h2 Sommaire
|
||||||
|
|
||||||
-@plume.plume_cats.order(:position).each do |plume_cat|
|
-@plume.plume_cats.order(:position).each do |plume_cat|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#plume_header
|
#plume_header
|
||||||
=link_to image_tag("/plume-logo.png", :class => "plume_logo"), public_plume_path(@plume)
|
=link_to image_tag("/plume-logo.png", :class => "plume_logo"), (public_plumes_path)
|
||||||
=image_tag "/plume-logo-mobile.png", :class => "plume_logo_mobile"
|
=image_tag "/plume-logo-mobile.png", :class => "plume_logo_mobile"
|
||||||
.baseline
|
.baseline
|
||||||
Bulletin indépendant des lobbies, d’un électorat, consacré à l’intérêt général et super intéressant !
|
Bulletin indépendant des lobbies, d’un électorat, consacré à l’intérêt général et super intéressant !
|
||||||
|
56
app/views/public/plumes/index.html.haml
Normal file
56
app/views/public/plumes/index.html.haml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#plume_wrapper
|
||||||
|
=render :partial => "top"
|
||||||
|
|
||||||
|
.plume_index
|
||||||
|
-Plume.where(:enabled => true).order("number DESC").each do |plume|
|
||||||
|
=link_to public_plume_path(plume) do
|
||||||
|
.plume_panel
|
||||||
|
=image_tag plume.couv_image_file.file.url
|
||||||
|
.desc
|
||||||
|
%h3
|
||||||
|
La plume
|
||||||
|
="n°#{plume.number}"
|
||||||
|
%strong
|
||||||
|
=plume.p_version
|
||||||
|
.clear
|
||||||
|
|
||||||
|
:scss
|
||||||
|
.plume_index{
|
||||||
|
max-width:1100px;
|
||||||
|
padding:40px 30px;
|
||||||
|
margin:20px auto;
|
||||||
|
|
||||||
|
.plume_panel{
|
||||||
|
width:48%;
|
||||||
|
margin:0 1%;
|
||||||
|
margin-bottom:20px;
|
||||||
|
h3{
|
||||||
|
font-size:35px;
|
||||||
|
padding-top:5px;
|
||||||
|
margin-bottom:0;
|
||||||
|
}
|
||||||
|
strong{
|
||||||
|
display:block;
|
||||||
|
padding:5px 0;
|
||||||
|
color:black;
|
||||||
|
font-size:17px;
|
||||||
|
}
|
||||||
|
img{
|
||||||
|
width:150px;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
.desc{
|
||||||
|
margin-left:165px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
.clear{
|
||||||
|
clear:both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plume_wrapper{
|
||||||
|
padding-bottom:20px;
|
||||||
|
}
|
@ -1,5 +1,7 @@
|
|||||||
# -*- encoding : utf-8 -*-
|
# -*- encoding : utf-8 -*-
|
||||||
Survey::Application.routes.draw do
|
Survey::Application.routes.draw do
|
||||||
|
get "plumes.:f" => "public/plumes#index", :as => :public_plumes, :f => "html"
|
||||||
|
|
||||||
get "mallette-peda" => redirect("/nos-actions/education-a-lenvironnement-et-developpement-durable/mallette-gaspillage-alimentaire-telechargement.html")
|
get "mallette-peda" => redirect("/nos-actions/education-a-lenvironnement-et-developpement-durable/mallette-gaspillage-alimentaire-telechargement.html")
|
||||||
|
|
||||||
get "malette-peda" => redirect("/nos-actions/education-a-lenvironnement-et-developpement-durable/mallette-gaspillage-alimentaire-telechargement.html")
|
get "malette-peda" => redirect("/nos-actions/education-a-lenvironnement-et-developpement-durable/mallette-gaspillage-alimentaire-telechargement.html")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user