1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| var http = require('http');
var server = http.createServer(function(req, res) {
res.writeHead(200, {"Content-Type": "text/html"});
res.write('<!DOCTYPE html>'+
'<html>'+
' <head>'+
'<meta charset="utf-8" />'+
'<style>'+
' body {'+
' color:black;'+
'background-color:white;'+
' background-image:url(\"backgroundVIT.png\");'+
' background-repeat:no-repeat;'+
' background-position:center center;'+
' background-attachment:fixed;'+
' } '+
' IMG.loader {'+
' display: block;'+
' margin-left: auto;'+
' margin-right: auto }'+
' h1'+
' {'+
' font-weight: bold;'+
' text-align:center;'+
' }'+
' </style>'+
' <title>IT-SHOW</title>'+
' </head>'+
' <body>'+
' <h1> APPLICATION LOAD...</h1>'+
' <IMG class="loader" src="loader2.gif" >'+
' </body> '+
'</html>'
);
res.end();
});
server.listen(8080); |
Partager