mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
small layout fix: limit width of owner and responsible selectbox to 100px, using selected category when creating new entries
This commit is contained in:
parent
6adc9e307f
commit
50f090a082
@ -211,7 +211,7 @@ class uiinfolog
|
|||||||
if (!$show_links) $show_links = $this->prefs['show_links'];
|
if (!$show_links) $show_links = $this->prefs['show_links'];
|
||||||
|
|
||||||
if (($show_links != 'none' && $show_links != 'no_describtion' ||
|
if (($show_links != 'none' && $show_links != 'no_describtion' ||
|
||||||
$this->prefs['show_times'] && isset($GLOBALS['egw_info']['user']['apps']['timesheet'])) &&
|
$this->prefs['show_times'] || isset($GLOBALS['egw_info']['user']['apps']['timesheet'])) &&
|
||||||
($links = $this->link->get_links('infolog',$info['info_id'])))
|
($links = $this->link->get_links('infolog',$info['info_id'])))
|
||||||
{
|
{
|
||||||
$timesheets = array();
|
$timesheets = array();
|
||||||
|
File diff suppressed because one or more lines are too long
@ -16,3 +16,4 @@ table.fullWidth { width: 100%; }
|
|||||||
.infoId:before { content:"#" }
|
.infoId:before { content:"#" }
|
||||||
.fixedHeight { line-height: 12px; }
|
.fixedHeight { line-height: 12px; }
|
||||||
.noWrap { white-space: nowrap; }
|
.noWrap { white-space: nowrap; }
|
||||||
|
.user_filter select { width: 100px; }
|
@ -5,12 +5,12 @@
|
|||||||
<description class="headertext bold" value="InfoLog"/>
|
<description class="headertext bold" value="InfoLog"/>
|
||||||
<styles>.bold { font-weight: bold; }</styles>
|
<styles>.bold { font-weight: bold; }</styles>
|
||||||
</template>
|
</template>
|
||||||
<template id="infolog.index.header_right" template="" lang="" group="0" version="1.2.002">
|
<template id="infolog.index.header_right" template="" lang="" group="0" version="1.4.001">
|
||||||
<hbox>
|
<hbox>
|
||||||
<description class="headertext" value="Add:"/>
|
<description class="headertext" value="Add:"/>
|
||||||
<button image="task" label="ToDo" id="add[task]" statustext="Add a new ToDo" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=task&action=$cont[action]&action_id=$cont[action_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
<button image="task" label="ToDo" id="add[task]" statustext="Add a new ToDo" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=task&action=$cont[action]&action_id=$cont[action_id]&cat_id=$cont[cat_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
||||||
<button image="phone" label="Phonecall" id="add[phone]" statustext="Add a new Phonecall" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=phone&action=$cont[action]&action_id=$cont[action_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
<button image="phone" label="Phonecall" id="add[phone]" statustext="Add a new Phonecall" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=phone&action=$cont[action]&action_id=$cont[action_id]&cat_id=$cont[cat_id]}'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
||||||
<button image="note" label="Note" id="add[note]" statustext="Add a new Note" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=note&action=$cont[action]&action_id=$cont[action_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
<button image="note" label="Note" id="add[note]" statustext="Add a new Note" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=note&action=$cont[action]&action_id=$cont[action_id]&cat_id=$cont[cat_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</template>
|
</template>
|
||||||
<template id="infolog.index.rows-noheader" template="" lang="" group="0" version="1.3.003">
|
<template id="infolog.index.rows-noheader" template="" lang="" group="0" version="1.3.003">
|
||||||
@ -20,8 +20,8 @@
|
|||||||
<column/>
|
<column/>
|
||||||
<column width="120"/>
|
<column width="120"/>
|
||||||
<column disabled="@no_info_used_time_info_planned_time"/>
|
<column disabled="@no_info_used_time_info_planned_time"/>
|
||||||
<column width="8%" disabled="@no_users"/>
|
<column width="8%" disabled="@no_info_onwer_info_responsible"/>
|
||||||
<column width="12%" disabled="@no_modified"/>
|
<column width="12%" disabled="@no_info_datemodified"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
</columns>
|
</columns>
|
||||||
@ -111,10 +111,11 @@
|
|||||||
<columns>
|
<columns>
|
||||||
<column width="2%"/>
|
<column width="2%"/>
|
||||||
<column/>
|
<column/>
|
||||||
|
<column/>
|
||||||
<column width="120"/>
|
<column width="120"/>
|
||||||
<column/>
|
<column/>
|
||||||
<column width="8%" disabled="@no_users"/>
|
<column width="8%" disabled="@no_info_owner_info_responsible"/>
|
||||||
<column width="12%" disabled="@no_modified"/>
|
<column width="12%"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
</columns>
|
</columns>
|
||||||
@ -145,6 +146,7 @@
|
|||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
<nextmatch-header label="Category" id="cat_id"/>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
|
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
|
||||||
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
|
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
|
||||||
@ -155,8 +157,8 @@
|
|||||||
<nextmatch-sortheader id="info_planned_time" class="planned" label="planned"/>
|
<nextmatch-sortheader id="info_planned_time" class="planned" label="planned"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner"/>
|
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner" class="user_filter"/>
|
||||||
<nextmatch-accountfilter id="info_responsible" options="Responsible,both" statustext="Select to filter by responsible"/>
|
<nextmatch-accountfilter id="info_responsible" options="Responsible,both" statustext="Select to filter by responsible" class="user_filter"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
|
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
|
||||||
<description value="Sub" class="noPrint"/>
|
<description value="Sub" class="noPrint"/>
|
||||||
@ -178,6 +180,9 @@
|
|||||||
<description no_lang="1" id="${row}[info_des]" options=",,1"/>
|
<description no_lang="1" id="${row}[info_des]" options=",,1"/>
|
||||||
<link-string id="${row}[filelinks]"/>
|
<link-string id="${row}[filelinks]"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
<menulist>
|
||||||
|
<menupopup type="select-cat" id="${row}[info_cat]" readonly="true"/>
|
||||||
|
</menulist>
|
||||||
<vbox options="0,0,1" rows="3" cols="1">
|
<vbox options="0,0,1" rows="3" cols="1">
|
||||||
<date-time options=",8" id="${row}[info_startdate]" readonly="true" class="fixedHeight"/>
|
<date-time options=",8" id="${row}[info_startdate]" readonly="true" class="fixedHeight"/>
|
||||||
<date class="$row_cont[end_class] fixedHeight" id="${row}[info_enddate]" readonly="true"/>
|
<date class="$row_cont[end_class] fixedHeight" id="${row}[info_enddate]" readonly="true"/>
|
||||||
@ -215,7 +220,7 @@
|
|||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
<template id="infolog.index" template="" lang="" group="0" version="1.2.001">
|
<template id="infolog.index" template="" lang="" group="0" version="1.4.001">
|
||||||
<grid width="100%" border="0" spacing="0" padding="0">
|
<grid width="100%" border="0" spacing="0" padding="0">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="90%"/>
|
<column width="90%"/>
|
||||||
@ -241,7 +246,7 @@
|
|||||||
</row>
|
</row>
|
||||||
<row class="noPrint">
|
<row class="noPrint">
|
||||||
<hbox span="all">
|
<hbox span="all">
|
||||||
<button label="Add" id="add[note]" statustext="Add a new Entry" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=note&action=$cont[action]&action_id=$cont[action_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
<button label="Add" id="add[note]" statustext="Add a new Entry" onclick="window.open(egw::link('/index.php','menuaction=infolog.uiinfolog.edit&type=note&action=$cont[action]&action_id=$cont[action_id]&cat_id={$cont[nm][cat_id]}'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
|
||||||
<button label="Cancel" id="cancel" statustext="Back to main list"/>
|
<button label="Cancel" id="cancel" statustext="Back to main list"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
|
Loading…
Reference in New Issue
Block a user