From b43587d85f1e5adca1e8845c42f49555fa928526 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 15 Jul 2018 19:14:19 +0200 Subject: [PATCH 1/3] Some minor changes --- index.html | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index a0f6f74..450565f 100755 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + Free Telec @@ -21,23 +21,20 @@
-

Free Telec v0.2.1

+

Free Telec v0.2.2

- ``
@@ -114,7 +111,7 @@
-
+
From 2fd5fb1cffaae2af1eb97fac60f5b0da1dce98fa Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 26 Aug 2018 11:09:21 +0200 Subject: [PATCH 2/3] Added shortcuts info --- index.html | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 450565f..42b93ab 100755 --- a/index.html +++ b/index.html @@ -28,6 +28,37 @@ .btn-group .col-md-4, .btn-group .col-md-12 { padding: 10px; } + + .clear { + clear: both; + } + + .bs-callout { + padding: 20px; + margin: 36px 20px; + border: 1px solid #eee; + border-left-color: rgb(238, 238, 238); + border-left-width: 1px; + border-left-width: 5px; + border-radius: 3px; + } + + .bs-callout-info { + border-left-color: #2aabd2; + } + + ul { + height: 100px; + display: flex; + flex-direction: column; + flex-wrap: wrap; + } + + @media screen and (max-width: 640px) { + ul { + height: auto; + } + } @@ -154,8 +185,33 @@
+
+

Raccourcis clavier

+

+ Certaines fonctionnalités de la télécommande peuvent être directement utilisée avec votre clavier. +
+ En voici la liste : +

+
    +
  • Entrée : ok
  • +
  • Flèche haut: haut
  • +
  • Flèche bas: bas
  • +
  • Flèche droite: droite
  • +
  • Flèche gauche: gauche
  • +
  • Echap: retour (touche rouge)
  • +
  • f: Free
  • +
  • m: Menu (touche verte)
  • +
  • i: Info (touche jaune)
  • +
  • s: Recherche (touche bleue)
  • +
  • a: A/V
  • +
  • 1-0: touche 1-0
  • +
  • +: Programme +
  • +
  • -: Programme -
  • +
+
+ @@ -172,12 +228,15 @@ }); $('body').on('keypress', function(e){ + console.log( e.keyCode , e.which); const codes = { 13: 'ok', 38: 'up', 40: 'down', 37: 'left', 39: 'right', + 27: 'red', //Esc/back + 102: 'home', //Free 109: 'green', //m -> Menu 105: 'yellow', //i -> Info 115: 'blue', //s -> Search @@ -191,10 +250,14 @@ 55: 7, 56: 8, 57: 9, - 48: 0 + 48: 0, + 45: 'prgm_dec', + 43: 'prgm_inc' }; let code = (e.keyCode ? e.keyCode : e.which); + console.log('Code:', code, codes) + callApi(codes[code]); }); }); From 4b6d6662e73415c4d6bcd7c38b827c8a6c67f1c2 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 26 Aug 2018 17:22:41 +0200 Subject: [PATCH 3/3] Minor design changes --- .gitignore | 2 +- index.html | 60 +++++++++++++++++++++++++++++------------------------- 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index 0d268ec..3a1be63 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -./conf.js +/conf.js diff --git a/index.html b/index.html index 42b93ab..6846dec 100755 --- a/index.html +++ b/index.html @@ -25,6 +25,11 @@ padding-left: 16px; } + .row { + margin: 0; + padding: 0; + } + .btn-group .col-md-4, .btn-group .col-md-12 { padding: 10px; } @@ -35,7 +40,7 @@ .bs-callout { padding: 20px; - margin: 36px 20px; + margin: 20px 0; border: 1px solid #eee; border-left-color: rgb(238, 238, 238); border-left-width: 1px; @@ -64,7 +69,7 @@
-

Free Telec v0.2.2

+

Free Telec v0.2.3

@@ -185,29 +190,31 @@
-
-

Raccourcis clavier

-

- Certaines fonctionnalités de la télécommande peuvent être directement utilisée avec votre clavier. -
- En voici la liste : -

-
    -
  • Entrée : ok
  • -
  • Flèche haut: haut
  • -
  • Flèche bas: bas
  • -
  • Flèche droite: droite
  • -
  • Flèche gauche: gauche
  • -
  • Echap: retour (touche rouge)
  • -
  • f: Free
  • -
  • m: Menu (touche verte)
  • -
  • i: Info (touche jaune)
  • -
  • s: Recherche (touche bleue)
  • -
  • a: A/V
  • -
  • 1-0: touche 1-0
  • -
  • +: Programme +
  • -
  • -: Programme -
  • -
+
+
+

Raccourcis clavier

+

+ Certaines fonctionnalités de la télécommande peuvent être directement utilisée avec votre clavier. +
+ En voici la liste : +

+
    +
  • Entrée : ok
  • +
  • Flèche haut: haut
  • +
  • Flèche bas: bas
  • +
  • Flèche droite: droite
  • +
  • Flèche gauche: gauche
  • +
  • Echap: retour (touche rouge)
  • +
  • f: Free
  • +
  • m: Menu (touche verte)
  • +
  • i: Info (touche jaune)
  • +
  • s: Recherche (touche bleue)
  • +
  • a: A/V
  • +
  • 1-0: touche 1-0
  • +
  • +: Programme +
  • +
  • -: Programme -
  • +
+
@@ -228,7 +235,6 @@ }); $('body').on('keypress', function(e){ - console.log( e.keyCode , e.which); const codes = { 13: 'ok', 38: 'up', @@ -256,8 +262,6 @@ }; let code = (e.keyCode ? e.keyCode : e.which); - console.log('Code:', code, codes) - callApi(codes[code]); }); });