Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  Form
Form.class.php 2.96 KB
Modal.class.php 1.51 KB
autoload.inc.php 381 Bytes

Latest revisions

# Date Author Comment
4a457d8d 12/14/2015 06:22 PM Stephen Beaver

Automatic panel collapse defines moved to jquery/pfSenseHelpsers.js
define(COLLAPSIBLE, 0x08);
define(SEC_CLOSED, 0x04);
define(SEC_OPEN, 0x00);

279ea790 12/14/2015 04:41 PM Stephen Beaver

Merge pull request #2217 from NOYB/HTML_Compliance_-_Collapsible_Form_Section_HREF

53eac591 12/14/2015 04:39 PM Stephen Beaver

Merge pull request #2216 from NOYB/HTML_Compliance_-_Checkbox_Display_As_Radio_Unique_ID

a4b5b782 12/13/2015 09:54 AM NOYB NOYB

HTML Compliance - Collapsible Form Section HREF

Bad value for attribute href on element a: Illegal character in fragment: not a URL code point.

<a data-toggle="collapse" href="#<id> .panel-body">
Syntax of URL:Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20....

94826107 12/13/2015 08:51 AM NOYB NOYB

HTML Compliance - Checkbox Display As Radio Unique ID

Ensure checkbox display as raido has unique id.
Allow an id to be passed in displayAsRadio() as argument0.
If no argument is passed, construct id as name_value:uniqid.

Previous behavior was id = name. So all the radio buttons of the set had same id.

fe70112b 12/13/2015 12:06 AM NOYB NOYB

HTML Compliance - Form Action Attribute

Fix Empty Form Action Attribute Violation

An empty form action attribute is an HTML4 and HTML5 specification violation.

http://www.w3.org/TR/html5/forms.html#attr-fs-action
"The action and formaction content attributes, if specified, must have a value that is a valid non-empty URL potentially surrounded by spaces."...

d47bc2ce 12/03/2015 07:50 PM Stephen Beaver

Revise collapsible section behavior to use defines (COLLAPSIBLE, SEC_OPEN, SEC_CLOSED)

16e4d564 12/03/2015 07:22 PM Stephen Beaver

Spelling

331e063c 12/03/2015 07:22 PM Stephen Beaver

Further changes to Section.class.php and to diag_logs_filter.php
Experimental section collapse

Form_Section() now accepts up to 4 arguments: Form_section(title, id, collapsable, initiall_collapsed)

collapsable = true specifies that the panel should be collapsable and should have a plus/minus icon in the title bar to allow that. Defaults to false...

b0006f27 12/02/2015 07:19 PM Stephen Beaver

Add full classpath to autoloader so that packages can run from their own directories.

View revisions

Also available in: Atom