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; border: 1px solid black;
background-color: #fff; background-color: #fff;
} }
div.storm_popup_inner { div.storm_popup_inner {
clear: both; clear: both;
text-align: center; text-align: center;
} }
div.storm_popup_inner form div div.form-item { 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 { div.storm_popup_inner form div input.form-submit {
margin: 5px 0 0 0; margin: 5px 0 0 0;
} }
div.storm_popup_title { div.storm_popup_title {
float: left; float: left;
text-align: center; text-align: center;
color: #fff; color: #fff;
width: 100%; width: 100%;
background-color: #5294C1; background-color: #5294C1;
padding: 4px 0;
margin-bottom: 8px;
} }
div.storm_list_form_report { div.storm_list_form_report {

View file

@ -55,7 +55,7 @@ function stormtimetracking_list() {
$i->type = 'stormtimetracking'; $i->type = 'stormtimetracking';
$report_attrs = array( $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( $header = array(

View file

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