Mobile theme W.I.P:

- Fix first column shrinks when open some tabs
This commit is contained in:
Hadi Nategh 2016-03-07 10:55:04 +00:00
parent 0fa46377d8
commit 1fffd4bc32
6 changed files with 56 additions and 58 deletions

View File

@ -58,7 +58,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -133,7 +133,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -163,7 +163,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -205,8 +205,8 @@
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="adr_two_locality" value="city"/> <description for="adr_two_locality" value="city"/>
<hbox> <hbox>
<textbox statustext="ZIP Code" id="adr_two_postalcode" width="40" maxlength="64" autocomplete="section-two postal-code" /> <textbox statustext="ZIP Code" id="adr_two_postalcode" width="20%" maxlength="64" autocomplete="section-two postal-code" />
<textbox statustext="City" id="adr_two_locality" maxlength="64" width="242" autocomplete="section-two address-level2" /> <textbox statustext="City" id="adr_two_locality" maxlength="64" width="80%" autocomplete="section-two address-level2" />
</hbox> </hbox>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
@ -236,7 +236,7 @@
<template id="addressbook.edit.links" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.edit.links" template="" lang="" group="0" version="1.9.001">
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@view"> <row disabled="@view">
@ -255,7 +255,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -270,7 +270,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -285,7 +285,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -300,7 +300,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -357,7 +357,7 @@
<grid border="1" width="100%"> <grid border="1" width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@hidebuttons" class="dialogHeadbar" > <row disabled="@hidebuttons" class="dialogHeadbar" >

View File

@ -6,7 +6,7 @@
<grid class="addressbook_view" border="1" width="100%"> <grid class="addressbook_view" border="1" width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row class="dialogHeadbar" > <row class="dialogHeadbar" >
@ -17,9 +17,7 @@
</hbox> </hbox>
</row> </row>
<row> <row>
<hbox> <textbox id="n_fn" blur="Name" no_lang="1" tabindex="-1" class="cursorHand et2_fullWidth" onclick="jQuery('table.editname').css('display','inline'); var focElem = document.getElementById(form::name('n_prefix')); if (!(typeof(focElem) == 'undefined') &amp;&amp; typeof(focElem.focus)=='function') document.getElementById(form::name('n_prefix')).focus();" autocomplete="name" />
<textbox id="n_fn" blur="Name" no_lang="1" tabindex="-1" class="cursorHand et2_fullWidth" onclick="jQuery('table.editname').css('display','inline'); var focElem = document.getElementById(form::name('n_prefix')); if (!(typeof(focElem) == 'undefined') &amp;&amp; typeof(focElem.focus)=='function') document.getElementById(form::name('n_prefix')).focus();" autocomplete="name" />
</hbox>
</row> </row>
<row> <row>
<description for="org_name" value="Organisation"/> <description for="org_name" value="Organisation"/>
@ -33,7 +31,7 @@
<description for="org_unit" value="department"/> <description for="org_unit" value="department"/>
<textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64"/> <textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" class="et2_fullWidth" maxlength="64"/>
</row> </row>
<row> <row>
<description for="tel_work" value="Business phone"/> <description for="tel_work" value="Business phone"/>
<url-phone id="tel_work" class="et2_fullWidth" autocomplete="work tel" /> <url-phone id="tel_work" class="et2_fullWidth" autocomplete="work tel" />
@ -55,7 +53,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
@ -104,7 +102,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -142,8 +140,8 @@
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">
<description for="adr_two_locality" value="city"/> <description for="adr_two_locality" value="city"/>
<hbox> <hbox>
<textbox statustext="ZIP Code" id="adr_two_postalcode" width="40" maxlength="64" autocomplete="section-two postal-code" /> <textbox statustext="ZIP Code" id="adr_two_postalcode" width="20%" maxlength="64" autocomplete="section-two postal-code" />
<textbox statustext="City" id="adr_two_locality" maxlength="64" width="242" autocomplete="section-two address-level2" /> <textbox statustext="City" id="adr_two_locality" maxlength="64" width="80%" autocomplete="section-two address-level2" />
</hbox> </hbox>
</row> </row>
<row disabled="@addr_format=city_state_postcode"> <row disabled="@addr_format=city_state_postcode">

View File

@ -6,7 +6,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>

View File

@ -6,7 +6,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width = "600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -95,7 +95,7 @@
</menulist> </menulist>
<textbox type="integer" align="center" id="${row}[quantity]" readonly="true" min="1" size="3"/> <textbox type="integer" align="center" id="${row}[quantity]" readonly="true" min="1" size="3"/>
<description id="${row}[role_label]"/> <description id="${row}[role_label]"/>
</hbox> </hbox>
<button align="center" id="delete[$row_cont[delete_id]]" image="delete"/> <button align="center" id="delete[$row_cont[delete_id]]" image="delete"/>
</row> </row>
</rows> </rows>
@ -108,7 +108,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row height="12"> <row height="12">
@ -116,14 +116,14 @@
<menulist> <menulist>
<menupopup id="recur_type" onchange="app.calendar.check_recur_type" class="et2_fullWidth"/> <menupopup id="recur_type" onchange="app.calendar.check_recur_type" class="et2_fullWidth"/>
</menulist> </menulist>
</row> </row>
<row> <row>
<description for="recur_interval" value="Interval"/> <description for="recur_interval" value="Interval"/>
<menulist> <menulist>
<menupopup type="select-number" statustext="repeating interval, eg. 2 to repeat every second week" id="recur_interval" options="None,2,31" class="et2_fullWidth"/> <menupopup type="select-number" statustext="repeating interval, eg. 2 to repeat every second week" id="recur_interval" options="None,2,31" class="et2_fullWidth"/>
</menulist> </menulist>
</row> </row>
<row> <row>
<description for="tzid" value="Timezone"/> <description for="tzid" value="Timezone"/>
<menulist> <menulist>
<menupopup type="select-timezone" statustext="Timezone in which recurrences have identical time" id="tzid" class="et2_fullWidth"/> <menupopup type="select-timezone" statustext="Timezone in which recurrences have identical time" id="tzid" class="et2_fullWidth"/>
@ -132,7 +132,7 @@
<row> <row>
<description for="recur_enddate" value="End date"/> <description for="recur_enddate" value="End date"/>
<date statustext="repeat the event until which date (empty means unlimited)" id="recur_enddate"/> <date statustext="repeat the event until which date (empty means unlimited)" id="recur_enddate"/>
</row> </row>
<row> <row>
<description for="recur_data" value="Repeat days"/> <description for="recur_data" value="Repeat days"/>
<listbox type="select-dow" statustext="Days of the week for a weekly repeated event" id="recur_data" rows="6" options="1"/> <listbox type="select-dow" statustext="Days of the week for a weekly repeated event" id="recur_data" rows="6" options="1"/>
@ -144,7 +144,7 @@
<grid id="recur_exception"> <grid id="recur_exception">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -161,7 +161,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -175,7 +175,7 @@
<template id="calendar.edit.links" template="" lang="" group="0" version="1.0.1.001"> <template id="calendar.edit.links" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@view"> <row disabled="@view">
@ -184,7 +184,7 @@
<row class="th"> <row class="th">
<description value="Existing links"/> <description value="Existing links"/>
</row> </row>
<row> <row>
<link-list id="link_to"/> <link-list id="link_to"/>
</row> </row>
</rows> </rows>
@ -194,7 +194,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="!@owner"> <row disabled="!@owner">
@ -207,8 +207,8 @@
<description value="Updated"/> <description value="Updated"/>
<date-time id="modified" no_lang="1" readonly="true"/> <date-time id="modified" no_lang="1" readonly="true"/>
</row> </row>
<row disabled="!@modifier"> <row disabled="!@modifier">
<description value="by"/> <description value="by"/>
<menulist> <menulist>
<menupopup type="select-account" class="et2_nowrap" id="modifier" readonly="true"/> <menupopup type="select-account" class="et2_nowrap" id="modifier" readonly="true"/>
</menulist> </menulist>
@ -220,7 +220,7 @@
<grid border="1" width="100%"> <grid border="1" width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@hidebuttons" class="dialogHeadbar" > <row disabled="@hidebuttons" class="dialogHeadbar" >
@ -238,7 +238,7 @@
<button label="Search" id="button[search]" image="search" background_image="1"/> <button label="Search" id="button[search]" image="search" background_image="1"/>
<button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/> <button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/>
</hbox> </hbox>
</row> </row>
<row> <row>
<description value="Title"/> <description value="Title"/>
<textbox id="title" needed="1" maxlength="255" tabindex="1" class="et2_fullWidth"/> <textbox id="title" needed="1" maxlength="255" tabindex="1" class="et2_fullWidth"/>
@ -247,7 +247,7 @@
<description for="start" value="Start" width="88"/> <description for="start" value="Start" width="88"/>
<date-time id="start" needed="1" class="required"/> <date-time id="start" needed="1" class="required"/>
</row> </row>
<row> <row>
<description for="duration" value="Duration" width="0" id="calendar_edit_duration" /> <description for="duration" value="Duration" width="0" id="calendar_edit_duration" />
<hbox> <hbox>
@ -296,7 +296,7 @@
</tabbox> </tabbox>
</row> </row>
<row> <row>
</row> </row>
</rows> </rows>
</grid> </grid>

View File

@ -6,7 +6,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row height="60"> <row height="60">
@ -59,7 +59,7 @@
<grid> <grid>
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -98,7 +98,7 @@
<grid> <grid>
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -196,7 +196,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -211,7 +211,7 @@
<grid border="1" width="100%"> <grid border="1" width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@hidebuttons" class="dialogHeadbar" > <row disabled="@hidebuttons" class="dialogHeadbar" >
@ -225,7 +225,7 @@
<button label="Search" id="button[search]" image="search" background_image="1"/> <button label="Search" id="button[search]" image="search" background_image="1"/>
<button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/> <button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/>
</hbox> </hbox>
</row> </row>
<row class="dialogTabs"> <row class="dialogTabs">
<tabbox id="tabs" span="all" width="100%" align_tabs="v"> <tabbox id="tabs" span="all" width="100%" align_tabs="v">
<tabs> <tabs>
@ -247,7 +247,7 @@
</rows> </rows>
</grid> </grid>
<styles> <styles>
</styles> </styles>
</template> </template>
</overlay> </overlay>

View File

@ -8,7 +8,7 @@
<template id="infolog.edit.links" template="" lang="" group="0" version="1.3.001"> <template id="infolog.edit.links" template="" lang="" group="0" version="1.3.001">
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@view"> <row disabled="@view">
@ -17,7 +17,7 @@
<row class="th"> <row class="th">
<description value="Existing links"/> <description value="Existing links"/>
</row> </row>
<row> <row>
<link-list id="link_to"/> <link-list id="link_to"/>
</row> </row>
</rows> </rows>
@ -27,7 +27,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -36,14 +36,14 @@
</row> </row>
<row> <row>
<description value="Price"/> <description value="Price"/>
<hbox> <hbox>
<textbox type="float" id="info_price" size="10"/> <textbox type="float" id="info_price" size="10"/>
<projectmanager-pricelist id="pl_id" onchange="window.app.infolog.et2.getWidgetById('info_price').set_value(this.options[this.selectedIndex].text.lastIndexOf('(') &lt; 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));" options="None" /> <projectmanager-pricelist id="pl_id" onchange="window.app.infolog.et2.getWidgetById('info_price').set_value(this.options[this.selectedIndex].text.lastIndexOf('(') &lt; 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));" options="None" />
</hbox> </hbox>
</row> </row>
<row> <row>
<description value="planned time" for="info_planned_time"/> <description value="planned time" for="info_planned_time"/>
<date-duration id="info_planned_time" display_format="$cont[duration_format]" class="infolog_date_duration" hours_per_day="$cont[hours_per_workday]"/> <date-duration id="info_planned_time" display_format="$cont[duration_format]" class="infolog_date_duration" hours_per_day="$cont[hours_per_workday]"/>
</row> </row>
<row> <row>
<description value="Re-planned time" for="info_replanned_time"/> <description value="Re-planned time" for="info_replanned_time"/>
@ -60,7 +60,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -75,7 +75,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -129,7 +129,7 @@
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="!@info_owner"> <row disabled="!@info_owner">
@ -145,7 +145,7 @@
<row> <row>
<description value="Private" for="info_access"/> <description value="Private" for="info_access"/>
<checkbox statustext="should this entry only be visible to you and people you grant privat access via the ACL" id="info_access" options="private,public"/> <checkbox statustext="should this entry only be visible to you and people you grant privat access via the ACL" id="info_access" options="private,public"/>
</row> </row>
<row> <row>
<description value="Last modified"/> <description value="Last modified"/>
@ -164,7 +164,7 @@
<grid border="1" width="100%"> <grid border="1" width="100%">
<columns> <columns>
<column width = "120"/> <column width = "120"/>
<column width="600"/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="@hidebuttons" class="dialogHeadbar" > <row disabled="@hidebuttons" class="dialogHeadbar" >
@ -181,7 +181,7 @@
<button label="Search" id="button[search]" image="search" background_image="1"/> <button label="Search" id="button[search]" image="search" background_image="1"/>
<button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/> <button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/>
</hbox> </hbox>
</row> </row>
<row> <row>
<description value="Title" for="info_subject"/> <description value="Title" for="info_subject"/>
<textbox statustext="a short subject for the entry" id="info_subject" class="et2_fullWidth et2_required" maxlength="255" span="5" tabindex="1"/> <textbox statustext="a short subject for the entry" id="info_subject" class="et2_fullWidth et2_required" maxlength="255" span="5" tabindex="1"/>
@ -218,7 +218,7 @@
<menulist class="et2_fullWidth" span="4"> <menulist class="et2_fullWidth" span="4">
<menupopup type="select-percent" statustext="Percent completed" id="info_percent" onchange="app.infolog.status_changed(this.id, form::name('info_status'), form::name('info_percent'), form::name('info_datecompleted'))"/> <menupopup type="select-percent" statustext="Percent completed" id="info_percent" onchange="app.infolog.status_changed(this.id, form::name('info_status'), form::name('info_percent'), form::name('info_datecompleted'))"/>
</menulist> </menulist>
</row> </row>
<row> <row>
<tabbox id="tabs" span="all" width="100%" align_tabs="v"> <tabbox id="tabs" span="all" width="100%" align_tabs="v">
<tabs> <tabs>