Plus d'outline et tous les liens pour la modération
This commit is contained in:
parent
19193f1680
commit
6844cac3a0
@ -22,6 +22,10 @@
|
|||||||
text-align: right
|
text-align: right
|
||||||
font-style: italic
|
font-style: italic
|
||||||
margin-top: 15px
|
margin-top: 15px
|
||||||
|
th.actions
|
||||||
|
padding: 0
|
||||||
|
a
|
||||||
|
font-weight: normal
|
||||||
|
|
||||||
main > h3
|
main > h3
|
||||||
font-size: inherit
|
font-size: inherit
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
background-color: #FFB
|
background-color: #FFB
|
||||||
@include border-radius(0.8em)
|
@include border-radius(0.8em)
|
||||||
&:focus
|
&:focus
|
||||||
|
outline: 0
|
||||||
background-color: #F0F8FF !important
|
background-color: #F0F8FF !important
|
||||||
input[type=submit]
|
input[type=submit]
|
||||||
border: none
|
border: none
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
%h2=t '.title'
|
%h2=t '.title'
|
||||||
|
|
||||||
= form_for resource, as: resource_name, url: session_path(resource_name) do |f|
|
= form_for resource, as: resource_name, url: session_path(resource_name) do |f|
|
||||||
%div.field
|
.field
|
||||||
= f.label :login
|
= f.label :login
|
||||||
= f.text_field :login, autofocus: true
|
= f.text_field :login, autofocus: true
|
||||||
|
|
||||||
%div.field
|
.field
|
||||||
= f.label :password
|
= f.label :password
|
||||||
= f.password_field :password
|
= f.password_field :password
|
||||||
|
|
||||||
- if devise_mapping.rememberable?
|
- if devise_mapping.rememberable?
|
||||||
%div
|
.field
|
||||||
= f.check_box :remember_me
|
= f.check_box :remember_me
|
||||||
= f.label :remember_me
|
= f.label :remember_me
|
||||||
|
|
||||||
%div= f.submit t('.sign_in')
|
.actions= f.submit t('.sign_in')
|
||||||
|
|
||||||
= render "devise/shared/links"
|
= render "devise/shared/links"
|
||||||
|
@ -31,12 +31,16 @@
|
|||||||
%td= event.city
|
%td= event.city
|
||||||
%td= event.region.name
|
%td= event.region.name
|
||||||
%td= time_ago_in_words event.submission_time.to_date
|
%td= time_ago_in_words event.submission_time.to_date
|
||||||
%td
|
%th.actions
|
||||||
= link_to t('edit'), edit_moderation_path(event)
|
= link_to t('edit'), edit_moderation_path(event), class: 'fa-pencil'
|
||||||
\-
|
\-
|
||||||
= link_to t('validate'), edit_moderation_path(event)
|
= link_to t('validate'), edit_moderation_path(event), class: 'fa-thumbs-up'
|
||||||
\-
|
\-
|
||||||
= link_to t('refuse'), edit_moderation_path(event)
|
= link_to t('refuse'), edit_moderation_path(event), class: 'fa-thumbs-down'
|
||||||
|
%br/
|
||||||
|
= link_to t('.askInfos'), edit_moderation_path(event), class: 'fa-bullhorn'
|
||||||
|
%br/
|
||||||
|
= link_to t('.createNote'), new_note_path('event.id' => event), class: 'fa-files-o'
|
||||||
|
|
||||||
- event.notes.each do |note|
|
- event.notes.each do |note|
|
||||||
%tr
|
%tr
|
||||||
|
@ -142,6 +142,8 @@ fr:
|
|||||||
actions: Actions
|
actions: Actions
|
||||||
posted_by: Posté par %{author} le %{date}
|
posted_by: Posté par %{author} le %{date}
|
||||||
date: Date
|
date: Date
|
||||||
|
askInfos: Demander des infos
|
||||||
|
createNote: Ajouter une note
|
||||||
edit:
|
edit:
|
||||||
moderation: Modération
|
moderation: Modération
|
||||||
preview: Prévisualisation de l'évènement
|
preview: Prévisualisation de l'évènement
|
||||||
|
@ -4,6 +4,7 @@ AgendaDuLibreRails::Application.routes.draw do
|
|||||||
get 'stats', on: :collection
|
get 'stats', on: :collection
|
||||||
end
|
end
|
||||||
resources :events
|
resources :events
|
||||||
|
resources :notes
|
||||||
resources :users
|
resources :users
|
||||||
resources :tags, only: [ :index, :show ]
|
resources :tags, only: [ :index, :show ]
|
||||||
resources :moderations
|
resources :moderations
|
||||||
|
Loading…
Reference in New Issue
Block a user