nxlizenz_projects_visualstudio/Daten/Licenseworkload DEMO/topics_de.html
2020-12-01 12:16:15 +01:00

216 lines
6.3 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>ENGEL License Workload View</title>
<base target="_self">
<!-- Auslastungsanzeige einbinden -->
<script type="text/javascript" src="licenseworkload/licenseworkload.js"></script>
<link rel="stylesheet" type="text/css" href="licenseworkload/content.css" />
<style type="text/css">
.style3
{
font-weight: bold;
}
.style6
{
color: #000000;
}
.n12 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-decoration: none; font-weight: normal; }
.n11 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; font-weight: normal;}
.style7
{
font-family: Calibri;
text-decoration: underline;
}
.style14
{
font-family: Calibri;
font-size: x-small;
text-decoration: none;
font-weight: normal;
}
.style16
{
font-size: x-small;
}
.style17
{
font-size: medium;
font-family: Calibri;
}
.style24
{
font-size: x-small;
color: #000000;
}
.style25
{
background-color: #E8E8E8;
}
.style26
{
color: #FFFFFF;
background-color: #E8E8E8;
}
.style28
{
color: #000000;
background-color: #E8E8E8;
}
.style29
{
color: #FFFFFF;
background-color: #808080;
}
.style30
{
font-family: Calibri;
}
.style31
{
font-weight: bold;
font-family: Calibri;
}
.style32
{
font-size: x-small;
font-family: Calibri;
}
</style>
</head>
<body style="text-align: left; background-color:#DCDCDC">
<!-- initialer Aufruf der Statusleiste -->
<script type="text/javascript">
setDescription('Licenses in use:');
main(0);
</script>
<script type="text/javascript">
function PrintIt ()
{
var search = getURLParam("search");
if (search.length == 0)
search = "%";
var HugoArr = new Array();
var txtFile=false;
try {
txtFile= new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
txtFile = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
txtFile = false;
}
}
if (!txtFile && typeof XMLHttpRequest!='undefined') {
try {
txtFile = new XMLHttpRequest();
} catch (e) {
txtFile=false;
}
}
if (!txtFile && window.createRequest) {
try {
txtFile = window.createRequest();
} catch (e) {
txtFile=false;
}
}
txtFile.open("GET", "content_de.txt", false);
txtFile.onreadystatechange = function()
{
if (txtFile.readyState === 4)
{
if (txtFile.status == 0)
{
allText = txtFile.responseText;
var textArr = allText.split("[NextStep]");
var y = 0;
for (var i = textArr.length - 1; i > -1; i--)
{
var text = textArr[i];
HugoArr[y] = new Object();
HugoArr[y][0] = text.substr(text.indexOf("[Head]") + 6, text.indexOf("[/Head]") - text.indexOf("[Head]") - 6)
HugoArr[y][1] = text.substr(text.indexOf("[Text]") + 6, text.indexOf("[/Text]") - text.indexOf("[Text]") - 6)
HugoArr[y][2] = text.substr(text.indexOf("[Html]") + 6, text.indexOf("[/Html]") - text.indexOf("[Html]") - 6)
y++;
}
}
}
}
txtFile.send(null);
for (var i = HugoArr.length - 1; i > -1; i--)
{
var hug = HugoArr[i];
var head = hug[0];
var txt = hug[1];
var htm = hug[2];
if (head.toLowerCase().indexOf(search, 0) >= 0 || txt.toLowerCase().indexOf(search, 0) >= 0 || htm.toLowerCase().indexOf(search) >= 0 || search == "%")
{
var color = "style28";
document.write('<table border="1" width="100%" id="table6" style="border-width: 0px"><tr>');
document.write('<td style="border-style: none; border-width: medium" width="50" align="left" valign="middle" class="' + color + '">');
if (head.length > 0)
{
document.write('<b><span class="style17">' + head + '</span></b><br><br>');
}
if (txt.length > 0)
{
document.write('<span class="style30">' + txt + '</span><br>');
}
document.write(htm);
document.write('</td></tr></table>');
}
}
}
function getURLParam(strParamName)
{
var strReturn = "";
var strHref = window.location.href;
if ( strHref.indexOf("?") > -1 )
{
var strQueryString = strHref.substr(strHref.indexOf("?")).toLowerCase();
var aQueryString = strQueryString.split("&");
for ( var iParam = 0; iParam < aQueryString.length; iParam++ )
{
if (aQueryString[iParam].indexOf(strParamName + "=") > -1 )
{
var aParam = aQueryString[iParam].split("=");
strReturn = aParam[1];
break;
}
}
}
return strReturn;
}
</script>
<script type="text/javascript">
var nosearch = getURLParam("nosrch");
PrintIt();
</script>
</body>
</html>