Commit 0c5747e502716cf24663a003d8131cc4e065addc

Authored by thubert
1 parent aff1167f

Suppression de fichiers inutiles

www/.index.html.swo deleted
No preview for this file type
www/.index.html.swp deleted
No preview for this file type
www/index.html~ deleted
@@ -1,90 +0,0 @@ @@ -1,90 +0,0 @@
1 -<html>  
2 - <head>  
3 - <link rel="stylesheet" href="Design_web_final.css" />  
4 - <title>  
5 - Projet SC IMA3 2017 : P4  
6 - </title>  
7 - <script src="jquery.js"></script>  
8 - <script type="text/javascript">  
9 - window.WebSocket=(window.WebSocket||window.MozWebSocket);  
10 -  
11 - var websocket=new WebSocket('ws://localhost:9000','myprotocol');  
12 -  
13 - websocket.onopen=function(){ $('h1').css('color','green'); };  
14 -  
15 - websocket.onerror=function(){ $('h1').css('color','red'); };  
16 -  
17 - websocket.onmessage=function(message){  
18 - console.log(message.data);  
19 - $('#messages').append($('<p>',{ text: message.data }));  
20 - };  
21 -  
22 - function sendhaut(){  
23 - websocket.send('h');  
24 - }  
25 - function senddroite(){  
26 - websocket.send('d');  
27 - }  
28 - function sendbas(){  
29 - websocket.send('b');  
30 - }  
31 - function sendgauche(){  
32 - websocket.send('g');  
33 - }  
34 - function sendup(){  
35 - websocket.send('u')  
36 - }  
37 - </script>  
38 - </head>  
39 - <body onkeydown="if(event.keycode==38)sendhaut()"  
40 - onkeyup="if(event.keycode==38)sendup()">  
41 - <center>  
42 - <h1>  
43 - Projet SC IMA3 | Groupe 4 : Camera IP  
44 - </h1>  
45 - </center>  
46 - <div id="vetb"> <!-- video + boutons -->  
47 - <div>  
48 - <center>  
49 - <img src="http://192.168.2.20:8081/?action=stream" /><!-- Pour afficher en streaming -->  
50 - </center>  
51 - </div>  
52 - <div id="btous"> <!-- boutons -->  
53 - <div id="bgdh"> <!-- boutons gauche droite haut -->  
54 - <div>  
55 - <button class="element" onmousedown="sendgauche()" onmouseup="sendup()" alt="" style="background:white;">  
56 - <img src="fleche_gauche2.jpg" style="width:50px;">  
57 - </button>  
58 - </div>  
59 - <div>  
60 - <button class="element" onmousedown="sendhaut()" onmouseup="sendup()" alt="" style="background:white;">  
61 - <img src="fleche_haut2.jpg" style="width:50px;">  
62 - </button>  
63 -  
64 - </div>  
65 - <div>  
66 - <button class="element" onmousedown="senddroite()" onmouseup="sendup()" alt="" style="background:white;">  
67 - <img src="fleche_droite2.jpg" style="width:50px;">  
68 - </button>  
69 - </div>  
70 - </div>  
71 - <div><!-- bouton bas -->  
72 -  
73 - <button class="element" onmousedown="sendbas()" onmouseup="sendup()" alt="" style="background:white;">  
74 - <img src="fleche_bas2.jpg" style="width:50px;">  
75 - </button>  
76 -  
77 - </div>  
78 -  
79 - </div>  
80 -  
81 - </div>  
82 - <p>  
83 - Carlier Henri<br>  
84 - Djeraba Taky<br>  
85 - Boens Quentin<br>  
86 - Hubert Thomas  
87 - </p>  
88 -  
89 -  
90 -</html>