Minor design changes

This commit is contained in:
dbroqua 2018-08-26 17:22:41 +02:00
parent 2fd5fb1cff
commit 4b6d6662e7
2 changed files with 33 additions and 29 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
./conf.js /conf.js

View file

@ -25,6 +25,11 @@
padding-left: 16px; padding-left: 16px;
} }
.row {
margin: 0;
padding: 0;
}
.btn-group .col-md-4, .btn-group .col-md-12 { .btn-group .col-md-4, .btn-group .col-md-12 {
padding: 10px; padding: 10px;
} }
@ -35,7 +40,7 @@
.bs-callout { .bs-callout {
padding: 20px; padding: 20px;
margin: 36px 20px; margin: 20px 0;
border: 1px solid #eee; border: 1px solid #eee;
border-left-color: rgb(238, 238, 238); border-left-color: rgb(238, 238, 238);
border-left-width: 1px; border-left-width: 1px;
@ -64,7 +69,7 @@
<body> <body>
<header> <header>
<h1>Free Telec <small>v0.2.2</small></h1> <h1>Free Telec <small>v0.2.3</small></h1>
</header> </header>
<section> <section>
<div class="row col-xs-12"> <div class="row col-xs-12">
@ -185,6 +190,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-xs-12">
<div class="bs-callout bs-callout-info clear"> <div class="bs-callout bs-callout-info clear">
<h4>Raccourcis clavier</h4> <h4>Raccourcis clavier</h4>
<p> <p>
@ -209,6 +215,7 @@
<li>-: Programme -</li> <li>-: Programme -</li>
</ul> </ul>
</div> </div>
</div>
</section> </section>
@ -228,7 +235,6 @@
}); });
$('body').on('keypress', function(e){ $('body').on('keypress', function(e){
console.log( e.keyCode , e.which);
const codes = { const codes = {
13: 'ok', 13: 'ok',
38: 'up', 38: 'up',
@ -256,8 +262,6 @@
}; };
let code = (e.keyCode ? e.keyCode : e.which); let code = (e.keyCode ? e.keyCode : e.which);
console.log('Code:', code, codes)
callApi(codes[code]); callApi(codes[code]);
}); });
}); });