Adding logout information for sign_out hover, changing colors for links
This commit is contained in:
parent
b698046e1e
commit
271ce62476
5 changed files with 32 additions and 3 deletions
|
@ -71,22 +71,30 @@
|
|||
|
||||
#sign_in{
|
||||
margin-top: 7px;
|
||||
.btn{
|
||||
.btn {
|
||||
color: #003C92;
|
||||
float: right;
|
||||
margin-right: 1.3em;
|
||||
}
|
||||
.btn:hover {
|
||||
color: #668ABD;
|
||||
}
|
||||
}
|
||||
|
||||
#sign_out{
|
||||
height: 60px;
|
||||
|
||||
.fa {
|
||||
color: #003C92;
|
||||
float: right;
|
||||
width: 70px;
|
||||
margin-top: 2%;
|
||||
margin-right: 0.5em;
|
||||
font-size: 40px;
|
||||
}
|
||||
.fa:hover {
|
||||
color: #668ABD;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -181,4 +189,9 @@
|
|||
width: initial;
|
||||
padding: 10px;
|
||||
left: -130px;
|
||||
.description {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
%div.dropdown-menu#credentials
|
||||
%div.description= t("utils.deconnexion")
|
||||
= @current_gestionnaire.email if @current_gestionnaire
|
||||
= @current_user.email if @current_user
|
||||
|
|
|
@ -21,3 +21,5 @@
|
|||
|
||||
en:
|
||||
hello: "Hello world"
|
||||
utils:
|
||||
deconnexion: "Logout"
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
# available at http://guides.rubyonrails.org/i18n.html.
|
||||
|
||||
fr:
|
||||
utils:
|
||||
deconnexion: "Déconnexion"
|
||||
will_paginate:
|
||||
next_label: 'Suivant'
|
||||
previous_label: 'Précédent'
|
||||
|
@ -179,4 +181,4 @@ fr:
|
|||
other: "%{count} mois"
|
||||
x_seconds:
|
||||
one: 1 seconde
|
||||
other: "%{count} secondes"
|
||||
other: "%{count} secondes"
|
||||
|
|
13
db/schema.rb
13
db/schema.rb
|
@ -116,6 +116,12 @@ ActiveRecord::Schema.define(version: 20161205110427) do
|
|||
t.index ["dossier_id"], name: "index_commentaires_on_dossier_id", using: :btree
|
||||
end
|
||||
|
||||
create_table "comments", force: :cascade do |t|
|
||||
t.string "comment"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "dossiers", force: :cascade do |t|
|
||||
t.boolean "autorisation_donnees"
|
||||
t.string "nom_projet"
|
||||
|
@ -249,6 +255,12 @@ ActiveRecord::Schema.define(version: 20161205110427) do
|
|||
t.index ["procedure_id"], name: "index_module_api_cartos_on_procedure_id", unique: true, using: :btree
|
||||
end
|
||||
|
||||
create_table "notifications", force: :cascade do |t|
|
||||
t.string "message"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "pieces_justificatives", force: :cascade do |t|
|
||||
t.string "content"
|
||||
t.integer "dossier_id"
|
||||
|
@ -302,7 +314,6 @@ ActiveRecord::Schema.define(version: 20161205110427) do
|
|||
t.string "lien_demarche"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.boolean "test"
|
||||
t.integer "administrateur_id"
|
||||
t.boolean "archived", default: false
|
||||
t.boolean "euro_flag", default: false
|
||||
|
|
Loading…
Reference in a new issue