Fixed layout and size of timetrackings report popup

This commit is contained in:
Manuel Cillero 2017-08-31 19:25:43 +02:00
parent 063eac3811
commit 75fea279d1
3 changed files with 11 additions and 4 deletions

View file

@ -14,24 +14,27 @@ div.storm_popup {
border: 1px solid black;
background-color: #fff;
}
div.storm_popup_inner {
clear: both;
text-align: center;
}
div.storm_popup_inner form div div.form-item {
margin: 0;
margin: 0 8px 4px;
}
div.storm_popup_inner form div .btn {
margin-left: 1em;
}
div.storm_popup_inner form div input.form-submit {
margin: 5px 0 0 0;
}
div.storm_popup_title {
float: left;
text-align: center;
color: #fff;
width: 100%;
background-color: #5294C1;
padding: 4px 0;
margin-bottom: 8px;
}
div.storm_list_form_report {

View file

@ -55,7 +55,7 @@ function stormtimetracking_list() {
$i->type = 'stormtimetracking';
$report_attrs = array(
'onclick' => "storm_popup(this, 'timetracking_list_form_report', 'Timetrackings', 300, 150, 'stormtimetracking_list_form_report', 'l'); return false;",
'onclick' => "storm_popup(this, 'timetracking_list_form_report', '" . t('Timetrackings') . "', 300, 244, 'stormtimetracking_list_form_report', 'l'); return false;",
);
$header = array(

View file

@ -624,6 +624,7 @@ function _zuitedesk_button_classes($value) {
t('Advanced search'),
t('Upload'),
t('Download feature'),
t('Report'),
),
'btn-success' => array(
t('Add effect'),
@ -726,6 +727,9 @@ function _zuitedesk_button_icontext($value) {
'filter' => array(
t('Filter'),
),
'page' => array(
t('Report'),
),
);
// String matching first.
foreach ($icon_strings as $icon => $strings) {