From 49584d6efc6a10fa0b76ce81b2638d424f2208a8 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 23 Aug 2010 22:32:23 -0400 Subject: hashchange We now catch the hashchange event and use that to drive most of the site. To trigger page transitions, modify location.hash. Params start with # not ?. Removed user-group.inc. converted tabs to spaces trivial imlementation of add and details for netgroup and hostgroup lots of bug fixes based on routing problems and the refactorings. --- install/static/sampledata/hostgroupshow.json | 17 +++++++++++++++++ install/static/sampledata/netgroupshow.json | 26 ++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 install/static/sampledata/hostgroupshow.json create mode 100644 install/static/sampledata/netgroupshow.json (limited to 'install/static/sampledata') diff --git a/install/static/sampledata/hostgroupshow.json b/install/static/sampledata/hostgroupshow.json new file mode 100644 index 000000000..cddc41ff6 --- /dev/null +++ b/install/static/sampledata/hostgroupshow.json @@ -0,0 +1,17 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "cn": [ + "host-live" + ], + "description": [ + "Live servers" + ], + "dn": "cn=host-live,cn=hostgroups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com" + }, + "summary": null, + "value": "host-live" + } +} \ No newline at end of file diff --git a/install/static/sampledata/netgroupshow.json b/install/static/sampledata/netgroupshow.json new file mode 100644 index 000000000..05334480d --- /dev/null +++ b/install/static/sampledata/netgroupshow.json @@ -0,0 +1,26 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "cn": [ + "net-live" + ], + "description": [ + "live servers" + ], + "dn": "ipauniqueid=51451097-abef-11df-ad3a-525400674dcd,cn=ng,cn=alt,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "memberhost_hostgroup": [ + "host-live" + ], + "memberuser_group": [ + "muppets" + ], + "nisdomainname": [ + "ayoung.boston.devel.redhat.com" + ] + }, + "summary": null, + "value": "net-live" + } +} \ No newline at end of file -- cgit