mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Infolog mobile template:
- Fix view mode styling - Get info_number shown in view mode, similar to other apps - Some code cleanup
This commit is contained in:
parent
3002b6792a
commit
8a3dd67902
@ -92,6 +92,12 @@
|
|||||||
#infolog-view tr.dialogHeadbar div.et2_hbox {
|
#infolog-view tr.dialogHeadbar div.et2_hbox {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
#infolog-view .et2_label.et2_label_empty {
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
#infolog-view .et2_label.et2_label_empty * {
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
.infolog_CompletedClmn .infoPercent {
|
.infolog_CompletedClmn .infoPercent {
|
||||||
height: 23px;
|
height: 23px;
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -104,6 +104,10 @@
|
|||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.et2_label.et2_label_empty {
|
||||||
|
padding-left:0px;
|
||||||
|
* {padding-left:0px;}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.infolog_CompletedClmn {
|
.infolog_CompletedClmn {
|
||||||
.infoPercent{
|
.infoPercent{
|
||||||
|
@ -172,7 +172,7 @@
|
|||||||
<button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/>
|
<button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/>
|
||||||
<button statustext="delete this entry" id="button[delete]" onclick="if($cont[info_anz_subs]) return $cont[info_anz_subs]; et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" background_image="1" span="all"/>
|
<button statustext="delete this entry" id="button[delete]" onclick="if($cont[info_anz_subs]) return $cont[info_anz_subs]; et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" background_image="1" span="all"/>
|
||||||
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
|
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
|
||||||
<checkbox label="notification" id="no_notifications"/>
|
<checkbox label="do not notify" id="no_notifications"/>
|
||||||
<textbox type="integer" id="info_number" readonly="true" class="entry_id"/>
|
<textbox type="integer" id="info_number" readonly="true" class="entry_id"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
@ -192,7 +192,6 @@
|
|||||||
<menulist class="et2_fullWidth">
|
<menulist class="et2_fullWidth">
|
||||||
<menupopup statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" no_lang="1" onchange="widget.getInstanceManager().submit(null,false,true); return false;" />
|
<menupopup statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" no_lang="1" onchange="widget.getInstanceManager().submit(null,false,true); return false;" />
|
||||||
</menulist>
|
</menulist>
|
||||||
<textbox align="right" type="integer" id="info_number" readonly="true"/>
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
|
@ -29,13 +29,13 @@
|
|||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<description value="Project"/>
|
<description value="Project"/>
|
||||||
<link-entry id="pm_id" only_app='projectmanager' onchange="app.infolog.submit_if_not_empty" blur="None" class="infolog_projectName"/>
|
<link-entry id="pm_id" only_app='projectmanager' blur="None" class="infolog_projectName"/>
|
||||||
</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('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));" options="None" />
|
<projectmanager-pricelist id="pl_id" options="None" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@ -82,7 +82,7 @@
|
|||||||
<row>
|
<row>
|
||||||
<description value="Responsible" for="info_responsible"/>
|
<description value="Responsible" for="info_responsible"/>
|
||||||
<menulist width="100%">
|
<menulist width="100%">
|
||||||
<menupopup type="select-account" statustext="select a responsible user: a person you want to delegate this task" id="info_responsible" multiple="true" no_lang="1" tags="true" class="et2_fullWidth" account_type="both" empty_label="User or group" onchange="app.infolog.onchangeResponsible"/>
|
<menupopup type="select-account" statustext="select a responsible user: a person you want to delegate this task" id="info_responsible" multiple="true" no_lang="1" tags="true" class="et2_fullWidth" account_type="both" empty_label="User or group"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@ -93,7 +93,7 @@
|
|||||||
</row>
|
</row>
|
||||||
<row >
|
<row >
|
||||||
<description value="Parent" font_style="1"/>
|
<description value="Parent" font_style="1"/>
|
||||||
<link-entry id="info_id_parent" onchange="if(egw && widget) { if(widget._oldValue) window.opener.egw.dataStoreUID(egw.appName+"::"+widget._oldValue,false);window.opener.egw.dataStoreUID(egw.appName+"::"+widget.getValue(),false);}" options="infolog" class="et2_fullWidth"/>
|
<link-entry id="info_id_parent" options="infolog" class="et2_fullWidth"/>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Location" for="info_location"/>
|
<description value="Location" for="info_location"/>
|
||||||
@ -107,7 +107,7 @@
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Date completed" for="info_datecompleted"/>
|
<description value="Date completed" for="info_datecompleted"/>
|
||||||
<date-time statustext="Date completed (leave it empty to have it automatic set if status is done or billed)" id="info_datecompleted" onchange="app.infolog.status_changed(this.id, form::name('info_status'), form::name('info_percent'), form::name('info_datecompleted'))" class="et2_fullWidth"/>
|
<date-time statustext="Date completed (leave it empty to have it automatic set if status is done or billed)" id="info_datecompleted" class="et2_fullWidth"/>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Contact" for="info_from"/>
|
<description value="Contact" for="info_from"/>
|
||||||
@ -164,20 +164,10 @@
|
|||||||
<column/>
|
<column/>
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row disabled="@hidebuttons" class="dialogHeadbar" >
|
<row class="dialogHeadbar" >
|
||||||
<hbox span="all" width="100%">
|
<box>
|
||||||
<button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/>
|
|
||||||
<button statustext="delete this entry" id="button[delete]" onclick="if($cont[info_anz_subs]) return $cont[info_anz_subs]; et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" background_image="1" span="all"/>
|
|
||||||
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
|
|
||||||
<checkbox label="notification" id="no_notifications"/>
|
|
||||||
<textbox type="integer" id="info_number" readonly="true" class="entry_id"/>
|
<textbox type="integer" id="info_number" readonly="true" class="entry_id"/>
|
||||||
</hbox>
|
</box>
|
||||||
</row>
|
|
||||||
<row disabled="!@showsearchbuttons" class="dialogHeadbar">
|
|
||||||
<hbox span="all" width="100%">
|
|
||||||
<button label="Search" id="button[search]" image="search" background_image="1"/>
|
|
||||||
<button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/>
|
|
||||||
</hbox>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Title" for="info_subject"/>
|
<description value="Title" for="info_subject"/>
|
||||||
@ -185,12 +175,9 @@
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Type" for="info_type"/>
|
<description value="Type" for="info_type"/>
|
||||||
<hbox>
|
|
||||||
<menulist class="et2_fullWidth">
|
<menulist class="et2_fullWidth">
|
||||||
<menupopup statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" no_lang="1" onchange="widget.getInstanceManager().submit(null,false,true); return false;" />
|
<menupopup statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" no_lang="1"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
<textbox align="right" type="integer" id="info_number" readonly="true"/>
|
|
||||||
</hbox>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Contact"/>
|
<description value="Contact"/>
|
||||||
@ -207,13 +194,13 @@
|
|||||||
<row>
|
<row>
|
||||||
<description value="Status" for="info_status"/>
|
<description value="Status" for="info_status"/>
|
||||||
<menulist class="et2_fullWidth">
|
<menulist class="et2_fullWidth">
|
||||||
<menupopup statustext="@status_help" id="info_status" onchange="app.infolog.status_changed(this.id, form::name('info_status'), form::name('info_percent'), form::name('info_datecompleted'))"/>
|
<menupopup statustext="@status_help" id="info_status"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Completed" for="info_percent"/>
|
<description value="Completed" for="info_percent"/>
|
||||||
<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"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
|
Loading…
Reference in New Issue
Block a user