Jo-Philipp Wich
fd0f8e80c5
libs/web: fix wrong default focus in dynlist widgets ( #388 )
2012-03-04 14:15:09 +00:00
Jo-Philipp Wich
1c10042f8c
libs/web: fix delete action in tblsections, fix extedit buttons
2012-02-15 22:08:51 +00:00
Jo-Philipp Wich
5d45927643
libs/web: remove inline styles from firewall_zoneforwards and firewall_zonelist widgets
2012-02-15 17:50:25 +00:00
Jo-Philipp Wich
7c9dd3ab81
libs/web: remove inline styles from network_netinfo widget
2012-02-15 16:43:39 +00:00
Jo-Philipp Wich
481ddd0909
libs/web: remove inline styles for interface badges
2012-02-15 16:00:23 +00:00
Jo-Philipp Wich
857dcdf727
libs/web: remove more inline styles from tblsection template, fixes action buttons in bootstrap theme
2012-02-15 15:27:03 +00:00
Jo-Philipp Wich
13beaf8b3d
libs/web: use new button classes for tblsection template
2012-02-15 15:13:27 +00:00
Jo-Philipp Wich
47b51b54e8
libs/web: fix firewall_zoneforwards template for bootstrap theme
2012-02-15 15:12:53 +00:00
Jo-Philipp Wich
63a75c6ea9
libs/web: implement new phone digit datatype, useful for VoIP related config screens
2012-02-14 15:16:53 +00:00
Jo-Philipp Wich
8412034c3d
libs/web: use CSS class for sort buttons, drop inline style
2012-02-14 15:08:12 +00:00
Jo-Philipp Wich
75f849ca58
libs/web: fix invalid html after r8224 - the whitespace trimming removed the space between the attributes
2012-02-14 14:11:57 +00:00
Patrick Grimm
a3b0db7d86
libs/web: fix line wrapping error
2012-02-13 00:44:56 +00:00
Patrick Grimm
9305afaf0d
libs/web: replace <a href> by <input type=button> for better css style in tables
2012-02-12 22:50:48 +00:00
Jo-Philipp Wich
a4996261ea
libs/web: remove debugging code
2012-01-08 23:39:29 +00:00
Jo-Philipp Wich
875baa244a
libs/web: allow zero-length string literals when parsing datatypes
2012-01-08 23:36:35 +00:00
Jo-Philipp Wich
9fcdf0fe81
libs/web: introduce recursive expression support for datatypes, introduce "or" and "and" datatypes
...
The commit adds a recursive parser for datatype expressions which allows nesting of validators,
this allows for complex expressions like "list(or(range(0,65535),'infinite'))" to allow a list of
values which are either integers between 0 and 65535 or the literal string "inifinite".
That change also deprecates combined datatypes like "ipaddr" ["or(ip4addr,ip6addr)"] or
"host" ["or(hostname,ip4addr,ip6addr)"]
2012-01-08 23:33:47 +00:00
Jo-Philipp Wich
3812f29087
libs/web: remove neg_ipaddr, neg_ip4addr and neg_network_ip4addr datatypes, can be represented with neg(type)
2012-01-07 22:06:02 +00:00
Jo-Philipp Wich
3553d308f6
[PATCH] Naive fix for bug #208
...
For SimpleSection, use the section name (always "1") instead of the
section type in the CBI-like string used to identify the upload. This
allows upload fields to be placed in SimpleSections. The fix changes a
minimal number of lines, but does introduce some unnecessary confusion,
it may or may not be better than a more thorough/invasive fix.
Set the enctype for the form element in the simpleform view to be
multipart/form-data because the default
application/x-www-form-urlencoded does not support input files.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2011-12-20 17:52:10 +00:00
Jo-Philipp Wich
8358175f25
libs/web: show input/forward hints in zonelist widget only if bnoth allowany and allowlocal are enabled
2011-12-20 17:51:44 +00:00
Jo-Philipp Wich
b89300eb67
libs/web: prevent break between action buttons in tblsection template
2011-12-20 03:57:40 +00:00
Jo-Philipp Wich
48838ea0f7
libs/web: fix placeholder attribute for DynList
2011-12-20 03:00:17 +00:00
Jo-Philipp Wich
161218a576
libs/web: fix undesired autofocus of DynamicList widget
2011-12-20 02:56:03 +00:00
Jo-Philipp Wich
6ae669da06
libs/web: improve ip6addr datype validation, accept both CIDR and IP/Mask notation
2011-12-20 02:44:32 +00:00
Jo-Philipp Wich
24c4cce3ae
libs/web: add "any" option to firewall_zonelist widget
2011-12-19 20:09:20 +00:00
Jo-Philipp Wich
21a0fcc4c1
libs/web: rework DynamicList widget to support dynamic lists composed of comboboxes
2011-12-19 18:55:59 +00:00
Jo-Philipp Wich
375a476d27
libs/web: rework hostname match to not allow arbritary sequences of numbers and dots
2011-12-16 06:05:51 +00:00
Jo-Philipp Wich
3a0905f21c
libs/web: add list(...) datatype for space separated lists of arbritary datatypes
2011-12-16 05:52:24 +00:00
Jo-Philipp Wich
757e9c2f1c
libs/web: add missing parts of previous commit
2011-12-16 01:18:34 +00:00
Jo-Philipp Wich
cdcfb5502b
libs/web: implement "network" cbi datatype
2011-12-16 01:18:15 +00:00
Jo-Philipp Wich
c5811d52d0
libs/web: allow one-character hostnames
2011-12-14 15:01:54 +00:00
Jo-Philipp Wich
099e97532c
libs/web: add assert() statements for unresolvable function case
2011-11-30 12:50:32 +00:00
Jo-Philipp Wich
96f494f4ba
libs/web: dispatcher: fix access to template properties in attr() and ifattr() helpers ( #10317 )
2011-10-30 15:00:54 +00:00
Jo-Philipp Wich
334756a472
libs/web: fix possible dispatcher crash
2011-10-26 03:04:41 +00:00
Jo-Philipp Wich
e12b8dbc1f
libs/web: move ifattr() and attr() helpers into dispatcher scope to make them avilable to all templates, remove duplicate exports in cbi tempalte scope
2011-10-26 02:17:45 +00:00
Jo-Philipp Wich
5f7d2719b2
libs/web: dispatcher add node_childs() and node_visible() helper functions for templates
2011-10-26 00:24:17 +00:00
Jo-Philipp Wich
6021cf3bdf
libs/web: dispatcher: implement a "firstchild()" target which simply redirects to the first child of a node, useful for menus that are empty by default and may gain arbritary childs
2011-10-25 22:48:43 +00:00
Jo-Philipp Wich
8cd46b595a
libs/web: cbi: support description attribute in nullsection instances
2011-10-23 04:21:14 +00:00
Jo-Philipp Wich
a24d340ca4
libs/web: fix package name in error suggestion
2011-10-21 17:22:48 +00:00
Jo-Philipp Wich
cd46e1611e
libs/web: handle .redirect property for SimpleForm widgets
2011-10-11 01:20:36 +00:00
Jo-Philipp Wich
2337ee9206
libs/web: add network_netlist widget option to filter virtual networks
2011-10-10 18:10:12 +00:00
Jo-Philipp Wich
63608d2636
libs/web: sent origin section id encoded in cbi.cts. requests
2011-10-09 20:14:25 +00:00
Jo-Philipp Wich
4fb5f1aca6
libs/web: pass origin section id to :create() callback, needed when multiple, filtered TypedSection instances of the same type are used within a single Map
2011-10-09 20:07:02 +00:00
Jo-Philipp Wich
0d4ec2bbba
libs/web: add error message printing to nullsection template, fixes server side validation in SimpleForm instances
2011-10-09 18:43:11 +00:00
Jo-Philipp Wich
43df504278
libs/web: assign extra css class to typed or named sections with tabs
2011-09-30 14:14:04 +00:00
Jo-Philipp Wich
ea6f5379dc
libs/web: network widget fixes
2011-09-25 11:59:21 +00:00
Jo-Philipp Wich
bf49f78599
libs/web: align interface related widgets to changed network model api
2011-09-24 03:49:17 +00:00
Jo-Philipp Wich
7925014561
libs/web: add missing class attributes
2011-09-22 18:21:38 +00:00
Jo-Philipp Wich
737daee3e1
libs/web: cbi: dynamically update css class of last field after dependency update
2011-09-22 17:05:14 +00:00
Jo-Philipp Wich
688eb421cc
libs/web: cbi: assign dedicated css class to last child
2011-09-22 16:34:52 +00:00
Jo-Philipp Wich
96dd29753c
libs/web: cbi: provide a "last_child" property to allow for more layout control in form rendering
2011-09-22 16:33:28 +00:00