Revision 4da40839
Added by Andreas Kohlbecker about 13 years ago
src/main/webapp/index.jsp | ||
---|---|---|
52 | 52 |
<div class="block" id="datasources"> |
53 | 53 |
<h2 class="title block-title pngfix">CDM Server Instances</h2> |
54 | 54 |
<table> |
55 |
<tr><th>Path</th><th>Database Url</th><th>Status</th><th>OAI-PMH Provider</th></tr> |
|
55 |
<tr><th>Path</th><th> </th><th>Database Url</th><th>Status</th><th>OAI-PMH Provider</th></tr>
|
|
56 | 56 |
<% |
57 | 57 |
// the servelt context must use the class loader of the Bootloader class otherwise |
58 | 58 |
// getting the status will not work in mulithreading environments !!! |
... | ... | |
72 | 72 |
String noBottomBorder = props.getStatus().equals(CdmInstanceProperties.Status.error) ? " style=\"border-bottom:none;\"" : ""; |
73 | 73 |
|
74 | 74 |
out.append("<tr class=\"entry " + oddOrEven + "\" " +noBottomBorder+ ">"); |
75 |
out.append("<td class=\"base-url\"><a href=\"" + fullURL + "/portal/classification\">" + basePath + "</a></td>"); |
|
75 |
out.append("<td class=\"base-url\"><a href=\"" + fullURL + "\">" + basePath + "</a></td>"); |
|
76 |
out.append("<td class=\"test-url\"><a href=\"" + fullURL + "/portal/classification\">Test</a></td>"); |
|
76 | 77 |
out.append("<td class=\"db-url\">" + props.getUrl() + "</td>"); |
77 | 78 |
out.append("<td class=\"status " + props.getStatus() + "\">" + props.getStatus() + "</td>"); |
78 | 79 |
|
Also available in: Unified diff
improved error reporting and fixing #2193