Overview
Comment:Focus on select in year selector
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 8f44f4de635a20af9a72d6da933a33677581238e
User & Date: bohwaz on 2020-11-26 18:55:26
Other Links: branch diff | manifest | tags
Context
2020-11-26
18:55
Use simple form for simple transactions check-in: 475f66a35e user: bohwaz tags: dev, 1.0.0-rc1
18:55
Focus on select in year selector check-in: 8f44f4de63 user: bohwaz tags: dev
18:52
Allow to autofocus on custom element check-in: 25864a6351 user: bohwaz tags: dev
Changes

Modified src/templates/acc/years/select.tpl from [e5b2583bf6] to [5d2df7acaf].

1
2
3
4
5
6
7
8
9
10
{include file="admin/_head.tpl" title="Changer d'exercice" current="acc/years"}

<form method="post" action="{$self_url}">
	<fieldset>
		<legend>Changer l'exercice de travail</legend>
		<dl>
			<dd>
				<select name="year">
					{foreach from=$list item="year"}
					<option value="{$year.id}">{$year.label} — {$year.start_date|date_short} au {$year.end_date|date_short}</option>
|

|







1
2
3
4
5
6
7
8
9
10
{include file="admin/_head.tpl" title="Changer d'exercice" current="acc/years" js=1}

<form method="post" action="{$self_url}" data-focus="1">
	<fieldset>
		<legend>Changer l'exercice de travail</legend>
		<dl>
			<dd>
				<select name="year">
					{foreach from=$list item="year"}
					<option value="{$year.id}">{$year.label} — {$year.start_date|date_short} au {$year.end_date|date_short}</option>