X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Ftabs.vm;fp=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Ftabs.vm;h=da19cbc0b76233c3ba2f91bba2abb24550b17f4f;hp=0000000000000000000000000000000000000000;hb=df39a9c5d2f4247b0682f2c6cf0d64b22edfaadd;hpb=8373b5d73c5a09872b07edb5c23b76a7f07fd055 diff --git a/zookeeper/solr/collection1/conf/velocity/tabs.vm b/zookeeper/solr/collection1/conf/velocity/tabs.vm new file mode 100644 index 0000000..da19cbc --- /dev/null +++ b/zookeeper/solr/collection1/conf/velocity/tabs.vm @@ -0,0 +1,50 @@ +#** + * Provides navigation/access to Advanced search options + * Usually displayed near the top of the page + *# + +##TODO: Make some nice tabs here + +#set($queryOpts = $params.get("queryOpts")) + +
+ + Type of Search: + + ##queryOpts=$queryOpts + + ## return to Simple Search + ##set( $selected = ($queryOpts && $queryOpts != "") ) + #set( $selected = ! $queryOpts ) + + #if($selected) + Simple + #else + + Simple + #end + + + ## GEO-Spatial / Location Based + #set( $selected = ($queryOpts == "spatial") ) + + #if($selected) + Spatial + #else + + Spatial + #end + + + ## Group By Field + #set( $selected = ($queryOpts == "group") ) + + #if($selected) + Group By + #else + + Group By + #end + + +