Revision bff344ce
Added by Andreas Kohlbecker almost 12 years ago
src/main/webapp/index.jsp | ||
---|---|---|
7 | 7 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
8 | 8 |
|
9 | 9 |
<head> |
10 |
<title>CDM Server</title>
|
|
11 |
<meta http-equiv="refresh" content="3; URL=/" />
|
|
12 |
<link type="text/css" rel="stylesheet" media="all" href="/css/style.css" />
|
|
13 |
<link type="text/css" rel="stylesheet" media="all" href="/css/server.css" />
|
|
14 |
<script type="text/javascript" src="/js/jquery.js"></script>
|
|
15 |
<script type="text/javascript" src="/js/oai-pmh-status.js"></script>
|
|
10 |
<title>CDM Server</title>
|
|
11 |
<meta http-equiv="refresh" content="3; URL=/" />
|
|
12 |
<link type="text/css" rel="stylesheet" media="all" href="css/style.css" />
|
|
13 |
<link type="text/css" rel="stylesheet" media="all" href="css/server.css" />
|
|
14 |
<script type="text/javascript" src="js/jquery.js"></script>
|
|
15 |
<script type="text/javascript" src="js/oai-pmh-status.js"></script>
|
|
16 | 16 |
</head> |
17 | 17 |
<body class="layout-main"> |
18 | 18 |
<div id="page" class="clearfix"> |
... | ... | |
21 | 21 |
<div id="header-first"> |
22 | 22 |
<div id="logo"> |
23 | 23 |
</div> |
24 |
<h1>CDM Server</h1>
|
|
24 |
<h1>CDM Server</h1>
|
|
25 | 25 |
</div><!-- /header-first --> |
26 | 26 |
</div><!-- /header --> |
27 | 27 |
</div><!-- /header-wrapper --> |
28 |
|
|
28 |
|
|
29 | 29 |
<div id="primary-menu-wrapper" class="clearfix"> |
30 | 30 |
<div id="primary-menu"> |
31 | 31 |
</div><!-- /primary_menu --> |
... | ... | |
33 | 33 |
|
34 | 34 |
<div id="main-wrapper"> |
35 | 35 |
<div id="main" class="clearfix"> |
36 |
|
|
36 |
|
|
37 | 37 |
<div id="sidebar-first"> |
38 | 38 |
</div><!-- /sidebar-first --> |
39 | 39 |
|
40 | 40 |
<div id="content-wrapper"> |
41 | 41 |
<div id="content"> |
42 |
<!-- ============================= -->
|
|
43 |
<div class="block-wrapper">
|
|
44 |
<h2 class="title block-title pngfix">Server Status</h2>
|
|
45 |
<div class="block" id="status">
|
|
46 |
Status: <div class="status_value">RUNNING</div>
|
|
47 |
</div>
|
|
48 |
</div>
|
|
49 |
<div class="block-wrapper">
|
|
50 |
Actions:
|
|
51 |
<ul>
|
|
52 |
<li><a href="manage/index.jsp">EDIT CDM-Server management (login required!)</a></li>
|
|
53 |
</ul>
|
|
54 |
</div>
|
|
55 |
<!-- ============================= -->
|
|
42 |
<!-- ============================= -->
|
|
43 |
<div class="block-wrapper">
|
|
44 |
<h2 class="title block-title pngfix">Server Status</h2>
|
|
45 |
<div class="block" id="status">
|
|
46 |
Status: <div class="status_value">RUNNING</div>
|
|
47 |
</div>
|
|
48 |
</div>
|
|
49 |
<div class="block-wrapper">
|
|
50 |
Actions:
|
|
51 |
<ul>
|
|
52 |
<li><a href="manage/index.jsp">EDIT CDM-Server management (login required!)</a></li>
|
|
53 |
</ul>
|
|
54 |
</div>
|
|
55 |
<!-- ============================= -->
|
|
56 | 56 |
</div><!-- /content --> |
57 | 57 |
</div><!-- /content-wrapper --> |
58 |
|
|
58 |
|
|
59 | 59 |
<div id="footer" class="clearfix"> |
60 |
The CDM Server is a component of the <a href="http://wp5.e-taxonomy.eu/">EDIT Platform for Cybertaxonomy</a>.
|
|
60 |
The CDM Server is a component of the <a href="http://wp5.e-taxonomy.eu/">EDIT Platform for Cybertaxonomy</a>.
|
|
61 | 61 |
</div><!-- /footer --> |
62 |
|
|
62 |
|
|
63 | 63 |
</div><!-- /main --> |
64 | 64 |
</div><!-- /main-wrapper --> |
65 | 65 |
</div><!-- /page --> |
src/main/webapp/manage/index.jsp | ||
---|---|---|
35 | 35 |
<head> |
36 | 36 |
<title>CDM Server</title> |
37 | 37 |
<meta http-equiv="refresh" content="3; URL=index.jsp" /> |
38 |
<link type="text/css" rel="stylesheet" media="all" href="/css/style.css" /> |
|
39 |
<link type="text/css" rel="stylesheet" media="all" href="/css/server.css" /> |
|
40 |
<script type="text/javascript" src="/js/jquery.js"></script> |
|
41 |
<script type="text/javascript" src="/js/oai-pmh-status.js"></script> |
|
38 |
<link type="text/css" rel="stylesheet" media="all" href="../css/style.css" />
|
|
39 |
<link type="text/css" rel="stylesheet" media="all" href="../css/server.css" />
|
|
40 |
<script type="text/javascript" src="../js/jquery.js"></script>
|
|
41 |
<script type="text/javascript" src="../js/oai-pmh-status.js"></script>
|
|
42 | 42 |
</head> |
43 | 43 |
<body class="layout-main"> |
44 | 44 |
<div id="page" class="clearfix"> |
... | ... | |
89 | 89 |
int i = 0; |
90 | 90 |
for(CdmInstanceProperties props : configAndStatus){ |
91 | 91 |
i++; |
92 |
String basePath = "/" + props.getDataSourceName(); |
|
92 |
|
|
93 |
String basePath = request.getContextPath() + "/" + props.getDataSourceName(); |
|
93 | 94 |
URL fullURL = new URL(request.getScheme(), |
94 | 95 |
request.getServerName(), |
95 | 96 |
request.getServerPort(), |
Also available in: Unified diff
fixing absolute urls