Commit graph

227 commits

Author SHA1 Message Date
Jo-Philipp Wich
6ba1aef019 libs/cbi:
- support hidden fields for SimpleForm, NamedSection and TypedSection instances
	- add support for on_cancel event in SimpleForm instances
2009-11-08 02:30:35 +00:00
Jo-Philipp Wich
dc93bf1fcc libs/cbi: properly handle .default for dummy values 2009-11-08 02:29:05 +00:00
Jo-Philipp Wich
a60f781bdf libs/cbi: fix formatting issue in zone picker widget 2009-11-01 19:49:07 +00:00
Jo-Philipp Wich
9b888c18e3 libs: fix some more translation errors 2009-11-01 17:30:15 +00:00
Jo-Philipp Wich
f5a760168b all: remove references to old i18n files 2009-11-01 14:24:04 +00:00
Jo-Philipp Wich
3e6d86c80e libs/cbi: i18n markup fix for filebrowser widget 2009-11-01 13:44:31 +00:00
Jo-Philipp Wich
b786f4ade4 libs/cbi: fix some default translations 2009-11-01 11:54:14 +00:00
Jo-Philipp Wich
eeed712024 all: next round of translation fixups 2009-10-31 20:03:27 +00:00
Jo-Philipp Wich
cffba70b2e all: translation fixes in templates 2009-10-31 19:26:07 +00:00
Jo-Philipp Wich
50a26ced11 libs/cbi: remove auto-i18n, does not work anymore 2009-10-31 16:48:31 +00:00
Jo-Philipp Wich
7c76587588 all: change most translate statements to new format, some need manual cleanup 2009-10-31 15:54:11 +00:00
Steven Barth
e93a3e0c74 CBI: Delegators: Don't proceed when step is not completed yet 2009-10-28 17:38:11 +00:00
Jo-Philipp Wich
910f48117f libs/cbi: add on_init, on_before_commit, on_after_commit, on_before_apply, on_after_apply hooks 2009-10-27 23:21:11 +00:00
Jo-Philipp Wich
bec91e4caf libs/cbi: fixes for widget templates 2009-10-27 21:42:40 +00:00
Steven Barth
36e18e87ef CBI: Cancelaction and event callbacks for Delegators
LuCId: Send Keep-Alive headers to avoid browser quirks
2009-10-26 17:40:44 +00:00
Jo-Philipp Wich
536430d0ee libs/cbi: change widgets using model.network to new api 2009-10-15 16:37:29 +00:00
Jo-Philipp Wich
e2147feb63 libs/cbi: fix error in previous commit 2009-10-14 00:02:38 +00:00
Jo-Philipp Wich
5ce9bd5fc8 libs/cbi: support horizontal display for radio button groups 2009-10-13 23:59:50 +00:00
Jo-Philipp Wich
42e1f743b3 libs/cbi: fix dynamic tab hiding 2009-10-10 22:18:50 +00:00
Jo-Philipp Wich
17f2921341 libs/cbi: add network picker widget 2009-10-10 14:51:59 +00:00
Jo-Philipp Wich
988de587ee libs/cbi: various widget fixes 2009-10-10 14:47:37 +00:00
Jo-Philipp Wich
c199fb44c0 libs/cbi: hide tabs that have zero fields after dependency update 2009-10-10 04:18:16 +00:00
Jo-Philipp Wich
5c4a002a46 libs/cbi: allow underscores in AbstractSection.create() 2009-10-09 00:45:47 +00:00
Jo-Philipp Wich
a5b315694d libs/cbi: add interface picker widget 2009-10-08 10:26:57 +00:00
Jo-Philipp Wich
6c64745e2c libs/cbi: comply with changed firewall interface 2009-10-08 01:26:09 +00:00
Jo-Philipp Wich
d3e65f3e1d libs/cbi: auto-select appropriate option if create field is focused 2009-10-08 00:46:01 +00:00
Jo-Philipp Wich
33c8b37310 libs/cbi: i18n for zone picker 2009-10-08 00:27:39 +00:00
Jo-Philipp Wich
f4ce127051 libs/cbi: add a firewall zone picker widget 2009-10-08 00:17:40 +00:00
Jo-Philipp Wich
da2b40c9e3 libs/cbi: fix wrong value handling in FileUpload widgets (#85) 2009-10-07 19:50:20 +00:00
Steven Barth
7bd891326d Fix Save & Apply for lists 2009-09-24 16:40:32 +00:00
Jo-Philipp Wich
2903acf1f2 libs/cbi: preserve tab state across page reloads 2009-08-20 01:53:24 +00:00
Jo-Philipp Wich
bda237d0fd libs/cbi: remove redundant line break in listvalue template 2009-08-19 23:17:55 +00:00
Jo-Philipp Wich
7c0ea17623 libs/cbi: implement tabbing to split large sections and group options in tabs 2009-08-16 03:29:46 +00:00
Jo-Philipp Wich
892ed55ba0 libs/cbi: attach pcdata() to template scope and use it 2009-08-13 17:14:25 +00:00
Jo-Philipp Wich
6b1be858be libs/cbi: properly escape values in dynlist widget (#79) 2009-08-13 14:36:18 +00:00
Jo-Philipp Wich
68af07222c libs/cbi: fix default property of ListValue fields 2009-07-31 23:22:10 +00:00
Jo-Philipp Wich
f311d13ca1 libs/cbi: fix error reporting in map loading 2009-07-31 00:13:24 +00:00
Steven Barth
2561ed9b7a Fix errorhandling in Delegators 2009-07-30 16:58:37 +00:00
Steven Barth
d7a90e994a Fix delegators 2009-07-30 16:05:12 +00:00
Jo-Philipp Wich
8fcd841aa9 convert luci.fs users to nixio.fs api 2009-07-19 00:24:58 +00:00
Steven Barth
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Steven Barth
341f757255 Merge fixes / improvements 2009-06-20 07:14:36 +00:00
Steven Barth
4209a47b6e Extend CBI Delegators, fix some CBI issue 2009-05-25 10:31:12 +00:00
Steven Barth
ee690abb0f CBI Delegators (Wizards)
Example CBI-Map:

d = Delegator()
d.allow_back = true	-- Back-button
d:add("step1", load("mywizard/form1")) -- model/cbi/mywizard/form1
d:add("step2", load("mywizard/form2"))

return d
2009-05-24 17:17:53 +00:00
Jo-Philipp Wich
383cac453b libs/cbi: workaround git deficiencies 2009-04-16 10:36:29 +00:00
Steven Barth
0acedfff3e Fix some fallout 2009-04-09 13:59:50 +00:00
Jo-Philipp Wich
9835296ba2 trunk: prepare LuCI to handle .lua.gz files 2009-04-04 22:54:16 +00:00
Steven Barth
f3deef9ec5 Backport Skip-Button support 2009-04-03 18:08:25 +00:00
Jo-Philipp Wich
0c7effc0c0 libs/cbi: properly handle uvl errors without childs 2009-03-29 22:13:26 +00:00
Steven Barth
8368432a63 Fix last commit 2009-03-26 12:39:43 +00:00