update to 1.6.2 (#9)

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #9
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
meaz 2023-07-11 18:38:02 +00:00
parent 756ac5f477
commit 01e474b0f3
8 changed files with 10 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -155,6 +155,7 @@ body {
flex: 6; flex: 6;
flex-direction: column; flex-direction: column;
background-color: @color-layout-content-background; background-color: @color-layout-content-background;
width: 100%;
html.iframe & { html.iframe & {
height: 100%; height: 100%;

File diff suppressed because one or more lines are too long

14
ui.js
View File

@ -870,8 +870,8 @@ function rcube_elastic_ui()
$('.popup', context).addClass('formcontent').append( $('.popup', context).addClass('formcontent').append(
$('<div class="form-group row">') $('<div class="form-group row">')
.append(label.attr('for', id).addClass('col-sm-2 col-form-label')) .append(label.attr('for', id).addClass('col-sm-4 col-form-label text-break'))
.append($('<div class="col-sm-10">').append(input)) .append($('<div class="col-sm-8">').append(input))
); );
input.focus(); input.focus();
@ -2710,7 +2710,7 @@ function rcube_elastic_ui()
return true; return true;
}; };
dialog = rcmail.simple_dialog(dialog, rcmail.gettext('listoptionstitle'), save_func, { dialog = rcmail.simple_dialog(dialog, 'listoptionstitle', save_func, {
closeOnEscape: true, closeOnEscape: true,
minWidth: 400 minWidth: 400
}); });
@ -2768,7 +2768,7 @@ function rcube_elastic_ui()
var props = {_uid: rcmail.env.uid, _mbox: rcmail.env.mailbox, _framed: 1}, var props = {_uid: rcmail.env.uid, _mbox: rcmail.env.mailbox, _framed: 1},
dialog = $('<iframe>').attr({id: 'headersframe', src: rcmail.url('headers', props)}); dialog = $('<iframe>').attr({id: 'headersframe', src: rcmail.url('headers', props)});
rcmail.simple_dialog(dialog, rcmail.gettext('arialabelmessageheaders'), null, { rcmail.simple_dialog(dialog, 'arialabelmessageheaders', null, {
cancel_button: 'close', cancel_button: 'close',
height: 400 height: 400
}); });
@ -2781,7 +2781,7 @@ function rcube_elastic_ui()
{ {
var dialog = $('#properties-menu').clone(); var dialog = $('#properties-menu').clone();
rcmail.simple_dialog(dialog, rcmail.gettext('properties'), null, { rcmail.simple_dialog(dialog, 'properties', null, {
cancel_button: 'close', cancel_button: 'close',
height: 400 height: 400
}); });
@ -2803,7 +2803,7 @@ function rcube_elastic_ui()
return rcmail.command('import-messages', $(dialog.find('form')[0])); return rcmail.command('import-messages', $(dialog.find('form')[0]));
}; };
rcmail.simple_dialog(dialog, rcmail.gettext('importmessages'), save_func, { rcmail.simple_dialog(dialog, 'importmessages', save_func, {
button: 'import', button: 'import',
closeOnEscape: true, closeOnEscape: true,
minWidth: 400 minWidth: 400
@ -3158,7 +3158,7 @@ function rcube_elastic_ui()
{ {
if (!opts) opts = {}; if (!opts) opts = {};
var title = rcmail.gettext(opts.title || 'insertcontact'), var title = opts.title || 'insertcontact',
dialog = $('#recipient-dialog'), dialog = $('#recipient-dialog'),
parent = dialog.parent(), parent = dialog.parent(),
close_func = function() { close_func = function() {

2
ui.min.js vendored

File diff suppressed because one or more lines are too long