* all apps: fixed column sizes and stretch (change when window size changes)

This commit is contained in:
Ralf Becker 2014-08-22 11:08:21 +00:00
parent 911a44596a
commit 94afafae11
10 changed files with 85 additions and 97 deletions

View File

@ -6,10 +6,9 @@
<columns>
<column width="20"/>
<column width="20"/>
<column/>
<column/>
<column/>
<column width="90"/>
<column width="40%"/>
<column width="30%"/>
<column width="30%"/>
</columns>
<rows>
<row class="th">
@ -18,10 +17,6 @@
<nextmatch-sortheader id="org_name" label="Organisation"/>
<nextmatch-header label="Department" id="org_unit"/>
<nextmatch-header label="Business address" id="business"/>
<hbox align="center" class="noPrint">
<nextmatch-header label="Actions" align="center" id="legacy_actions"/>
<button image="check" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('checked[]')); return false;" needed="1" align="right"/>
</hbox>
</row>
<row class="row" valign="top">
<image label="$row_cont[type_label]" src="${row}[type]" align="center" no_lang="1"/>
@ -37,13 +32,6 @@
<description no_lang="1" id="${row}[adr_one_street]"/>
<description id="${row}[adr_one_street2]" no_lang="1"/>
</vbox>
<hbox options="0" class="noPrint" orient="0">
<button image="view" label="View" id="view[$row_cont[id]]" statustext="Show the contacts of this organisation"/>
<button image="new" label="Add" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&amp;org=$row_cont[id]'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" id="add[$row_cont[id]]" statustext="Add a contact to this organisation"/>
<button id="delete[$row_cont[id]]" image="delete" label="Delete" statustext="Delete this organisation including ALL its contacts" onclick="et2_dialog.confirm(widget,'Delete this organisation including ALL its contacts','Delete');"/>
<button image="infolog" label="InfoLog" id="infolog[$row_cont[id]]" statustext="Show InfoLog entries for this organisation"/>
<checkbox id="checked[]" options="$row_cont[id]" statustext="Select multiple contacts for a further action" align="right"/>
</hbox>
</row>
</rows>
</grid>

View File

@ -36,22 +36,22 @@
<grid width="100%">
<columns>
<column width="20"/>
<column/>
<column/>
<column/>
<column width="40%"/>
<column width="70"/>
<column width="100"/>
<column width="60"/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column disabled="@no_customfields"/>
<column/>
<column disabled="@no_distribution_list"/>
<column/>
<column/>
<column/>
<column/>
<column width="80"/>
<column width="20%"/>
<column width="20%"/>
<column width="20%"/>
<column width="20%"/>
<column width="80" disabled="@no_customfields"/>
<column width="80"/>
<column width="80" disabled="@no_distribution_list"/>
<column width="80"/>
<column width="50"/>
<column width="80"/>
<column width="120"/>
</columns>
<rows>
<row class="th">

View File

@ -7,18 +7,18 @@
<template id="admin.acl.rows" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="24"/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column width="25"/>
<column width="140"/>
<column width="50%"/>
<column width="50%"/>
<column width="70"/>
<column width="80"/>
<column width="75"/>
<column width="70"/>
<column width="70"/>
<column width="70"/>
<column width="70"/>
<column width="70"/>
</columns>
<rows>
<row>

View File

@ -8,15 +8,15 @@
<template id="admin.index.rows" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="15%"/>
<column/>
<column width="30"/>
<column width="15%"/>
<column width="15%"/>
<column width="35%"/>
<column width="15%"/>
<column width="90"/>
<column width="120"/>
<column width="120"/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>

View File

@ -12,18 +12,18 @@
<template id="calendar.list.rows" template="" lang="" group="0" version="1.9.004">
<grid width="100%">
<columns>
<column/>
<column width="125"/>
<column width="80%"/>
<column width="40%"/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column width="40%"/>
<column width="135"/>
<column width="120"/>
<column width="120"/>
<column width="120"/>
<column width="120"/>
<column width="120"/>
<column width="130"/>
<column width="20%"/>
</columns>
<rows>
<row class="th">

View File

@ -4,16 +4,16 @@
<template id="filemanager.index.rows" template="" lang="" group="0" version="1.7.002">
<grid width="100%">
<columns>
<column/>
<column width="50"/>
<column width="50%"/>
<column width="80"/>
<column width="120"/>
<column width="120"/>
<column width="80"/>
<column width="80"/>
<column width="80"/>
<column width="30%"/>
<column/>
<column width="120"/>
<column width="120"/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column width="20%"/>
</columns>
<rows>
<row class="th">

View File

@ -18,13 +18,13 @@
<template id="infolog.index.rows" template="" lang="" group="0" version="1.9.005">
<grid width="100%">
<columns>
<column width="65"/>
<column width="120"/>
<column width="45%"/>
<column width="15%" disabled="@no_customfields"/>
<column/>
<column width="120"/>
<column width="65"/>
<column width="65"/>
<column/>
<column/>
<column width="120" disabled="@no_info_owner_info_responsible"/>
<column width="120"/>
</columns>
@ -162,7 +162,7 @@
<template id="dates"/>
<template id="header_right"/>
</row>
<row class="$cont[action]Hooked">
<row>
<nextmatch id="nm" template="infolog.index.rows" span="all"/>
</row>
<row>

View File

@ -7,12 +7,12 @@
<column width="25"/>
<column width="20"/>
<column width="20"/>
<column/>
<column width="40%"/>
<column width="95"/>
<column width="120"/>
<column width="120"/>
<column width="120"/>
<column width="50"/>
<column width="30%"/>
<column width="30%"/>
<column width="30%"/>
<column width="80"/>
</columns>
<rows>
<row class="th">

View File

@ -7,13 +7,13 @@
<template id="resources.show.rows" template="" lang="" group="0" version="1.9.003">
<grid width="100%">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column disabled="@no_customfields"/>
<column width="5%"/>
<column width="70"/>
<column width="50%"/>
<column width="50"/>
<column width="15%"/>
<column width="15%"/>
<column width="15%"/>
<column width="15%" disabled="@no_customfields"/>
</columns>
<rows>
<row class="th">

View File

@ -15,17 +15,17 @@
<template id="timesheet.index.rows" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column/>
<column width="50"/>
<column width="135"/>
<column width="70%"/>
<column width="15%"/>
<column width="60"/>
<column width="60" disabled="@no_ts_quantity"/>
<column width="60" disabled="@no_ts_unitprice"/>
<column width="60" disabled="@no_ts_total"/>
<column width="130" disabled="@no_owner_col"/>
<column width="10%" disabled="@no_ts_status"/>
<column width="15%"/>
<column width="50%"/>
<column/>
<column/>
<column disabled="@no_ts_quantity"/>
<column disabled="@no_ts_unitprice"/>
<column disabled="@no_ts_total"/>
<column disabled="@no_owner_col"/>
<column disabled="@no_ts_status"/>
<column/>
</columns>
<rows>
<row class="th">
@ -79,7 +79,7 @@
<menulist class="noWrap">
<menupopup type="select-cat" id="${row}[cat_id]" readonly="true"/>
</menulist>
<date-duration id="${row}[ts_duration]" readonly="true" options=",h,,,1"/>
<date-duration id="${row}[ts_duration]" readonly="true" options=",h,,,1" align="right"/>
<textbox type="float" id="${row}[ts_quantity]" no_lang="1" readonly="true" precision="3"/>
<description id="${row}[ts_unitprice]" no_lang="1"/>
<textbox type="float" id="${row}[ts_total]" no_lang="1" readonly="true" precision="2"/>