Add missing timezone selectbox in framework

This commit is contained in:
Hadi Nategh 2019-10-18 15:01:08 +02:00
parent e0fdcaa959
commit 414b169791
7 changed files with 56 additions and 1 deletions

View File

@ -615,7 +615,7 @@ abstract class Framework extends Framework\Extra
protected static function _user_time_info()
{
$now = new DateTime();
$user_info = '<b>'.Accounts::format_username() .'</b>'. ' - ' . lang($now->format('l')) . ' ' . $now->format(true);
$user_info = '<span>'.lang($now->format('l')) . ' ' . $now->format(true).'</span>';
$user_tzs = DateTime::getUserTimezones();
if (count($user_tzs) > 1)

View File

@ -4122,6 +4122,16 @@ td.message span.message {
background-size: 16px;
background-image: url(../images/print.svg);
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone span {
width: 100%;
text-align: center;
display: inline-block;
background-color: #fafafa;
padding: 5px 0px 5px 0px;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone select {
width: 100%;
}
/* ###################################################
Slide Effekt
###################################################*/

View File

@ -4111,6 +4111,16 @@ td.message span.message {
background-size: 16px;
background-image: url(../images/print.svg);
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone span {
width: 100%;
text-align: center;
display: inline-block;
background-color: #fafafa;
padding: 5px 0px 5px 0px;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone select {
width: 100%;
}
/* ###################################################
Slide Effekt
###################################################*/

View File

@ -4122,6 +4122,16 @@ td.message span.message {
background-size: 16px;
background-image: url(../images/print.svg);
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone span {
width: 100%;
text-align: center;
display: inline-block;
background-color: #fafafa;
padding: 5px 0px 5px 0px;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone select {
width: 100%;
}
/* ###################################################
Slide Effekt
###################################################*/

View File

@ -34,6 +34,9 @@
<div id="egw_fw_topmenu">
<div id="egw_fw_topmenu_items">
{topmenu_items}
<div class="timezone">
{user_info}
</div>
{powered_by}
</div>
</div>

View File

@ -243,6 +243,18 @@
background-image: url(../images/print.svg);
}
} // Ende ul
.timezone {
span {
width: 100%;
text-align: center;
display: inline-block;
background-color: #fafafa;
padding: 5px 0px 5px 0px;
}
select {
width: 100%;
}
}
} // Ende Items
} // Ende Topmenu
} // Ende Header

View File

@ -4133,6 +4133,16 @@ td.message span.message {
background-size: 16px;
background-image: url(../images/print.svg);
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone span {
width: 100%;
text-align: center;
display: inline-block;
background-color: #fafafa;
padding: 5px 0px 5px 0px;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items .timezone select {
width: 100%;
}
/* ###################################################
Slide Effekt
###################################################*/