Revision 2942
Added by Matt Jones over 18 years ago
knp.js | ||
---|---|---|
87 | 87 |
|
88 | 88 |
// Location of the header that will be displayed at the top of the page |
89 | 89 |
var HEADER_URL |
90 |
= "http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/header.html";
|
|
90 |
= "@systemidserver@/@context@@style-skins-relpath@/knp/header.jsp";
|
|
91 | 91 |
|
92 | 92 |
// Location of the search box that will be displayed above the |
93 | 93 |
// results on the results page (optional) |
... | ... | |
102 | 102 |
// Location of the header that will be displayed at the top of the page |
103 | 103 |
var RIGHTCOL_URL |
104 | 104 |
= ""; |
105 |
//= "http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html"; |
|
106 | 105 |
|
107 | 106 |
// Location of the header that will be displayed at the top of the page |
108 | 107 |
var FOOTER_URL |
... | ... | |
126 | 125 |
// The following variables set the names of the styles that will be applied to |
127 | 126 |
// each of the iframes - they can be anythign you wish, provided you use the |
128 | 127 |
// same names for your classes in the css file |
129 |
// NOTE: these styles apply only to each container frame, *NOT* to the document
|
|
128 |
// NOTE: these styles apply only to each container frame, *NOT* to the document |
|
130 | 129 |
// within it! |
131 | 130 |
//////////////////////////////////////////////////////////////////////////////// |
132 | 131 |
|
Also available in: Unified diff
Factored out the search forms into javascript variables in a new
common-settings.jsp file which is referenced from the KNP skin. This
allows us to use the same form 3 times in different pages and makes
maintenance of the returndoctype and returnfield lists easier. The
common-settings.jsp can be shared across skins and so it will help us to
centralize the changes needed for FGDC support across all of the skins.
To do this, had to change the index page in the KNP skin from an HTML
document to JSP (index.jsp). Added a redirect for the index.jsp.
When merging code with Anderson's prior checkins to the index.html file,
found that he had replaced several ant tokens with hardcoded values for
nebulous -- I set these back to the ant tokens to get paths correct on
multiple installations. The new "map" seciton that anderson added still
has a hard-coded value pointing to nebulous which should be changed to
an ant token in the build asap.