Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
fba5dd6e 03/10/2015 04:18 PM Thane Gill

Return object after instantiation

d32784ed 03/10/2015 04:00 PM Thane Gill

Fix Form_Section so you can add classes

d62dca65 03/10/2015 04:00 PM Thane Gill

Make it possible to add multiple classes at once

0bec94db 03/10/2015 04:00 PM Thane Gill

Fix $title

8343fb3b 03/08/2015 12:33 PM Sjon Hortensius

Button - renamed parameter, put $title into value attribute

refs #11

da3d5bc7 03/07/2015 05:05 PM Sjon Hortensius

clarify Button, centralize A vs INPUT logic

refs b125fab2ba

b125fab2 03/07/2015 05:00 PM Sjon Hortensius

Introduce Form_Button, which can morph into <a class=btn>

fixes #11

54b808d4 03/07/2015 03:38 PM Thane Gill

After instantiation return object. Return object after setWidth.

a97531c5 03/07/2015 12:26 PM Sjon Hortensius

Major change: require caller to specify name of inputs

no longer do we automatically determine an input-name; it meant a lot of
backend-changes (or forceName calls). This commit fixes all occurences
except for firewall_rules_edit

refs #16

8a2d92b5 03/07/2015 11:37 AM Sjon Hortensius

Merge branch 'bootstrap' of github.com:SjonHortensius/pfsense into bootstrap

8af76ee4 03/07/2015 11:36 AM Sjon Hortensius

Replaced addSubmit by addGlobal, which will be used for hidden inputs

Group - add support for additional classes by using Element::getHtmlClass
Input - if we have no columnClasses or help, don't wrap ourself in DIV

3c7f137e 03/07/2015 11:32 AM SjonHortensius

Merge pull request #15 from SanderVanLeeuwen/bootstrap

Pass checkbox value to parent constructor

ae3402fa 03/07/2015 11:29 AM Sander van Leeuwen

Pass checkbox value to parent constructor

201932c5 03/06/2015 06:17 PM Thane Gill

After instantiation return object. Return object after setWidth.

7a3848b6 02/21/2015 05:11 PM Sjon Hortensius

correct 2 typos

Form_Input - forceName should actually use parameter
firewall_rules_edit - add Inputs to Section, not form

48868a05 02/21/2015 02:13 PM Sjon Hortensius

Initial version of converted firewall_rules_edit

9aa48e62 02/01/2015 10:29 AM Sjon Hortensius

Select - update name to name[] when multiple=true

2cc784b3 01/31/2015 05:08 PM Sjon Hortensius

Form_Select - handle selected values

a41b03d0 01/31/2015 02:14 PM Sjon Hortensius

Support data-toggle=disable

Checkbox - moved call to better location
Select - use parent:: for attributes
Input - add support for attributes without value
pfSense.js - implement data-toggle=disable
system_adv_admin - set disabled state on certificate

1a86b8fe 01/31/2015 01:09 PM Sjon Hortensius

Don't treat >name special, just put it in attr; fixes Select.id

Select - name is no longer special, use $attr and get a free ID
Checkbox - make displayAsRadio return itself for chaining
Input - move name to attr; plus remove support for input without $title...

276c29d4 01/31/2015 12:21 PM Sjon Hortensius

Add support for sprintf to setHelp

clean - fix typo in php-end-tag cleaner
Input - support sprintf parameter
Select - put option-names through gettext

422a715c 01/28/2015 09:39 PM Sander van Leeuwen

Add id attribute to input elements

42322ae0 01/28/2015 04:28 PM Sjon Hortensius

Fix name attr for Select, implement Checkbox::displayAsRadio

69f9ff40 01/27/2015 08:33 PM Sjon Hortensius

final touches on Forms

system - removed trailing unused form-html
Form - set proper width for submit-button column
Element - support returning raw-list for Inputs
Group,Input - renamed getColumnWidth to getWidth
Input - make setWidth consistent with Form->setWidth, directly add...

a005a836 01/27/2015 12:39 PM Sjon Hortensius

finalized Form classes, allowed add/removeClass on all elements

+ add overloadable submit button

a32c0623 01/27/2015 09:12 AM Sjon Hortensius

whitespace changes; renamed classes to Form_ prefix