|
|
@ -554,9 +554,14 @@ function rcube_elastic_ui()
|
|
|
|
$('a', this).addClass('btn btn-primary');
|
|
|
|
$('a', this).addClass('btn btn-primary');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Style calendar widget (we use setTimeout() because there's no widget event we could bind to)
|
|
|
|
|
|
|
|
$('input.datepicker').focus(function() {
|
|
|
|
|
|
|
|
setTimeout(function() { bootstrap_style($('.ui-datepicker')); }, 5);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Make logon form prettier
|
|
|
|
// Make logon form prettier
|
|
|
|
if (rcmail.env.task == 'login') {
|
|
|
|
if (rcmail.env.task == 'login' && context == document) {
|
|
|
|
$('#login-form table tr', context).each(function() {
|
|
|
|
$('#login-form table tr').each(function() {
|
|
|
|
var input = $('input,select', this),
|
|
|
|
var input = $('input,select', this),
|
|
|
|
label = $('label', this),
|
|
|
|
label = $('label', this),
|
|
|
|
icon = $('<i>').attr('class', 'input-group-addon icon ' + input.attr('name').replace('_', ''));
|
|
|
|
icon = $('<i>').attr('class', 'input-group-addon icon ' + input.attr('name').replace('_', ''));
|
|
|
|