ARAI#28546: layout verbetering

svn path=/Website/branches/v5.3.3/; revision=20393
This commit is contained in:
Marcel Bourseau
2014-01-21 16:08:20 +00:00
parent 1b56e6664d
commit ab132133a1
2 changed files with 57 additions and 70 deletions

View File

@@ -0,0 +1,57 @@
<%@ language = "JavaScript" %>
<%
%>
<!-- #include file="../../../appl/Shared/common.inc" -->
<!-- #include file="../../../appl/Shared/iface.inc" -->
<%
FCLTHeader.Requires({ js: ["jquery-ui.js", "date.js"]
});
%>
<html>
<head>
<% FCLTHeader.Generate(); %>
<style>
.BodyTopBottom{
background-color: #00A4E3;
font-family: Arial, Helvetica, sans-serif;
color: White;
font-size: 20px;
margin-right: 25pt;
}
</style>
<META HTTP-EQUIV="REFRESH" CONTENT="3600">
<script language="Javascript1.2">
<!--
function updateClock()
{
var newDate = new Date();
$('#date').html(toDateString(newDate));
$('#time').html(toTimeString(newDate, true));
}
$(function () {
setInterval( updateClock, 1000);
} );
setInterval( updateClock, 1000);
//-->
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator){ if ((appName=="Netscape")&&(parseInt(appVersion)==4)){
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body class="BodyTopBottom">
<div id='theClock' align="left"><span id='date'></span> <span id='time'></span></div>
<div align="right"> <span style="font-size:12pt">FACILITOR</span></div>
</body>
</html>

View File

@@ -1,70 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style>
.BodyTopBottom{
background-color: #00A4E3;
font-family: Arial, Helvetica, sans-serif;
color: White;
font-size: x-large;
margin-right: 25pt;
}
</style>
<META HTTP-EQUIV="REFRESH" CONTENT="3600">
<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
if(navigator.appName == "Netscape"){
document.write('<layer id="clock"></layer><br>');
}
if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<div align="right"><span id="clock"></span></div>');
}
function upclock(){
var dte = new Date();
var hrs = dte.getHours();
var min = dte.getMinutes();
var sec = dte.getSeconds();
var col = ":";
var spc = " ";
var apm;
if (hrs == 0) hrs=24;
if (min<=9) min="0"+min;
if (sec<=9) sec="0"+sec;
if(navigator.appName == "Netscape"){
document.clock.document.write(hrs+col+min+col+sec+spc+apm);
document.clock.document.close();
}
if (navigator.appVersion.indexOf("MSIE") != -1){
clock.innerHTML = hrs+col+min+col+sec+spc;
}
}
setInterval("upclock()",1000);
//-->
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator){ if ((appName=="Netscape")&&(parseInt(appVersion)==4)){
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body class="BodyTopBottom">
<div style="position:absolute; width:433px;height:41px;z-index:1;left:1px;top:-1px" align="left">
<script type="text/javascript">mijnDatum = new Date();document.write ('&nbsp;');document.write(mijnDatum.toLocaleDateString());</script>
</div>
<p align="center" style="font-size:16pt">Facilitor</p>
</body>
</html>