diff --git a/conf/vroom.conf.sample b/conf/vroom.conf.sample index 1bfdd0b..ae52b47 100644 --- a/conf/vroom.conf.sample +++ b/conf/vroom.conf.sample @@ -14,6 +14,7 @@ realm => 'example.com', # Web & contact emailFrom => 'vroom@example.com', feedbackRecipient => 'admin@example.com', +poweredBy => 'Firewall Services', # Templates to use for web pages template => 'default', # Used to sign cookies diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index 669df33..3f05546 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -4,6 +4,8 @@ use base 'Vroom::I18N'; our %Lexicon = ( _AUTO => 1, "WELCOME" => "Welcome on VROOM !!", + "VROOM_IS_FREE_SOFTWARE" => "VROOM is a free software, released under the MIT licence", + "POWERED_BY" => "Proudly powered by", "ERROR_NAME_INVALID" => "This name is not valid", "ERROR_NAME_CONFLICT" => "A room with this name already exists, please choose another one", "ERROR_ROOM_s_DOESNT_EXIST" => "The room %s doesn't exist", diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index 2266dde..d84b799 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -6,6 +6,8 @@ use utf8; our %Lexicon = ( _AUTO => 1, "WELCOME" => "Bienvenue sur VROOM !!", + "VROOM_IS_FREE_SOFTWARE" => "VROOM est un logiciel libre diffusé sous license MIT", + "POWERED_BY" => "Fièrement propulsé par", "ERROR_NAME_INVALID" => "Ce nom n'est pas valide", "ERROR_NAME_CONFLICT" => "Ce nom est déjà pris, choisissez en un autre", "ERROR_ROOM_s_DOESNT_EXIST" => "Le salon %s n'existe pas", diff --git a/public/css/vroom.css b/public/css/vroom.css index 41e6c52..dc97d8c 100644 --- a/public/css/vroom.css +++ b/public/css/vroom.css @@ -157,6 +157,24 @@ text-align: justify; text-justify:inter-word; } +html, +body { + height: 100%; +} +#wrap { + min-height: 100%; + height: auto; + margin: 0 auto -50px; + padding: 0 0 50px; +} +#footerContainer{ + height: 50px; + background-color: #F8F8F8; + border-top: solid #E7E7E7 2px; +} +.footer{ + padding-top: 10px; +} @media screen and (max-width: 480px) { body { font-size: 0.8em; diff --git a/public/vroom.pl b/public/vroom.pl index da4d917..6a15674 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -71,6 +71,7 @@ our $config = plugin Config => { realm => 'vroom', emailFrom => 'vroom@example.com', feedbackRecipient => 'admin@example.com', + poweredBy => 'Firewall Services', template => 'default', inactivityTimeout => 3600, persistentInactivityTimeout => 0, diff --git a/templates/default/footer.html.ep b/templates/default/footer.html.ep index 82bb2d6..df5652d 100644 --- a/templates/default/footer.html.ep +++ b/templates/default/footer.html.ep @@ -1,4 +1,9 @@ - + +
+ +
diff --git a/templates/default/header.html.ep b/templates/default/header.html.ep index f5e1bee..6de8069 100644 --- a/templates/default/header.html.ep +++ b/templates/default/header.html.ep @@ -11,3 +11,4 @@ +