mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
add menual and about egroupware, lay-out improvements to startmenu and the textmenu's
This commit is contained in:
parent
15e32ce762
commit
0589aacb9e
@ -10,7 +10,7 @@ body, html
|
|||||||
scrollbar-track-color : #e0e0e0;
|
scrollbar-track-color : #e0e0e0;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin: 0;
|
margin: 0px 5px 5px 5px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
@ -99,12 +99,11 @@ td
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width:100%;
|
width:100%;
|
||||||
|
background-color:#eeeeee;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
margin:0;
|
margin:0;
|
||||||
background-color: #ffffff;
|
|
||||||
top:0;
|
top:0;
|
||||||
left:0;
|
left:0;
|
||||||
background-color:#dedede;
|
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
border-bottom: 1px solid #9c9c9c;
|
border-bottom: 1px solid #9c9c9c;
|
||||||
}
|
}
|
||||||
@ -114,28 +113,31 @@ td
|
|||||||
display:block;
|
display:block;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding-left: 3px;
|
|
||||||
padding-right: 3px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nav>li a
|
||||||
|
{
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
#nav>ul
|
||||||
|
{
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
#nav a:hover, #nav a:active
|
#nav a:hover, #nav a:active
|
||||||
{
|
{
|
||||||
display:block;
|
display:block;
|
||||||
background-color:#2773fe;
|
background-color:#2773fe;
|
||||||
border: 0px solid #000;
|
border: 0px solid #000;
|
||||||
color:#ffffff;
|
color:#ffffff;
|
||||||
padding-left: 3px;
|
|
||||||
padding-right: 3px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul {
|
#nav ul {
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
margin-top:5px;
|
margin-top:3px;
|
||||||
background-color:#eeeeee;
|
border: 1px solid #9c9c9c;
|
||||||
border-bottom: 1px solid #666666;
|
|
||||||
border-top: 1px solid #666666;
|
|
||||||
display:none;
|
display:none;
|
||||||
|
border-style: outset;
|
||||||
min-width:100px;
|
min-width:100px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
@ -144,6 +146,7 @@ td
|
|||||||
|
|
||||||
#nav ul ul,#nav ul
|
#nav ul ul,#nav ul
|
||||||
{
|
{
|
||||||
|
background-color:#eeeeee;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -154,7 +157,7 @@ background-color:#2773fe;
|
|||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav li, #nav li:hover
|
#nav>li, #nav>li:hover
|
||||||
{
|
{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
@ -165,7 +168,7 @@ color:white;
|
|||||||
height: 18px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav li:hover ul
|
#nav>li:hover ul
|
||||||
{
|
{
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
@ -188,12 +191,6 @@ color:white;
|
|||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.textSidebox,a.textSidebox:active
|
|
||||||
{
|
|
||||||
display:block;
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.divLoginbox
|
.divLoginbox
|
||||||
{
|
{
|
||||||
position:relative;
|
position:relative;
|
||||||
|
@ -82,6 +82,7 @@ img#backstretched {
|
|||||||
|
|
||||||
#launchmenu ul
|
#launchmenu ul
|
||||||
{
|
{
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
float: left;
|
float: left;
|
||||||
@ -90,17 +91,19 @@ img#backstretched {
|
|||||||
width: 235px;
|
width: 235px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 1px solid #7e7e7e;
|
border: 1px solid #7e7e7e;
|
||||||
|
/*border-left:0;*/
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
#launchmenu ul li
|
#launchmenu ul li
|
||||||
{
|
{
|
||||||
display: block;
|
display: block;
|
||||||
width: 240px;
|
/* width: 240px;*/
|
||||||
margin-right: 2px;
|
/* margin-right: 2px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;*/
|
||||||
padding: 0;
|
height: 22px;
|
||||||
|
/* padding: 2px 0px 2px 0px;*/
|
||||||
clear: both;
|
clear: both;
|
||||||
float: left;
|
/* float: left;*/
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,37 +113,38 @@ img#backstretched {
|
|||||||
float: left;
|
float: left;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 1px;
|
margin: 0px 10px 0px 3px;
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
#launchmenu ul li a
|
#launchmenu ul li a
|
||||||
{
|
{
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 16px;
|
font-size: 12px;
|
||||||
margin: 2px;
|
padding-top:2px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 20px;
|
/* height: 20px;*/
|
||||||
}
|
}
|
||||||
#launchmenu ul li a:hover
|
#launchmenu ul li a:hover
|
||||||
{
|
{
|
||||||
display: block;
|
display: block;
|
||||||
border: 1px solid #A24533;
|
background-color:#2773fe;
|
||||||
|
color:white;
|
||||||
|
/* border: 1px solid #A24533;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#launchmenu ul li.programs
|
#launchmenu ul li.programs
|
||||||
{
|
{
|
||||||
background-color: #F00;
|
background-color: #F00;
|
||||||
background-image: url('../js/x-desktop/xDT/skins/IDOTS2/menu_back.png');
|
background-image: url('../js/x-desktop/xDT/skins/IDOTS2/menu_back.png');
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 235px;
|
width: 235px;
|
||||||
padding-left: 10px;
|
/* padding-left: 10px;*/
|
||||||
height: 23px;
|
height: 23px;
|
||||||
padding-top: 2px;
|
/* padding-top: 2px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;*/
|
||||||
border-bottom: 1px solid #7e7e7e;
|
border-bottom: 1px solid #7e7e7e;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -157,6 +161,7 @@ img#backstretched {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#launchinfo {
|
#launchinfo {
|
||||||
float: left;
|
float: left;
|
||||||
background: #CCC;
|
background: #CCC;
|
||||||
@ -164,6 +169,7 @@ img#backstretched {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: hidden;
|
display: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tasks {
|
#tasks {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
@ -439,6 +439,7 @@ function launchSize(forceResize)
|
|||||||
function launchSizeAll(forceResize)
|
function launchSizeAll(forceResize)
|
||||||
{
|
{
|
||||||
var iconpath = xDT.resPath() + 'skins/IDOTS2';
|
var iconpath = xDT.resPath() + 'skins/IDOTS2';
|
||||||
|
var divideAmount= 22.5;
|
||||||
if(forceResize || !launchInit)
|
if(forceResize || !launchInit)
|
||||||
{
|
{
|
||||||
launchInit = true;
|
launchInit = true;
|
||||||
@ -472,12 +473,12 @@ function launchSizeAll(forceResize)
|
|||||||
|
|
||||||
document.getElementById('launchinfo').style.height = divHeight + "px";
|
document.getElementById('launchinfo').style.height = divHeight + "px";
|
||||||
|
|
||||||
maxItems = Math.floor((divHeight / 25)-1);
|
maxItems = Math.floor((divHeight / divideAmount)-1);
|
||||||
|
|
||||||
margin = divHeight % 25;
|
margin = divHeight % divideAmount;
|
||||||
if(maxItems >= totItems)
|
if(maxItems >= totItems)
|
||||||
{
|
{
|
||||||
margin += (maxItems - totItems) * 25;
|
margin += (maxItems - totItems) * divideAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('launchmenu').style.top = (margin)+ "px";
|
document.getElementById('launchmenu').style.top = (margin)+ "px";
|
||||||
@ -530,6 +531,7 @@ function launchSizeAll(forceResize)
|
|||||||
|
|
||||||
function launchSizeIE(forceResize) {
|
function launchSizeIE(forceResize) {
|
||||||
var iconpath = xDT.resPath() + 'skins/IDOTS2';
|
var iconpath = xDT.resPath() + 'skins/IDOTS2';
|
||||||
|
var divideAmount= 23;
|
||||||
if(forceResize || !launchInit)
|
if(forceResize || !launchInit)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -556,19 +558,18 @@ function launchSizeIE(forceResize) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
totItems = listItems.length;
|
totItems = listItems.length;
|
||||||
taskHeight = document.getElementById('taskbar').clientHeight;
|
taskHeight = document.getElementById('taskbar').clientHeight;
|
||||||
divHeight = getWindowHeight()-(taskHeight);
|
divHeight = getWindowHeight()-(taskHeight);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
maxItems = Math.floor((divHeight / 23)-1);
|
maxItems = Math.floor((divHeight / divideAmount)-1);
|
||||||
|
|
||||||
margin = divHeight % 23;
|
margin = divHeight % divideAmount;
|
||||||
if(maxItems >= totItems)
|
if(maxItems >= totItems)
|
||||||
{
|
{
|
||||||
margin += (maxItems - totItems) * 23;
|
margin += (maxItems - totItems) * divideAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('launchmenu').style.bottom = taskHeight + "px";
|
document.getElementById('launchmenu').style.bottom = taskHeight + "px";
|
||||||
|
@ -317,11 +317,27 @@
|
|||||||
// Show the menu
|
// Show the menu
|
||||||
$menu_title = lang('Help');
|
$menu_title = lang('Help');
|
||||||
$file = array(
|
$file = array(
|
||||||
|
array(
|
||||||
|
'text' => lang('%1 Manual',$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']),
|
||||||
|
'no_lang' => True,
|
||||||
|
'link' => $GLOBALS['phpgw_info']['navbar']['manual']['url']
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => '<hr style="border:0;border-bottom:dashed 1px #444444;height:1px;color:#444444;">',
|
||||||
|
'no_lang' => True
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
'text' => lang('About %1',$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']),
|
'text' => lang('About %1',$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']),
|
||||||
'no_lang' => True,
|
'no_lang' => True,
|
||||||
'link' => $GLOBALS['phpgw_info']['navbar']['about']['url']
|
'link' => $GLOBALS['phpgw_info']['navbar']['about']['url']
|
||||||
)
|
),
|
||||||
|
array(
|
||||||
|
'text' => lang('About eGroupware'),
|
||||||
|
'no_lang' => True,
|
||||||
|
'link' => $GLOBALS['phpgw_info']['server']['webserver_url'] . '/about.php',
|
||||||
|
//below is how it aught to be
|
||||||
|
// 'link' => 'javascript:openX(\'about\',\''.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/about.php'.'\')'
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
$var['menu_link'] = '';
|
$var['menu_link'] = '';
|
||||||
@ -331,8 +347,6 @@
|
|||||||
$GLOBALS['idots2_tpl']->set_var($var);
|
$GLOBALS['idots2_tpl']->set_var($var);
|
||||||
$GLOBALS['idots2_tpl']->pparse('out','appbox');
|
$GLOBALS['idots2_tpl']->pparse('out','appbox');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$var['sideboxcolend'] = '';
|
$var['sideboxcolend'] = '';
|
||||||
|
|
||||||
$GLOBALS['idots2_tpl']->set_var($var);
|
$GLOBALS['idots2_tpl']->set_var($var);
|
||||||
|
Loading…
Reference in New Issue
Block a user