diff options
author | Adam Young <ayoung@redhat.com> | 2010-10-13 13:07:43 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-10-15 12:51:30 -0400 |
commit | acf5f9cad7438268148dff6c6b74d8c63048409a (patch) | |
tree | 04b5c2bd2529c68f7ec3cb59bb7f2f0cf19417be /install/static/serverconfig.js | |
parent | 538646c04ccbbef8249da3705eb455e63d075589 (diff) | |
download | freeipa-acf5f9cad7438268148dff6c6b74d8c63048409a.tar.gz freeipa-acf5f9cad7438268148dff6c6b74d8c63048409a.tar.xz freeipa-acf5f9cad7438268148dff6c6b74d8c63048409a.zip |
multivalue fixes
metadata for phone numbers
test date for users
Undo works for multivalue
JQuery UI buttons have custom classes
inputs/fields are now managed inside of objects
removed the use of .call. as it was confusing the issue of
mismatched parameter lists.
Fixed the parameter lists, too.
Diffstat (limited to 'install/static/serverconfig.js')
-rw-r--r-- | install/static/serverconfig.js | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/install/static/serverconfig.js b/install/static/serverconfig.js index 1d25a3b08..a73eb1349 100644 --- a/install/static/serverconfig.js +++ b/install/static/serverconfig.js @@ -37,13 +37,13 @@ ipa_entity_set_add_definition('aci', [ ]); ipa_entity_set_details_definition('aci', [ - {name:'ipaserver', label:'Aci Details', fields:[ - {name:'cn', label:'Name'}, - {name:'description', label:'Description'} - ]} + ipa_stanza({name:'ipaserver', label:'Aci Details'}). + input({name:'cn', label:'Name'}). + input({name:'description', label:'Description'}) ]); + /* Taskgroup*/ ipa_entity_set_search_definition('taskgroup', [ @@ -59,11 +59,11 @@ ipa_entity_set_add_definition('taskgroup', [ ] ]); + ipa_entity_set_details_definition('taskgroup', [ - {name:'ipaserver', label:'Taskgroup Details', fields:[ - {name:'cn', label:'Name'}, - {name:'description', label:'Description'} - ]} + ipa_stanza({name:'ipaserver', label:'Taskgroup Details'}). + input({name:'cn', label:'Name'}). + input({name:'description', label:'Description'}) ]); ipa_entity_set_association_definition('rolegroup', { @@ -89,10 +89,9 @@ ipa_entity_set_add_definition('rolegroup', [ ]); ipa_entity_set_details_definition('rolegroup', [ - {name:'ipaserver', label:'Rolegroup Details', fields:[ - {name:'cn', label:'Name'}, - {name:'description', label:'Description'} - ]} + ipa_stanza({name:'ipaserver', label:'Rolegroup Details'}). + input({name:'cn', label:'Name'}). + input({name:'description', label:'Description'}) ]); ipa_entity_set_association_definition('rolegroup', { @@ -101,18 +100,18 @@ ipa_entity_set_association_definition('rolegroup', { /* Configuration */ ipa_entity_set_details_definition('config',[ - {name:'ipaserver', label:'Configuration', fields:[ - {name:'cn', label:'Name'}, - {name:'description', label:'Description'}, - {name:'ipacertificatesubjectbase', label:'Certificat Subject Base'}, - {name:'ipadefaultloginshell', label:'Default Login Shell'}, - {name:'ipadefaultprimarygroup', label:'Default Primary Group'}, - {name:'ipagroupsearchfields', label:'Group Search Fields'}, - {name:'ipahomesrootdir', label:'Home Root Dir'}, - {name:'ipamaxusernamelength', label:'Max Username Length'}, - {name:'ipamigrationenabled', label:'Migration enabled?'}, - {name:'ipasearchrecordslimit', label:'Search Record Limit'}, - {name:'ipasearchtimelimit', label:'Search Time Limit'}, - {name:'ipausersearchfields', label:'User Search Fields'} - ]} + + ipa_stanza({name:'ipaserver', lable:'Configuration'}). + input({name:'cn', label:'Name'}). + input({name:'description', label:'Description'}). + input({name:'ipacertificatesubjectbase', label:'Certificat Subject Base'}). + input({name: 'ipadefaultloginshell', label:'Default Login Shell'}). + input({name:'ipadefaultprimarygroup', label:'Default Primary Group'}). + input({name:'ipagroupsearchfields', label:'Group Search Fields'}). + input({name:'ipahomesrootdir', label:'Home Root Dir'}). + input({name:'ipamaxusernamelength', label:'Max Username Length'}). + input({name:'ipamigrationenabled', label:'Migration enabled?'}). + input({name:'ipasearchrecordslimit', label:'Search Record Limit'}). + input({name:'ipasearchtimelimit', label:'Search Time Limit'}). + input({name:'ipausersearchfields', label:'User Search Fields'}) ]); |