concordia-server/cat/index.html_pattern
2015-10-29 16:07:11 +01:00

48 lines
1.5 KiB
Plaintext

<html>
<head>
<script src="../js/jquery-1.11.3.min.js"></script>
<script src="../js/cat.js"></script>
<link rel="stylesheet" href="../css/iatagger.css" />
<meta charset="UTF-8">
</head>
<body>
<script>
var concordiaUrl = 'http://@concordia_host@:@concordia_port@';
$(document).ready(function() {
$('#searchInput').bind("enterKey",function(e){
searchHandle(@tmid@);
});
$('#searchInput').keyup(function(e){
if(e.keyCode == 13) {
$(this).trigger("enterKey");
}
});
});
</script>
<div id="header">
</div>
<div id="content">
<a href="http://tmconcordia.sourceforge.net/" target="_blank"><img src="../images/banner.jpg" alt="Banner" /></a>
<br/><br/><br/>
<p>@desc@</p>
<p>@enjoy@</p>
<label for="searchInput">@prompt@</label>
<span class="suggestion" onclick="showHideSuggestions()">show/hide samples</span>
<br/><br/>
<div class="suggestionsInvisible" id="suggestions">
<ul>@suggestions@</ul>
<br/><br/>
</div>
<input id="searchInput" type="text" value="" />
<br/><br/>
<input type="button" value="search" onclick="searchHandle(@tmid@)" />
<br/><br/><br/><br/>
<div id="result">
</div>
</div>
</body>
</html>