Fix dashboard dialog tranlations and search bar size
This commit is contained in:
parent
d91ba1b4e1
commit
c5c36dab8b
|
@ -72,7 +72,7 @@ function initialiceLayout(data) {
|
|||
|
||||
var positionGrid = grid.el.getBoundingClientRect();
|
||||
var gridWidth = positionGrid.width;
|
||||
|
||||
var title = data.title;
|
||||
getCellsLayout();
|
||||
|
||||
function getCellsLayout() {
|
||||
|
@ -548,7 +548,7 @@ function initialiceLayout(data) {
|
|||
function addWidgetDialog(id) {
|
||||
$("#modal-add-widget")
|
||||
.dialog({
|
||||
title: "New Widget",
|
||||
title: data.title,
|
||||
resizable: false,
|
||||
modal: true,
|
||||
overlay: {
|
||||
|
|
|
@ -427,9 +427,9 @@ table.widget_agent_module tbody tr:first-child > th {
|
|||
}
|
||||
|
||||
li#search_input_widget {
|
||||
width: 50%;
|
||||
width: 200px;
|
||||
position: absolute;
|
||||
left: 150px;
|
||||
left: 200px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,8 @@ echo $output;
|
|||
class: '<?php echo $class; ?>',
|
||||
hash: '<?php echo $hash; ?>',
|
||||
user: '<?php echo $config['id_user']; ?>'
|
||||
}
|
||||
},
|
||||
title: '<?php echo __('New widget'); ?>',
|
||||
});
|
||||
|
||||
// Mode for create new dashboard.
|
||||
|
|
|
@ -90,7 +90,7 @@ foreach ($widgets as $widget) {
|
|||
);
|
||||
$output .= '</div>';
|
||||
$output .= '<div class="list-widgets-description">';
|
||||
$output .= $widget['description'];
|
||||
$output .= __($widget['description']);
|
||||
$output .= '</div>';
|
||||
$output .= '</div>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue