Project

General

Profile

« Previous | Next » 

Revision 2939

Added by anderson over 18 years ago

the latest changes to the KNP skin for the map.

View differences:

lib/style/skins/knp/knp.css
54 54

  
55 55
.iframesearchboxclass { /* not used */ }
56 56
.iframeleftcolclass  { /* not used */ }
57
.iframerightcolclass { 
58
    position: fixed;
57
.iframefooterclass   { /* not used */ 
58
}
59
.iframerightcolclass   { /* not used */ }
60

  
61
td.mapColumn {
62
  vertical-align: top;
63
}
64

  
65
#mapFrame { 
66
    height: 59em;
67
    border-width: 0px;
68
	vertical-align: top;
69
	/*
70
	position: fixed;
59 71
    right: 0px;
60 72
    top: 0px;
61 73
    width: 35px;
62
    height: 50em;
63
    border: 0px solid #525d76;
64
	background: transparent;
74
	*/
65 75
}
66 76

  
67
.iframefooterclass   { /* not used */ }
68
#mapTable { 
77
#mapFrame {
78
	/* IE5.5+/Win */
79
	/*
80
	position: absolute;
81
	right: expression( (0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px');
82
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
83
    width: 80px;
84
		   */
69 85
}
70 86

  
87
body > table td #mapFrame {
88
	/* used by Netscape6+/Mozilla, Opera 5+, Konqueror, Safari, OmniWeb 4.5+, ICEbrowser */
89
    width: 290px;
90

  
91

  
92
/*
93
	position: fixed;
94
    right: -3px;
95
    top: 0px;
96
    width: 35px;
97
	*/
98
}
99

  
100

  
101

  
102

  
103

  
104

  
71 105
/**
72 106
 *  create a left margin for the document
73 107
 */
......
92 126
  border:   0px;
93 127
  padding:  0px;
94 128
  margin:   0px;
129
  width: 100%;
95 130
}
96 131

  
97 132

  
lib/style/skins/knp/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
  = "@systemidserver@/@context@@style-skins-relpath@/knp/header.html";
90
  = "http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/header.html";
91 91

  
92 92
// Location of the search box that will be displayed above the  
93 93
//  results on the results page (optional)
94 94
var SEARCHBOX_URL 
95 95
  = "";
96
  //= "@systemidserver@/@context@@style-skins-relpath@/knp/searchform.html";
96
  //= "http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/searchform.html";
97 97

  
98 98
//  Location of the header that will be displayed at the top of the page
99 99
var LEFTCOL_URL 
......
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";
105 106
  
106 107
//  Location of the header that will be displayed at the top of the page
107 108
var FOOTER_URL 
lib/style/skins/knp/map.css
28 28
  */
29 29
#mapContainer {
30 30
    position: absolute;
31
    right: -212px;
31
    right: 0px;
32 32
    top: 0px;
33
    width: 247px;
33
		 /*
34
    width: 290px;
35
	*/
34 36
}
35 37

  
36

  
37 38
#mapControl {
38
	/*
39
    position: absolute;
40
    top:200px;
41
    left: -32px;
42
    z-index: 100;
43
	*/
44
	height: 100%;
39
	height: 48px;
45 40
	width: 31px;
46 41
}
47 42

  
......
49 44
div#mapControlShow {
50 45
	width: 100%;
51 46
	height: 100%;
47
	vertical-align: center;
52 48
}
53 49

  
54 50
div#mapControl a {
55 51
	display: block;
56 52
	margin: 0; padding:0;
57
	width:100%; height:100%;
53
	width:100%;
54
	height:100%;
58 55
	overflow:hidden;
59 56
}
60 57

  
58

  
59
div#mapControlShow {
60
	background: transparent url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/show_map.gif) no-repeat bottom left;
61
}
62

  
63
div#mapControlHide {
64
	background: transparent url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/hide_map.gif) no-repeat bottom left;
65
}
66

  
61 67
div#mapControlShow a {
62
	/* active */
63
	background: transparent url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/left_arrow.gif) no-repeat center center;
68
	background: transparent url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/show_map.gif) no-repeat top left;
64 69
}
65 70
div#mapControlHide a {
66
	/* active */
67
	background: transparent url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/right_arrow.gif) no-repeat center center;
71
	background: transparent url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/hide_map.gif) no-repeat top left;
68 72
}
73
div#mapControlShow a:hover,
74
div#mapControlHide a:hover {
75
	background:none;
76
	text-decoration: none;
77
}
69 78

  
79
/*
80
div#mapControlShow a {
81
	background: #efefef url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/left_arrow.gif) no-repeat center center;
82
}
83
div#mapControlHide a {
84
	background: #efefef url(http://nebulous.msi.ucsb.edu:8080/geoserver/data/mbdemos/demo/metacat_wfs/right_arrow.gif) no-repeat center center;
85
}
86

  
70 87
div#mapControlShow a:hover,
71 88
div#mapControlHide a:hover {
72
	background-color: #efefef;
89
	background-color: #e0e0e0 ;
73 90
	text-decoration: none;
74 91
}
75

  
92
*/
lib/style/skins/knp/index.html
29 29
<html>
30 30
<head>
31 31
<title>KNP Data Repository</title>
32
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css">
32
<link rel="stylesheet" href="/knp/style/default.css" type="text/css">
33 33
  <link rel="stylesheet" type="text/css" 
34
        href="@systemidserver@@style-skins-path@/knp/knp.css"></link>
34
        href="http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/knp.css"></link>
35 35
  <script language="JavaScript" type="text/JavaScript"
36
          src="@systemidserver@@style-skins-path@/knp/knp.js"></script>
36
          src="http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/knp.js"></script>
37 37
  <script language="JavaScript" type="text/JavaScript"
38
          src="@systemidserver@@style-common-path@/branding.js"></script>
38
          src="http://nebulous.msi.ucsb.edu:9999/knp/style/common/branding.js"></script>
39 39
</head>
40 40
<body>
41
      <script language="JavaScript">
42
          insertTemplateOpening();
43
          insertSearchBox();
44
      </script>
45
<table width="760" border="0" cellspacing="0" cellpadding="0">
46
  <tr><td colspan="5">
41
<script language="JavaScript">
42
function getMapFrame() {
43
	return document.getElementById('mapFrame');
44
}
45
insertTemplateOpening();
46
insertSearchBox();
47
</script>
48
<table width="100%" border="0" cellspacing="0" cellpadding="0">
49
  <tr><td colspan="1" style="padding-right:60px">
47 50
<p>
48 51
Welcome to the Kruger National Park Data Repository. This is the primary source for
49 52
comprehensive information about scientific and research data sets collected
......
55 58
<menu>
56 59
<li><span class="searchbox">Search for Data</span><br />
57 60
    <menu>
58
<form method="POST" action="@servlet-path@" target="_top">
61
<form method="POST" action="/knp/metacat" target="_top">
59 62
  <input value="INTERSECT" name="operator" type="hidden">   
60 63
  <input size="14" name="anyfield" type="text" value="">
61 64
  <!--<input name="organizationName" value="Kruger National Park" type="hidden">-->
......
92 95
      biodiversity embedded within it).
93 96
      </menu>
94 97
  <p>&nbsp;</p>
95
  <li><a href="@servlet-path@?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;qformat=knp&amp;enableediting=false&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=metadata&amp;returnfield=dataset/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;returnfield=idinfo/citation/citeinfo/title&amp;returnfield=idinfo/citation/citeinfo/origin&amp;returnfield=idinfo/keywords/theme/themekey">Browse existing KNP data sets</a><br />
98
  <li><a href="/knp/metacat?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;qformat=knp&amp;enableediting=false&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=metadata&amp;returnfield=dataset/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;returnfield=idinfo/citation/citeinfo/title&amp;returnfield=idinfo/citation/citeinfo/origin&amp;returnfield=idinfo/keywords/theme/themekey">Browse existing KNP data sets</a><br />
96 99
    <menu>
97 100
    Browse all existing data sets by title.  This operation can be slow as the
98 101
    number of entries in the repository grows.
99 102
    </menu>
100 103
  </li>
101
  <p>&nbsp;</p>
102
  <li><a href="@cgi-prefix@/mapserv?map=/var/www/html/mapserver/kruger/kruger5.map&mode=browse">View a map of KNP data sets</a><br />
103
    <menu>
104
    Browse all existing KNP data sets on a map including various environmental
105
    data layers.
106
    </menu>
107
  </li>
108 104
<!--
109 105
  <p>&nbsp;</p>
110
  <li><a href="@cgi-prefix@/register-dataset.cgi?cfg=knp">Register a new KNP 
106
  <li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/register-dataset.cgi?cfg=knp">Register a new KNP 
111 107
       data set</a><br />
112 108
    <menu>
113 109
      The registration page is used to submit information about a <b>new</b>
......
126 122
  <li>Login
127 123
  <br />
128 124
  <menu>
129
  <form name="loginform" method="post" action="@servlet-path@"
125
  <form name="loginform" method="post" action="/knp/metacat"
130 126
  target="_top" onsubmit="return submitform(this);" id="loginform">
131 127
    <input type="hidden" name="action" value="login"> <input type=
132 128
    "hidden" name="username" value=""> <input type="hidden" name=
......
182 178
  </li>
183 179
  <p>&nbsp;</p>
184 180
  <li>Manage your account
185
   <!-- <a href="@cgi-prefix@/ldapweb.cgi?cfg=knp">Create a new account</a> -->
181
   <!-- <a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp">Create a new account</a> -->
186 182
    <ul>
187
        <li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&amp;stage=changepass">Change your password</a>
188
        <li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&amp;stage=resetpass">Reset your password</a>
183
        <li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp&amp;stage=changepass">Change your password</a>
184
        <li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp&amp;stage=resetpass">Reset your password</a>
189 185
    </ul>
190 186
    <br />
191 187
    <menu>
......
196 192
  </li>
197 193
</menu>
198 194
</p>
195
  </td>
196
  <td class="mapColumn" rowspan="2" style="vertical-align:top">
197
	<iframe src="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" class="mapFrame" 
198
	id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0" framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no">Your browser does not support the iframe tag. &lt;a href="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" target="_blank"&gt;This content&lt;/a&gt; should have been displayed at this location</iframe>
199 199
  </td></tr>
200 200
  <tr><td>
201 201
    <p>
......
222 222
    SpecNet registry</a>  </li>
223 223
    </ul>
224 224
    </p>
225
  </td></tr>
225
  </td>
226

  
227

  
228
</tr>
226 229
</table>
230

  
227 231
<p>&nbsp;</p>
232

  
233
</td>
234

  
228 235
<script language="JavaScript">          
229 236
    insertTemplateClosing();
230 237
</script>
238
</tr>
239
</table>
240

  
231 241
</body>
232 242
</html>

Also available in: Unified diff