Project

General

Profile

Download (2.94 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
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

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

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

Add copyright headers to Form classes

a41cf2da 03/08/2015 06:06 PM Sjon Hortensius

Form - add setAction for adding custom _GET parameters

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

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

fixes #11

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

ee027864 03/07/2015 11:38 AM Sjon Hortensius

moved setSubmit to addGlobal, to be used for hidden inputs

fixes #10, #11

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

b40bcb23 01/26/2015 04:38 PM Sjon Hortensius

New POC for generating forms through PHP classes

reduce the amount of html c/ping by keeping the amount of
meta-data limited