mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
* Calendar/InfoLog/Timesheet/Tracker/ProjectManager: edit focuses now automatic on title input
This commit is contained in:
parent
894f92b4c3
commit
50ed435eb7
File diff suppressed because one or more lines are too long
@ -63,7 +63,7 @@
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="row" valign="top">
|
||||
<description value="Description" for="description"/>
|
||||
<description for="description" value="Description"/>
|
||||
<textbox multiline="true" id="description" rows="12" cols="70"/>
|
||||
</row>
|
||||
</rows>
|
||||
@ -89,8 +89,8 @@
|
||||
<link-entry id="resource" options="@cal_resources"/>
|
||||
</vbox>
|
||||
<textbox type="integer" align="center" id="quantity" min="1" size="3"/>
|
||||
<menulist class="selectRole">
|
||||
<menupopup id="role"/>
|
||||
<menulist>
|
||||
<menupopup class="selectRole" id="role"/>
|
||||
</menulist>
|
||||
<button align="center" label="Add" id="add"/>
|
||||
<description/>
|
||||
@ -105,13 +105,13 @@
|
||||
</row>
|
||||
<row valign="top">
|
||||
<description id="${row}[app]"/>
|
||||
<description cols="2" id="${row}[title]" no_lang="1" rows="1"/>
|
||||
<description id="${row}[title]" no_lang="1"/>
|
||||
<textbox type="integer" align="center" id="${row}[quantity]" readonly="true" min="1" size="3"/>
|
||||
<description id="${row}[role_label]"/>
|
||||
<menulist>
|
||||
<menupopup id="${row}[status]" onchange="1"/>
|
||||
</menulist>
|
||||
<button align="center" cols="2" label="Delete" id="delete[$row_cont[delete_id]]" onchange="1" rows="1" image="delete"/>
|
||||
<button align="center" label="Delete" id="delete[$row_cont[delete_id]]" onchange="1" image="delete"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
@ -139,27 +139,30 @@
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
</row>
|
||||
<row class="row" height="12">
|
||||
<description value="Repeat type" for="recur_type"/>
|
||||
<description for="recur_type" value="Repeat type"/>
|
||||
<menulist>
|
||||
<menupopup id="recur_type" onchange="check_recur_type('recur_type', 2);"/>
|
||||
</menulist>
|
||||
<description value="Interval" for="recur_interval"/>
|
||||
<description for="recur_interval" value="Interval"/>
|
||||
<menulist>
|
||||
<menupopup type="select-number" statustext="repeating interval, eg. 2 to repeat every second week" id="recur_interval" options="None,2,31"/>
|
||||
</menulist>
|
||||
</row>
|
||||
<row class="row" height="12">
|
||||
<description value="End date" for="recur_enddate"/>
|
||||
<description for="recur_enddate" value="End date"/>
|
||||
<date statustext="repeat the event until which date (empty means unlimited)" id="recur_enddate" onclick="if(window.calendar.params.inputField.value == '') window.calendar.parseDate(document.getElementById(form::name('start')+'[str]').value);"/>
|
||||
<description value="Timezone" for="tzid"/>
|
||||
<description for="tzid" value="Timezone"/>
|
||||
<menulist>
|
||||
<menupopup type="select-timezone" statustext="Timezone in which recurrences have identical time" id="tzid"/>
|
||||
</menulist>
|
||||
</row>
|
||||
<row class="row" valign="top">
|
||||
<description value="Repeat days" for="recur_data"/>
|
||||
<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"/>
|
||||
<vbox options="0,0">
|
||||
<description value="Exceptions"/>
|
||||
@ -230,15 +233,15 @@
|
||||
<menulist>
|
||||
<menupopup type="select-number" statustext="days" id="new_alarm[days]" options=",0,7"/>
|
||||
</menulist>
|
||||
<description value="days" for="new_alarm[days]"/>
|
||||
<description for="new_alarm[days]" value="days"/>
|
||||
<menulist>
|
||||
<menupopup type="select-number" statustext="hours" id="new_alarm[hours]" options=",0,23"/>
|
||||
</menulist>
|
||||
<description value="hours" for="new_alarm[hours]"/>
|
||||
<description for="new_alarm[hours]" value="hours"/>
|
||||
<menulist>
|
||||
<menupopup type="select-number" statustext="Minutes" id="new_alarm[mins]" options=",0,55,5"/>
|
||||
</menulist>
|
||||
<description value="Minutes" for="new_alarm[mins]"/>
|
||||
<description for="new_alarm[mins]" value="Minutes"/>
|
||||
<menulist>
|
||||
<menupopup statustext="Select who should get the alarm" label="for" id="new_alarm[owner]" no_lang="1"/>
|
||||
</menulist>
|
||||
@ -291,7 +294,7 @@
|
||||
</grid>
|
||||
</template>
|
||||
<template id="calendar.delete_series" template="" lang="" group="0" version="1.7.003">
|
||||
<vbox cols="1" id="#delete_series" rows="1">
|
||||
<vbox id="#delete_series">
|
||||
<hbox id="#dialog-header" class="promptheader">
|
||||
<description value="This event is part of a series"/>
|
||||
</hbox>
|
||||
@ -312,6 +315,9 @@
|
||||
<column width="300"/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@msg">
|
||||
@ -319,25 +325,28 @@
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
<description/>
|
||||
</row>
|
||||
<row class="th" height="28">
|
||||
<description value="Title"/>
|
||||
<hbox needed="1" options="0,0" span="all">
|
||||
<textbox id="title" needed="1" size="75" maxlength="255"/>
|
||||
<description value="#%s" id="id" font_style="b"/>
|
||||
<textbox id="title" needed="1" size="75" maxlength="255" tabindex="1"/>
|
||||
<description font_style="b" value="#%s" id="id"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<tabbox id="tabs" span="all">
|
||||
<tabbox id="calendar.edit.general|calendar.edit.description|calendar.edit.participants|calendar.edit.recurrence|calendar.edit.custom|calendar.edit.links|calendar.edit.alarms|calendar.edit.history" span="all">
|
||||
<tabs>
|
||||
<tab id="general" label="General" statustext="Location, Start- and Endtimes, ..."/>
|
||||
<tab id="description" label="Description" statustext="Full description"/>
|
||||
<tab id="participants" label="Participants" statustext="Participants, Resources, ..."/>
|
||||
<tab id="recurrence" label="Recurrence" statustext="Repeating Event Information"/>
|
||||
<tab id="custom" label="Custom" statustext="Custom fields"/>
|
||||
<tab id="links" label="Links" statustext="Links, Attachments"/>
|
||||
<tab id="alarms" label="Alarms" statustext="Alarm management"/>
|
||||
<tab id="history" label="History" statustext="Change history"/>
|
||||
<tab id="calendar.edit.general" label="General" statustext="Location, Start- and Endtimes, ..."/>
|
||||
<tab id="calendar.edit.description" label="Description" statustext="Full description"/>
|
||||
<tab id="calendar.edit.participants" label="Participants" statustext="Participants, Resources, ..."/>
|
||||
<tab id="calendar.edit.recurrence" label="Recurrence" statustext="Repeating Event Information"/>
|
||||
<tab id="calendar.edit.custom" label="Custom" statustext="Custom fields"/>
|
||||
<tab id="calendar.edit.links" label="Links" statustext="Links, Attachments"/>
|
||||
<tab id="calendar.edit.alarms" label="Alarms" statustext="Alarm management"/>
|
||||
<tab id="calendar.edit.history" label="History" statustext="Change history"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<template id="calendar.edit.general"/>
|
||||
|
@ -22,6 +22,8 @@ jQuery().ready(function() {
|
||||
});
|
||||
activate_tab(tab.attr("id"), alltabs.join('|'));
|
||||
});
|
||||
// focus on input with tabindex=1
|
||||
jQuery('input[tabindex="1"],select[tabindex="1"],textarea[tabindex="1"]').focus();
|
||||
});
|
||||
function submitit(form,name)
|
||||
{
|
||||
|
File diff suppressed because one or more lines are too long
@ -206,7 +206,7 @@
|
||||
</row>
|
||||
<row class="row">
|
||||
<description value="Subject" for="info_subject"/>
|
||||
<textbox statustext="a short subject for the entry" id="info_subject" size="80" maxlength="255" span="all"/>
|
||||
<textbox statustext="a short subject for the entry" id="info_subject" size="80" maxlength="255" span="all" tabindex="1"/>
|
||||
</row>
|
||||
<row valign="top" height="250">
|
||||
<tabbox id="tabs" span="all">
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* EGroupware - eTemplates for Application timesheet
|
||||
* http://www.egroupware.org
|
||||
* generated by soetemplate::dump4setup() 2012-10-22 11:54
|
||||
* generated by soetemplate::dump4setup() 2013-05-23 10:50
|
||||
*
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @package timesheet
|
||||
@ -27,7 +27,7 @@ $templ_data[] = array('name' => 'timesheet.edit','template' => '','lang' => '','
|
||||
|
||||
$templ_data[] = array('name' => 'timesheet.edit.customfields','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:12:"customfields";}}}s:4:"cols";i:1;s:4:"rows";i:1;s:4:"size";s:17:"100%,165,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"165";i:6;s:4:"auto";}}}','size' => '100%,165,,,,,auto','style' => '','modified' => '1303228015',);
|
||||
|
||||
$templ_data[] = array('name' => 'timesheet.edit.general','template' => '','lang' => '','group' => '0','version' => '1.7.002','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:8:{i:0;a:15:{s:1:"A";s:2:"95";s:1:"B";s:3:"120";s:1:"C";s:15:"80,@ts_viewtype";s:1:"D";s:13:",@ts_viewtype";s:2:"c1";s:3:"row";s:2:"h1";s:13:",@ts_viewtype";s:2:"c2";s:3:"row";s:2:"h2";s:14:",!@ts_viewtype";s:2:"c3";s:3:"row";s:2:"c4";s:3:"row";s:2:"c5";s:3:"row";s:2:"c6";s:3:"row";s:2:"h6";s:13:",@ts_viewtype";s:2:"c7";s:3:"row";s:2:"h7";s:14:",@no_ts_status";}i:1;a:4:{s:1:"A";a:3:{s:4:"size";s:11:",,,ts_title";s:4:"type";s:5:"label";s:5:"label";s:5:"Title";}s:1:"B";a:5:{s:4:"size";s:5:"65,80";s:4:"blur";s:14:"@ts_title_blur";s:4:"span";s:13:"all,fullWidth";s:4:"name";s:8:"ts_title";s:4:"type";s:4:"text";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:2;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"comment";}s:1:"B";a:4:{s:4:"span";s:13:"all,fullWidth";s:4:"name";s:14:"ts_description";s:4:"type";s:8:"textarea";s:4:"size";s:4:"5,50";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:3;a:4:{s:1:"A";a:3:{s:4:"size";s:9:",,,cat_id";s:4:"type";s:5:"label";s:5:"label";s:8:"Category";}s:1:"B";a:4:{s:4:"span";s:3:"all";s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:16:"None,,,timesheet";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:4;a:4:{s:1:"A";a:3:{s:4:"size";s:11:",,,ts_start";s:4:"type";s:5:"label";s:5:"label";s:4:"Date";}s:1:"B";a:4:{s:6:"needed";s:1:"1";s:4:"name";s:8:"ts_start";s:4:"size";s:2:",8";s:4:"type";s:4:"date";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Starttime";}s:1:"D";a:3:{s:4:"name";s:10:"start_time";s:4:"size";s:3:"H:i";s:4:"type";s:13:"date-timeonly";}}i:5;a:4:{s:1:"A";a:3:{s:4:"size";s:14:",,,ts_duration";s:4:"type";s:5:"label";s:5:"label";s:8:"Duration";}s:1:"B";a:3:{s:4:"name";s:11:"ts_duration";s:4:"size";s:3:",hm";s:4:"type";s:13:"date-duration";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"or endtime";s:4:"span";s:7:",noWrap";}s:1:"D";a:3:{s:4:"name";s:8:"end_time";s:4:"size";s:3:"H:i";s:4:"type";s:13:"date-timeonly";}}i:6;a:4:{s:1:"A";a:3:{s:4:"size";s:14:",,,ts_quantity";s:4:"type";s:5:"label";s:5:"label";s:8:"Quantity";}s:1:"B";a:7:{s:4:"type";s:5:"float";s:4:"blur";s:17:"@ts_quantity_blur";s:9:"precision";s:1:"3";s:4:"span";s:3:"all";s:4:"name";s:11:"ts_quantity";s:4:"size";s:1:",";s:4:"help";s:30:"empty if identical to duration";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:7;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Status";}s:1:"B";a:5:{s:4:"name";s:9:"ts_status";s:4:"size";s:13:"please select";s:4:"type";s:6:"select";s:4:"help";s:32:"select a status of the timesheet";s:4:"span";s:3:"all";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:4;s:4:"rows";i:7;s:4:"size";s:8:"100%,165";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"165";}}}','size' => '100%,165','style' => '','modified' => '1303227457',);
|
||||
$templ_data[] = array('name' => 'timesheet.edit.general','template' => '','lang' => '','group' => '0','version' => '1.7.002','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:8:{i:0;a:15:{s:1:"A";s:2:"95";s:1:"B";s:3:"120";s:1:"C";s:15:"80,@ts_viewtype";s:1:"D";s:13:",@ts_viewtype";s:2:"c1";s:3:"row";s:2:"h1";s:13:",@ts_viewtype";s:2:"c2";s:3:"row";s:2:"h2";s:14:",!@ts_viewtype";s:2:"c3";s:3:"row";s:2:"c4";s:3:"row";s:2:"c5";s:3:"row";s:2:"c6";s:3:"row";s:2:"h6";s:13:",@ts_viewtype";s:2:"c7";s:3:"row";s:2:"h7";s:14:",@no_ts_status";}i:1;a:4:{s:1:"A";a:3:{s:4:"size";s:11:",,,ts_title";s:4:"type";s:5:"label";s:5:"label";s:5:"Title";}s:1:"B";a:6:{s:4:"size";s:5:"65,80";s:4:"blur";s:14:"@ts_title_blur";s:4:"span";s:13:"all,fullWidth";s:4:"name";s:8:"ts_title";s:4:"type";s:4:"text";s:8:"tabindex";i:1;}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:2;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"comment";}s:1:"B";a:4:{s:4:"span";s:13:"all,fullWidth";s:4:"name";s:14:"ts_description";s:4:"type";s:8:"textarea";s:4:"size";s:4:"5,50";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:3;a:4:{s:1:"A";a:3:{s:4:"size";s:9:",,,cat_id";s:4:"type";s:5:"label";s:5:"label";s:8:"Category";}s:1:"B";a:4:{s:4:"span";s:3:"all";s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:16:"None,,,timesheet";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:4;a:4:{s:1:"A";a:3:{s:4:"size";s:11:",,,ts_start";s:4:"type";s:5:"label";s:5:"label";s:4:"Date";}s:1:"B";a:4:{s:6:"needed";s:1:"1";s:4:"name";s:8:"ts_start";s:4:"size";s:2:",8";s:4:"type";s:4:"date";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Starttime";}s:1:"D";a:3:{s:4:"name";s:10:"start_time";s:4:"size";s:3:"H:i";s:4:"type";s:13:"date-timeonly";}}i:5;a:4:{s:1:"A";a:3:{s:4:"size";s:14:",,,ts_duration";s:4:"type";s:5:"label";s:5:"label";s:8:"Duration";}s:1:"B";a:3:{s:4:"name";s:11:"ts_duration";s:4:"size";s:3:",hm";s:4:"type";s:13:"date-duration";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"or endtime";s:4:"span";s:7:",noWrap";}s:1:"D";a:3:{s:4:"name";s:8:"end_time";s:4:"size";s:3:"H:i";s:4:"type";s:13:"date-timeonly";}}i:6;a:4:{s:1:"A";a:3:{s:4:"size";s:14:",,,ts_quantity";s:4:"type";s:5:"label";s:5:"label";s:8:"Quantity";}s:1:"B";a:7:{s:4:"type";s:5:"float";s:4:"blur";s:17:"@ts_quantity_blur";s:9:"precision";s:1:"3";s:4:"span";s:3:"all";s:4:"name";s:11:"ts_quantity";s:4:"size";s:1:",";s:4:"help";s:30:"empty if identical to duration";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:7;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Status";}s:1:"B";a:5:{s:4:"name";s:9:"ts_status";s:4:"size";s:13:"please select";s:4:"type";s:6:"select";s:4:"help";s:32:"select a status of the timesheet";s:4:"span";s:3:"all";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:4;s:4:"rows";i:7;s:4:"size";s:8:"100%,165";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"165";}}}','size' => '100%,165','style' => '','modified' => '1303227457',);
|
||||
|
||||
$templ_data[] = array('name' => 'timesheet.edit.history','template' => '','lang' => '','group' => '0','version' => '1.7.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:1:{s:1:"A";a:2:{s:4:"name";s:7:"history";s:4:"type";s:10:"historylog";}}}s:4:"cols";i:1;s:4:"rows";i:1;s:4:"size";s:17:"100%,165,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"165";i:6;s:4:"auto";}}}','size' => '100%,165,,,,,auto','style' => '','modified' => '1303228026',);
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
<rows>
|
||||
<row class="row" disabled="@ts_viewtype">
|
||||
<description value="Title" for="ts_title"/>
|
||||
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="80" span="all" class="fullWidth"/>
|
||||
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="80" span="all" class="fullWidth" tabindex="1"/>
|
||||
<description/>
|
||||
<description/>
|
||||
</row>
|
||||
@ -187,7 +187,7 @@
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<hbox span="2">
|
||||
<hbox orient="0" span="2">
|
||||
<hbox>
|
||||
<button statustext="Edit this entry" label="Edit" id="button[edit]"/>
|
||||
<button statustext="Saves this entry and add a new one" label="Save & New" id="button[save_new]"/>
|
||||
|
Loading…
Reference in New Issue
Block a user