diff --git a/resources/js/ext.uls.displaysettings.js b/resources/js/ext.uls.displaysettings.js index 68b7f6f9..51e7e6e5 100644 --- a/resources/js/ext.uls.displaysettings.js +++ b/resources/js/ext.uls.displaysettings.js @@ -20,38 +20,72 @@ ( function ( $, mw, undefined ) { "use strict"; - var template = '
' - + '

' - + '
' - + '

' - + '
' - + '
' - + '
' - + '

' + var template = '
' // Top "Display settings" title + + '
' + + '

' + + '
' + + '
' + + // "Language for display", title above the buttons row + '
' + '
' - + '
' + + '
' + + // UI languages buttons row + + '
' + + '
' + + '
' + + // "Font settings" title + + '
' + + '
' + + '

' + + '
' + + '
' + + // Webfonts enabling chechbox with label + + '
' + + '
' + + '' + + '' + '
' + '
' - + '
' + + // Font selection title + + '
' + + '
' + + '
' + + // Menus font selection dropdown with label + '
' - + '
' + + '
' + + '' + + '
' + '' + '
' + + // Content font selection dropdown with label + '
' - + '
' + + '
' + + '' + + '
' + '' + '
' + + // Separator + '
' + + // Apply and Cancel buttons + '
' + '
' + '' - + '' + + '' + '
' + '
'; // FIXME i18n and too much hardcoding. @@ -243,13 +277,15 @@ var $systemFont = $( "