layout and language changer
This commit is contained in:
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 427 B |
@@ -187,6 +187,9 @@ function Qupdate(selector){
|
||||
setTranslations(selector);
|
||||
}
|
||||
function setTranslations(selector){
|
||||
var list = $('#top-navigation-list');
|
||||
list.find('.locale').show();
|
||||
list.find('.locale-'+$locale).hide();
|
||||
if(selector){
|
||||
$(selector).find('[data-t]').each(function(){$(this).text(t($(this).attr('data-t')))})
|
||||
}else{
|
||||
|
||||
@@ -67,6 +67,15 @@ body
|
||||
.order-count-cell
|
||||
white-space: nowrap
|
||||
.page-header
|
||||
#top-navigation-list
|
||||
.locale
|
||||
padding-left: 30px
|
||||
background-repeat: no-repeat
|
||||
background-position: 15px center
|
||||
&.locale-en
|
||||
background-image: image-url('flags/flag-en.png')
|
||||
&.locale-nl
|
||||
background-image: image-url('flags/flag-nl.png')
|
||||
#list-needs-help-button
|
||||
button
|
||||
margin-left: 5px
|
||||
|
||||
Reference in New Issue
Block a user