Minor design changes
This commit is contained in:
parent
2fd5fb1cff
commit
4b6d6662e7
2 changed files with 33 additions and 29 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
./conf.js
|
||||
/conf.js
|
||||
|
|
14
index.html
14
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 @@
|
|||
|
||||
<body>
|
||||
<header>
|
||||
<h1>Free Telec <small>v0.2.2</small></h1>
|
||||
<h1>Free Telec <small>v0.2.3</small></h1>
|
||||
</header>
|
||||
<section>
|
||||
<div class="row col-xs-12">
|
||||
|
@ -185,6 +190,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<div class="bs-callout bs-callout-info clear">
|
||||
<h4>Raccourcis clavier</h4>
|
||||
<p>
|
||||
|
@ -209,6 +215,7 @@
|
|||
<li>-: Programme -</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
@ -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]);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue