Fixed resource registration

This commit is contained in:
Jose Gonzalez 2023-02-27 10:09:34 +01:00
parent 6f16c45285
commit cba3ba8452
2 changed files with 15 additions and 8 deletions

View File

@ -1122,14 +1122,20 @@ function resource_registration_extension_main()
);
$table = new stdClass();
$table->class = 'databox';
$table->class = 'databox filter-table-adv';
$table->id = 'resource_registration_table';
$table->data = [];
$table->data[0][0] = __('File to upload');
$table->data[0][1] = __('Group filter');
$table->data[1][0] = html_print_input_file('resource_upload', true);
$table->data[1][1] = html_print_select_groups(false, 'AW', true, 'group', '', '', __('All'), 0, true);
$table->data[0][] = html_print_label_input_block(
__('File to upload'),
html_print_input_file('resource_upload', true)
);
$table->data[0][] = html_print_label_input_block(
__('Group filter'),
html_print_select_groups(false, 'AW', true, 'group', '', '', __('All'), 0, true)
);
// Upload form.
echo '<form name="submit_plugin" method="POST" enctype="multipart/form-data">';

View File

@ -9928,6 +9928,7 @@ div#err_msg_centralised {
.inputFileSpan {
padding-left: 1em;
font-family: monospace;
}
input,
@ -10688,7 +10689,7 @@ tr.bring_next_field {
.select2-selection--single
.select2-selection__placeholder {
color: #999;
line-height: 42px;
line-height: 36px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
@ -10980,7 +10981,7 @@ table.table_modal_alternate
> span.select2-selection {
height: 32px !important;
}
*/
.fixed_filter_bar .select2-selection__arrow,
.filter_table .select2-selection__arrow,
table.table_modal_alternate .select2-selection__arrow {
@ -11005,7 +11006,7 @@ table.table_modal_alternate
.select2-selection__rendered {
line-height: 32px !important;
}
*/
.fixed_filter_bar
.select2-container--default
.select2-search--dropdown