aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cg2/sample
diff options
context:
space:
mode:
authorFernando Lemos <fernandotcl@pfsense.org>2006-08-09 17:39:32 +0000
committerFernando Lemos <fernandotcl@pfsense.org>2006-08-09 17:39:32 +0000
commitaf4a5f8a2796ec10aeaee96d66fb339be18e58ff (patch)
tree3b5765d924f7bf7a4288f5c559e3ae767c00c2b7 /packages/cg2/sample
parentcc1ee8038b125f4f18a484bbaf2e5e880425354b (diff)
downloadpfsense-packages-af4a5f8a2796ec10aeaee96d66fb339be18e58ff.tar.gz
pfsense-packages-af4a5f8a2796ec10aeaee96d66fb339be18e58ff.tar.bz2
pfsense-packages-af4a5f8a2796ec10aeaee96d66fb339be18e58ff.zip
A few important changes here and there. Now all selects work (including the IPsec selection widget, broken since pkg_edit.php), and some other minor stuff. A few bug fixes and cleaned up the code a bit.
Diffstat (limited to 'packages/cg2/sample')
-rw-r--r--packages/cg2/sample/sample_ui.xml28
1 files changed, 27 insertions, 1 deletions
diff --git a/packages/cg2/sample/sample_ui.xml b/packages/cg2/sample/sample_ui.xml
index f862b103..998ba179 100644
--- a/packages/cg2/sample/sample_ui.xml
+++ b/packages/cg2/sample/sample_ui.xml
@@ -18,11 +18,37 @@
<type>textbox</type>
<name>mytextbox</name>
<label>My fancy textbox</label>
- <description>This is a textbox</description>
+ <description>This is a textbox.</description>
<value>Welcome to the world of coregui 2.0</value>
<required/>
</widget>
<widget>
+ <type>ipsec_select</type>
+ <name>ipsec</name>
+ <label>IPsec selection</label>
+ <description>IPsec selection widget test.</description>
+ <multiple/>
+ </widget>
+ <widget>
+ <type>select</type>
+ <name>sample_sel</name>
+ <label>Sample selection</label>
+ <option>
+ <name>foo</name>
+ <label>Foo</label>
+ </option>
+ <option>
+ <name>bar</name>
+ <label>Bar</label>
+ </option>
+ </widget>
+ <widget>
+ <type>interfaces_select</type>
+ <name>inter_sel</name>
+ <label>Sample interfaces select</label>
+ <multiple/>
+ </widget>
+ <widget>
<type>textarea</type>
<name>mytextarea</name>
<label>My fancy textarea</label>