Commit e1996d5c5678b18f6e57d1a1d2df92f25084a5e9
1 parent
4f743bd8
a
Showing
4 changed files
with
0 additions
and
269 deletions
Show diff stats
Zozo/sc3/index.html deleted
@@ -1,32 +0,0 @@ | @@ -1,32 +0,0 @@ | ||
1 | -<!--#include <stdio.h> | ||
2 | -#include <stdlib.h> | ||
3 | -#include <libwebsockets.h>--> | ||
4 | - | ||
5 | -<html> | ||
6 | -<header> | ||
7 | - <!-- pour associer a la feuille de style --> | ||
8 | - <link rel="stylesheet" type="text/css" href="style.css"> | ||
9 | - <title>PROJET SC | ||
10 | - </title> | ||
11 | -</header> | ||
12 | - | ||
13 | -<body> | ||
14 | - <!-- choix des onglets --> | ||
15 | - <div id="menu"> | ||
16 | - <ul id="onglets"> | ||
17 | - <li class="active"><a href="index.html"> PROJET </a></li> | ||
18 | - <li><a href="options.html"> OPTIONS </a></li> | ||
19 | - </ul> | ||
20 | - </div> | ||
21 | - | ||
22 | - <!-- contenu de la page --> | ||
23 | - <br> | ||
24 | - <div class="titre">TITRE</div> | ||
25 | - <div class="contenu">CONTENU: presentation du projet ...</div> | ||
26 | - | ||
27 | -</body> | ||
28 | - | ||
29 | -<footer> | ||
30 | -</footer> | ||
31 | - | ||
32 | -<html/> |
Zozo/sc3/options.html deleted
@@ -1,91 +0,0 @@ | @@ -1,91 +0,0 @@ | ||
1 | -<!DOCTYPE html> | ||
2 | -<html> | ||
3 | - <header> | ||
4 | - <!-- pour associer � la feuille de style --> | ||
5 | - <link rel="stylesheet" type="text/css" href="style.css"> | ||
6 | - <title>PROJET SC</title> | ||
7 | - </header> | ||
8 | - | ||
9 | - <head> | ||
10 | - <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | ||
11 | - <!-- <script type="text/javascript"> | ||
12 | - $(function() { | ||
13 | - window.WebSocket = window.WebSocket || window.MozWebSocket; | ||
14 | - var websocket = new WebSocket('ws://127.0.0.1:9000', | ||
15 | - 'dumb-increment-protocol'); | ||
16 | - websocket.onmessage = function (message) { | ||
17 | - console.log(message.data); | ||
18 | - $('div').append($('<p>', { text: message.data })); | ||
19 | - }; | ||
20 | - | ||
21 | - $('input').click(function(e) { | ||
22 | - e.preventDefault(); | ||
23 | - websocket.send(valeur); | ||
24 | - $('input').val(''); | ||
25 | - }); | ||
26 | - }); | ||
27 | - </script> --> | ||
28 | - </head> | ||
29 | - | ||
30 | -<body> | ||
31 | - <!-- choix des onglets --> | ||
32 | - <div id="menu"> | ||
33 | - <ul id="onglets"> | ||
34 | - <li><a href="index.html"> PROJET </a></li> | ||
35 | - <li class="active"><a href="options.html"> OPTIONS </a></li> | ||
36 | - </ul> | ||
37 | - </div> | ||
38 | - | ||
39 | - <!-- contenu de la page --> | ||
40 | - </br> | ||
41 | - </br> | ||
42 | - </br> | ||
43 | - | ||
44 | - <div class="titre">CHOIX DES OPTIONS</div> | ||
45 | - <div class="contenu"> | ||
46 | - | ||
47 | - | ||
48 | - <FORM name="form"> | ||
49 | - Lieu : | ||
50 | - <select name="lieu" > | ||
51 | - <option SELECTED>-- Selectionnez un lieu --</option> | ||
52 | - </select> | ||
53 | - | ||
54 | - | ||
55 | - | ||
56 | - <SCRIPT LANGUAGE="JavaScript"> | ||
57 | - | ||
58 | - var bruxelles=new Array("Bruxelles",50.850,4.350,0,0); | ||
59 | - var pekin=new Array("Pekin",39.917,116.433,0,6); | ||
60 | - var split=new Array("Split",43.517,16.467,0,0); | ||
61 | - var lille=new Array("Lille", 50.633, 3.066, 0, 0); | ||
62 | - | ||
63 | - var lieux=new Array(bruxelles,pekin,split,lille); | ||
64 | - | ||
65 | - var d=document.form.lieu; | ||
66 | - for(var i=0; i < lieux.length ; i++) | ||
67 | - { | ||
68 | - d.length++; | ||
69 | - d.options[d.length-1].text = lieux[i][0]; | ||
70 | - } | ||
71 | - | ||
72 | - | ||
73 | - | ||
74 | - </SCRIPT> | ||
75 | - | ||
76 | -<input type="submit" id="test" value="OK"/> | ||
77 | - | ||
78 | - </br> | ||
79 | - </br> | ||
80 | - | ||
81 | - | ||
82 | - </form> | ||
83 | - </div> | ||
84 | - | ||
85 | - | ||
86 | -</body> | ||
87 | - | ||
88 | -<footer> | ||
89 | -</footer> | ||
90 | - | ||
91 | -<html/> |
Zozo/sc3/options.html~ deleted
@@ -1,73 +0,0 @@ | @@ -1,73 +0,0 @@ | ||
1 | -#include <stdio.h> | ||
2 | -#include <stdlib.h> | ||
3 | -#include <libwebsockets.h> | ||
4 | - | ||
5 | -static int callback_http(structlibwebsocket_context * this, | ||
6 | - structlibwebsocket *wsi, | ||
7 | - enumlibwebsocket_callback_reasons reason, void *user, | ||
8 | - void *in, size_t len) | ||
9 | -{ | ||
10 | - return 0; | ||
11 | -} | ||
12 | - | ||
13 | -<header> | ||
14 | - <!-- pour associer � la feuille de style --> | ||
15 | - <link rel="stylesheet" type="text/css" href="style.css"> | ||
16 | - <title>PROJET SC | ||
17 | - </title> | ||
18 | -</header> | ||
19 | - | ||
20 | -<body> | ||
21 | - <!-- choix des onglets --> | ||
22 | - <div id="menu"> | ||
23 | - <ul id="onglets"> | ||
24 | - <li><a href="index.html"> PROJET </a></li> | ||
25 | - <li class="active"><a href="options.html"> OPTIONS </a></li> | ||
26 | - </ul> | ||
27 | - </div> | ||
28 | - | ||
29 | - <!-- contenu de la page --> | ||
30 | - </br> | ||
31 | - </br> | ||
32 | - </br> | ||
33 | - | ||
34 | - <div class="titre">CHOIX DES OPTIONS</div> | ||
35 | - <div class="contenu"> | ||
36 | - | ||
37 | - | ||
38 | - <FORM name="form"> | ||
39 | - Lieu : | ||
40 | - <select name="lieu"> | ||
41 | - <option SELECTED>-- Selectionnez un lieu --</option> | ||
42 | - </select> | ||
43 | - | ||
44 | - <SCRIPT LANGUAGE="JavaScript"> | ||
45 | - | ||
46 | - var bruxelles=new Array("Bruxelles",50.850,4.350,0,0); | ||
47 | - var pekin=new Array("Pekin",39.917,116.433,0,6); | ||
48 | - var split=new Array("Split",43.517,16.467,0,0); | ||
49 | - var lille=new Array("Lille", 50.633, 3.066, 0, 0); | ||
50 | - | ||
51 | - var lieux=new Array(bruxelles,pekin,split,lille); | ||
52 | - | ||
53 | - var d=document.form.lieu; | ||
54 | - for(var i=0; i < lieux.length ; i++) | ||
55 | - { d.length++; | ||
56 | - d.options[d.length-1].text = lieux[i][0]; | ||
57 | - } | ||
58 | - | ||
59 | - </SCRIPT> | ||
60 | - </br> | ||
61 | - </br> | ||
62 | - <input type="submit" value="OK"/> | ||
63 | - | ||
64 | - </form> | ||
65 | - </div> | ||
66 | - | ||
67 | - | ||
68 | -</body> | ||
69 | - | ||
70 | -<footer> | ||
71 | -</footer> | ||
72 | - | ||
73 | -<html/> |
Zozo/sc3/style.css deleted
@@ -1,73 +0,0 @@ | @@ -1,73 +0,0 @@ | ||
1 | - | ||
2 | -{ | ||
3 | - border-bottom : 1px solid #9EA0A1; | ||
4 | - padding-bottom : 25px; | ||
5 | -} | ||
6 | - | ||
7 | -#onglets | ||
8 | -{ | ||
9 | - position : absolute; | ||
10 | - border : 1px solid transparent; | ||
11 | - padding : 0; | ||
12 | - font : bold 11px Batang, arial, serif; | ||
13 | - list-style-type : none; | ||
14 | - left : 50%; | ||
15 | - margin-top : 0; | ||
16 | - width : 430px; | ||
17 | - margin-left : -215px; /* la moiti� de width */ | ||
18 | -} | ||
19 | - | ||
20 | -#onglets li | ||
21 | -{ | ||
22 | - float : left; | ||
23 | - height : 23px; /* � modifier suivant la taille de la police pour centrer le texte dans l'onglet */ | ||
24 | - background-color: RGB(245,245,245); | ||
25 | - margin : 2px 2px 0 2px !important; /* Pour les navigateurs autre que IE */ | ||
26 | - margin : 1px 2px 0 2px; /* Pour IE */ | ||
27 | - border : 1px solid #9EA0A1; | ||
28 | -} | ||
29 | - | ||
30 | -#onglets li.active | ||
31 | -{ | ||
32 | - border-bottom: 1px solid #fff; | ||
33 | - background-color: #fff; | ||
34 | -} | ||
35 | - | ||
36 | -#onglets a | ||
37 | -{ | ||
38 | - display : block; | ||
39 | - color : #666; | ||
40 | - text-decoration : none; | ||
41 | - padding : 3px; | ||
42 | -} | ||
43 | - | ||
44 | -#onglets a:hover | ||
45 | -{ | ||
46 | - background : #fff; | ||
47 | -} | ||
48 | - | ||
49 | -.titre | ||
50 | -{ | ||
51 | - color : RGB(0,59,84); | ||
52 | - font-size : 20px; | ||
53 | - font-weight : bold; | ||
54 | - text-align : center; | ||
55 | -} | ||
56 | - | ||
57 | -.contenu | ||
58 | -{ | ||
59 | - text-align : center; | ||
60 | -} | ||
61 | - | ||
62 | -/*a | ||
63 | -{ | ||
64 | - color: RGB(255,59,23); | ||
65 | - font-size : 16px; | ||
66 | - font-weight : bold; | ||
67 | -}*/ | ||
68 | - | ||
69 | -* /*pour toute la page*/ | ||
70 | -{ | ||
71 | - font-size: 14px; | ||
72 | -} | ||
73 | - |