Add an add infolog button to todo list header

This commit is contained in:
nathangray 2016-07-12 10:24:03 -06:00
parent 6cb0f0f152
commit a74bba01e6
3 changed files with 31 additions and 3 deletions

View File

@ -956,11 +956,13 @@ Hide subsequent headers in week view with non-consolidated owners
margin: 0px; margin: 0px;
padding: 2px; padding: 2px;
font-weight: bold; font-weight: bold;
height: 23px;
line-height: 23px;
} }
.calendar_calDayTodos .calendar_calDayTodosTable { .calendar_calDayTodos .calendar_calDayTodosTable {
overflow: auto; overflow: auto;
position: absolute; position: absolute;
top: 2em; top: 3em;
bottom: 8px; bottom: 8px;
width: 100%; width: 100%;
} }
@ -979,6 +981,18 @@ Hide subsequent headers in week view with non-consolidated owners
white-space: nowrap; white-space: nowrap;
} }
.calendar_calDayTodosHeader button {
width: 24px;
height: 24px;
padding-left: 0px;
margin: 0px 4px 1px 0;
border-radius: 3px;
border: 1px solid silver;
background-color: #fafafa;
position: absolute;
left: 12px;
}
/****************************************************** /******************************************************
* CSS settings for the planner views (calendar_plannerWidget) * * CSS settings for the planner views (calendar_plannerWidget) *
******************************************************/ ******************************************************/

View File

@ -15,6 +15,7 @@ Egroupware
<template id="calendar.todo" width="30%"> <template id="calendar.todo" width="30%">
<box class="calendar_calDayTodos"> <box class="calendar_calDayTodos">
<box class="calendar_calDayTodosHeader" width="100%"> <box class="calendar_calDayTodosHeader" width="100%">
<button align="left" statustext="Add" id="add" image="add" background_image="true" onclick="egw.open('','infolog','add',{action: 'new',type:'task'});"/>
<label id="label" class="calendar_calDayTodosHeader" width="100%" /> <label id="label" class="calendar_calDayTodosHeader" width="100%" />
</box> </box>
<box class="calendar_calDayTodosTable"> <box class="calendar_calDayTodosTable">

View File

@ -928,18 +928,20 @@ Hide subsequent headers in week view with non-consolidated owners
margin: 0px; margin: 0px;
padding: 2px; padding: 2px;
font-weight: bold; font-weight: bold;
height: 23px;
line-height: 23px;
} }
.calendar_calDayTodos .calendar_calDayTodosTable { .calendar_calDayTodos .calendar_calDayTodosTable {
overflow: auto; overflow: auto;
position: absolute; position: absolute;
top: 2em; top: 3em;
bottom: 8px; bottom: 8px;
width: 100%; width: 100%;
} }
.calendar_calDayTodos { .calendar_calDayTodos {
width: 98%; width: 98%;
margin-left: 10px; margin-left: 10px;
border: 1px solid silver; border-bottom: 1px solid silver;
} }
.calendar_calDayTodosHeader { .calendar_calDayTodosHeader {
text-align: center; text-align: center;
@ -950,6 +952,17 @@ Hide subsequent headers in week view with non-consolidated owners
.calendar_calDayTodosTable tr td span:first-child { .calendar_calDayTodosTable tr td span:first-child {
white-space: nowrap; white-space: nowrap;
} }
.calendar_calDayTodosHeader button {
width: 24px;
height: 24px;
padding-left: 0px;
margin: 0px 4px 1px 0;
border-radius: 3px;
border: 1px solid silver;
background-color: #fafafa;
position: absolute;
left: 12px;
}
/****************************************************** /******************************************************
* CSS settings for the planner views (calendar_plannerWidget) * * CSS settings for the planner views (calendar_plannerWidget) *
******************************************************/ ******************************************************/