<html>
<head>
<title>StatView - Webkonfiguration</title>
<style type="text/css">
body {
text-align: center;
}
p {
margin: 5px;
font-family: Tahoma;
font-size: 10pt;
}
p.value {
text-align: right;
}
a {
color: #000000;
font-family: Tahoma;
font-size: 10pt;
text-decoration: underline;
}
table {
width: 80%;
}
td.caption {
width: 50%;
}
#main {
border: solid 1px #000000;
width: 800px;
height: 600px;
text-align: left;
}
</style>
<script type="text/javascript">
function showXY() {
document.getElementById("sctc").Value = document.getElementById("sct").options[document.getElementById("sct").selectedIndex].value;
}
</script>
</head>
<body>
<div id="main">
<fieldset>
<legend><p>SQL-Verbindung</p></legend>
<table align="center">
<tr>
<td class="caption"><p>Hostadresse:</p></td>
<td><p class="value"><input type="text" name="sql-connection-host" value="$sqlConnectionHost"></p></td>
</tr>
<tr>
<td class="caption"><p>Portnummer:</p></td>
<td><p class="value"><input type="text" name="sql-connection-port" value="$sqlConnectionPort"></p></td>
</tr>
<tr>
<td class="caption"><p>Benutzername:</p></td>
<td><p class="value"><input type="text" name="sql-connection-user" value="$sqlConnectionUser"></p></td>
</tr>
<tr>
<td class="caption"><p>Passwort:</p></td>
<td><p class="value"><input type="password" name="sql-connection-pass" value="$sqlConnectionPass"></p></td>
</tr>
</table>
</fieldset>
<p> </p>
<fieldset>
<legend><p>SQL Inhalt</p></legend>
<table align="center">
<tr>
<td class="caption"><p>Datenbank:</p></td>
<td><p class="value"><input type="text" name="sql-content-db" value="$sqlContentDb"></p></td>
</tr>
<tr>
<td class="caption"><p>Tabellen:</p></td>
<td>
<p class="value">
<select name="sql-content-tables" id="sct" onchange="showXY();">
<option value="$sqlContentTableValue">$sqlContentTableCaption</option>
<option value="$sqlContentTableValue">$sqlContentTableCaption</option>
</select>
</p>
</td>
</tr>
<tr>
<td class="caption"><p>Anzeigename:</p></td>
<td><p class="value"><input type="text" id="sctc" name="sql-content-table-caption"></p></td>
</tr>
<tr><td colspan="2"><hr></td></tr>
<tr>
<td class="caption"><p>Tabellenname:</p></td>
<td><p class="value"><input type="text" name="sql-content-table-caption" value="$sqlContentTableCaption"></p></td>
</tr>
</table>
</fieldset>
</div>
</body>
</html>