Project

General

Profile

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

# Date Author Comment
e22512fc 05/02/2015 12:41 PM Sjon Hortensius

ensure gettext and htmlspecialchars are correctly called

4b219dfd 04/30/2015 12:51 PM Sjon Hortensius

introduce Form::setMultipartEncoding() for uploading files

45d6ada5 04/28/2015 11:54 AM Sjon Hortensius

Revert "Merge pull request #100 from sbeaver-netgate/halt"

This reverts commit 5bd406696ae634b3993d79a8b9aef03eeab42488, reversing
changes made to b9bd62735f2afb818d9ff3afd399c6c7d3b904c5.

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

Prepare for different width, make widths static

refs #141

9ba6f708 04/25/2015 02:17 PM Sjon Hortensius

Form - show all global Buttons in a single wrapper

fixes #135

06da0d4e 04/02/2015 06:43 PM Sjon Hortensius

Merge branch 'sbeaver-netgate-diag_dns' into bootstrap

- refactored Form_Table to plain html
- put results below form
- reverted a few unintentional changes

28e7026c 04/02/2015 05:53 PM Sjon Hortensius

Merge branch 'diag_dns' of git://github.com/sbeaver-netgate/pfsense into sbeaver-netgate-diag_dns

156543ee 04/01/2015 07:09 PM sbeaver

Combo changes to support diag_dns.php

6e23e8d5 04/01/2015 07:04 PM sbeaver

Version allows button to be suppressed

3e7e26c6 04/01/2015 02:52 PM sbeaver

Allow "Save" button to be suppressed

new Form(false) suppresses the “Save” button so that you can then add
your won custom button.

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

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