Skip to content

Commit

Permalink
Demo - Title added
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre de LESPINAY committed Oct 7, 2017
1 parent 8e31b57 commit 7a727c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
bower_components/
docker-compose.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Jquery Code Scanner
# jQuery Code Scanner

This is a jquery plugin implementation of the simple and well working code snippet from [Deadosaurus blog](http://www.deadosaurus.com/detect-a-usb-barcode-scanner-with-javascript/).
The aim here is to be able to get a scan code from anywhere in a web page.
Expand Down
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Jquery Code Scanner - Demo</title>
<title>jQuery Code Scanner - Demo</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"/>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="jquery-code-scanner.js"></script>
<style>
body {
color: #bbb;
background-color: #444;
font-family: "Century Gothic", Arial, sans-serif;
}
.container {
margin-top: 200px;
margin-top: 160px;
}
.control-label {
color: #eee;
h1 {
margin-bottom: 40px;
}
</style>
<script>
Expand All @@ -26,6 +27,7 @@
</head>
<body>
<div class="container">
<h1>jQuery Code Scanner</h1>
<div class="row">
<form class="form-horizontal col-sm-offset-4 col-sm-4">
<div class="form-group">
Expand Down

0 comments on commit 7a727c2

Please sign in to comment.