From 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Fri, 6 Feb 2009 19:18:00 -0600 Subject: mv packages to config dir to match web layout --- config/cg2/sample/sample_ui.xml | 156 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 config/cg2/sample/sample_ui.xml (limited to 'config/cg2/sample/sample_ui.xml') diff --git a/config/cg2/sample/sample_ui.xml b/config/cg2/sample/sample_ui.xml new file mode 100644 index 00000000..aebe8bfe --- /dev/null +++ b/config/cg2/sample/sample_ui.xml @@ -0,0 +1,156 @@ + + +2.0 +sample + +sample.inc + +sample.js + + + form + sample_on_load_event + sample_on_sync_event + + header + + + + textbox + mytextbox + + This is a textbox. + Welcome to the world of coregui 2.0 + + + + ipsec_select + ipsec + + IPsec selection widget test. + + + + select + sample_sel + + + + + + interfaces_select + inter_sel + + + + + textarea + mytextarea + + Just testing descriptions... + This widget can not be edited! + + + + checkbox + mycheckbox + + Check this nice checkbox + Now checkboxes can have a caption as well. + _('hey, this is only meant for quick and dirty stuff, do NOT implement anything longer than 2 or 3 commands here! Btw, i was clicked.'); + + + submit + mysubmit + Send something + sample_on_submit_event + + + + button + mybutton + Cancel something + The description for the last element in a group is the description that matters. + _('Hi, don\'t abuse me, use include_javascript instead!'); + + + + textbox + dummydummy + + + + + checkbox + anothercheckbox + + Enable + Another checkbox, this time after a group, and disabled. + + + + + + table + move,edit,delete,add + sample_on_apply_event + + checkbox + dummycheckbox + + + + port + dummyport + + Enter a port here. + 3128 + + + + textbox + dummysetting + + This dummy setting will not show up in the table. + + + + textarea + longfield + + Very very very very very long field. + + + + + + form + + header + + + + button + mybutton + + Another silly button + + + + + table + + + + + + + + + -- cgit v1.2.3