116 lines
3.8 KiB
Plaintext
116 lines
3.8 KiB
Plaintext
!!!
|
|
%html{:lang => "fr"}
|
|
%head
|
|
%meta{:charset => "utf-8"}/
|
|
%meta{:content => "IE=Edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
|
|
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
|
|
%title= @title || "Forum de l'association Le Pic Vert"
|
|
|
|
=javascript_include_tag "forum"
|
|
=stylesheet_link_tag "forum"
|
|
= csrf_meta_tags
|
|
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
|
|
|
|
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-17561522-1"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-17561522-1');
|
|
</script>
|
|
|
|
%body.admin
|
|
|
|
=render :partial => "public/shared/top"
|
|
-if current_fuser
|
|
%nav#forum_nav.navbar.navbar-default.navbar-inverse{role: "navigation", :style => "border-radius:0;"}
|
|
.container-fluid
|
|
/ Brand and toggle get grouped for better mobile display
|
|
.navbar-header
|
|
%button.navbar-toggle{"data-target" => "#bs-example-navbar-collapse-1", "data-toggle" => "collapse", type: "button"}
|
|
%span.sr-only Toggle navigation
|
|
%span.icon-bar
|
|
%span.icon-bar
|
|
%span.icon-bar
|
|
%a.navbar-brand{href: "/forum"}
|
|
=ic(:home, :icon => false)
|
|
Forum du Pic Vert
|
|
|
|
#bs-example-navbar-collapse-1.collapse.navbar-collapse
|
|
%ul.nav.navbar-nav
|
|
%li=link_to "Fils de discussion", forum_forum_topics_path
|
|
%li=link_to "Utilisateurs", forum_forum_users_path
|
|
%li=link_to "Catégories", forum_forum_categories_path if moderator?
|
|
|
|
|
|
|
|
|
|
%ul.nav.navbar-nav.navbar-right
|
|
%li.dropdown
|
|
%a{:href => "#", :class => "dropdown-toggle", :data => {:toggle => "dropdown"}}
|
|
=image_tag (current_fuser.avatar? ? current_fuser.avatar.square.url : ""), :class => "img img-rounded", :style => "height:15px;"
|
|
=current_fuser.firstname
|
|
=current_fuser.name
|
|
%b.caret
|
|
%ul.dropdown-menu
|
|
%li=link_to "Mon profil", [:forum, current_fuser]
|
|
%li= link_to "Mes paramètres", edit_forum_forum_user_path(current_fuser)
|
|
%li.divider
|
|
%li=link_to "se déconnecter", logout_forum_auths_path, :method => :delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#toolbar-text
|
|
|
|
#main.container-fluid
|
|
|
|
.avertissement{:style => "text-align:center;border-top:1px solid red;border-bottom:1px solid red;padding:10px;margin:1em auto;max-width:800px"}
|
|
Information importante : les messages déposés sur le forum n'engagent que leur auteurs et en aucun cas l'avis de l'association. Chacun est responsable de ce qu'il exprime via cet outil.
|
|
|
|
= yield
|
|
|
|
-if current_fuser and current_fuser.sheet and current_fuser.sheet.last_year < Date.today.year
|
|
%div{:style => "background:#e16b13;padding:10px;text-align:center;color:white;"}
|
|
%a{:href => "http://www.lepicvert.asso.fr/131/lassociation/adherer", :style => "color:white;text-decoration:none;"}
|
|
Attention : votre adhésion n'a pas encore été renouvelée pour
|
|
= Date.today.year.to_s+"."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.footer
|
|
%p{:style => "float:right;"}
|
|
-if current_fuser and current_fuser.sheet
|
|
Cotisation à jour pour
|
|
=current_fuser.sheet.last_year.to_s+" - "
|
|
N° d'adhésion :
|
|
="#"+current_fuser.sheet.sheet_number.to_s
|
|
=link_to image_tag("logo.png", :style => "height:100px;"), "/forum"
|
|
|
|
|
|
|
|
#flashs= bootstrap_flash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|