diff options
Diffstat (limited to 'install/static/host.js')
-rw-r--r-- | install/static/host.js | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/install/static/host.js b/install/static/host.js deleted file mode 100644 index ae672b85b..000000000 --- a/install/static/host.js +++ /dev/null @@ -1,46 +0,0 @@ -function setupHost(facet){ - if (facet == "details"){ - setupHostDetails(); - }else{ - setupHostSearch(); - } -} - - - - -function setupHostDetails(){ - var detailsForm = new DetailsForm(); -} - - -function setupHostSearch(){ - - sampleData = "sampledata/hostlist.json"; - var columns = [ - {title:"Host",column:"fqdn",render: function(current,cell){ - renderDetailColumn(current,cell,current[this.column],"group"); - }}, - {title:"Comment", column: "description", render: renderSimpleColumn}, - {title:"Enrolled?", render: renderUnknownColumn}, - {title:"Manages?", render: renderUnknownColumn} - ]; - - - var hostSearchForm = new SearchForm("host", "find", columns); - - $("#query").unbind(); - $("#query").click(function(){ - sampleData = "sampledata/hostlist.json"; - executeSearch(hostSearchForm); - }); - - $("#new").unbind(); - $("#new").click( function() { - alert("New Host..."); - }); - - -} - -
\ No newline at end of file |