Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
85033097 05/09/2015 11:58 AM Sjon Hortensius

Form - introduce MultiCheckbox(+Group) #142

fe0d6189 05/09/2015 09:33 AM SjonHortensius

Merge pull request #165 from Bouwdie/services_dhcp_relay

Covnert services_dhcp_relay + bugfix in IpAddress

fa6cb13a 05/08/2015 07:25 PM Sander van Leeuwen

Remove 'form-control' class from file inputs

Refs. #180

4889ed28 05/05/2015 11:51 AM Peter Bouwdewijn

Added fix in IpAddress to check if a mask is set to prevent a method call on a non object.
Migrated form.
Moved server input to an array form value.

e22512fc 05/02/2015 12:41 PM Sjon Hortensius

ensure gettext and htmlspecialchars are correctly called

44d906ca 05/02/2015 12:13 PM Sjon Hortensius

system_authservers - fix toggle by making it explicit fixes #108

also allow calling toggles without any arguments

c2518204 04/26/2015 11:41 AM Sjon Hortensius

Prepare for different width, make widths static

refs #141

0ba2494e 04/19/2015 01:27 PM Sjon Hortensius

IpAddress - set correct validationpattern, toggle mask based on family

3c128b8c 04/19/2015 12:56 PM Sjon Hortensius

IpAddress - move from max mask=32 to 128, removed method-default @ fw_edit

71ae7b7e 04/05/2015 06:41 PM Sjon Hortensius

Input - for type=number, default to min=1 & step=1

fee25d17 04/05/2015 03:28 PM Sjon Hortensius

Group - add support for $params in setHelp

3ff70087 04/05/2015 02:57 PM Sjon Hortensius

Group - only push placeholder if Input doesn't have it yet

Input - introduce hasAttribute method

refs #56

1a87ef92 04/04/2015 12:00 PM Sjon Hortensius

Bugfix; textarea needs form-control class too

7684a99e 04/04/2015 11:17 AM Sjon Hortensius

Introduce Group::enableDuplication and Input::setIsRepeated

also fix label-target, was based on name but should be ID instead. Also
make ID unique to facilitate functionality

refs #45

467ff4d6 04/04/2015 10:35 AM Sjon Hortensius

Multiple Inputs in group = copy Title to placeholder

fixes #56

3e377f5a 04/01/2015 08:46 PM Sjon Hortensius

IpAddress - make range go down instead of up

1845af7f 04/01/2015 08:35 PM Sjon Hortensius

Input - better chaining plus added setPattern, IpAddress - chaining fix

5fd8513d 03/29/2015 12:41 PM Sjon Hortensius

replace Input->column methods with generic Element plus fixes

Form.class - fix adding offset to submit button
Checkbox - add class to column, not input. Fix displayAsRadio return
Element - no longer abstract, used as a generic element in Input

fixes #43, refs #37

1192840b 03/28/2015 02:33 PM Sjon Hortensius

refactor attributes from Input to Element to make it a bit more generic

  • replaced Input::setAttribute with explicit setReadonly/setDisabled
  • introduced Input::toggles

fixes #37, refs #21

df3b00ba 03/28/2015 12:20 PM Sjon Hortensius

Merge branch 'form-element' of https://github.com/psophis/pfsense into psophis-form-element

214a9c33 03/28/2015 12:07 PM Sjon Hortensius

Proof of concept for Form_IpAddress that shows a mask-selector too

refs #23

8a197e58 03/22/2015 08:09 PM Thane Gill

Move attribute to Form_Element

- Removes redundant code
- Adds the ability to remove attributes
- Can now add attributes to Form
- getHtmlAttribute() returns all attributes including class

Conflicts:
usr/local/www/classes/Form/Button.class.php
usr/local/www/classes/Form/Select.class.php

a8a4a7e3 03/22/2015 04:55 PM Sjon Hortensius

Select - fix selected for multiple (again), correct order in js

7818caff 03/22/2015 12:41 PM Sjon Hortensius

Button - fix title when not <a>, Input - no need for tempvar

d9575672 03/22/2015 12:40 PM Sjon Hortensius

Add copyright headers to Form classes

0c843a9c 03/15/2015 08:47 PM Sjon Hortensius

Minor fixes in forms, introduce Textarea

Button - make sure we correctly escape link & text
Select - with multiple selected values; look at keys instead of values
StaticText - switch Input::__construct args
Textarea - introduce

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