92 Commits

Author SHA1 Message Date
Aljaz S
4c2885855f prevent text selectio in input[type=submit] 2021-11-25 12:28:40 +01:00
Aljaz S
ea75000101 permit text selection in pre elements 2021-11-24 09:27:39 +01:00
Aljaz S
6c4df06050 permit selection of text in specific cases
permit text selection in textarea, code, input elements
2021-11-24 09:26:41 +01:00
Aljaz S
3709b50f9f improve mobile experience 2021-11-23 19:47:52 +01:00
Aljaz S
ac04841b01 improve mobile styling 2021-11-23 18:57:20 +01:00
Aljaz S
ed1676bac1 improve user experience in form
preload QR image before setting it - prevent flickering
remove "update" button, listen to input events on input fields
prevent constant updates by debouncing the updateQR call
2021-11-23 18:27:51 +01:00
Aljaz S
ca85be6f53 fix formatting in form.ejs 2021-11-23 18:11:41 +01:00
Aljaz S
21c77dea69 show fallback image to user if QR code data is invalid 2021-11-23 18:11:22 +01:00
Aljaz S
3e1bf443ea make backend serve static content
remove style template and use static style.css file
2021-11-23 18:10:25 +01:00
Aljaz S
fe9fb9f083 correctly handle form inputs 2021-11-23 16:39:22 +01:00
Aljaz S
492a4e8203 create the form 2021-11-23 15:58:12 +01:00
Aljaz S
a11afb36fb handle apostrophe in client and issuer name 2021-11-23 15:26:47 +01:00
Aljaz S
8777af4b72 change input names in form maker 2021-11-23 14:49:27 +01:00
Aljaz S
1b523e9ffc center text in input fields 2021-11-23 14:48:58 +01:00
Aljaz S
078e07215a animate button stylng 2021-11-23 14:47:26 +01:00
Aljaz S
ed884a5dd4 handle /form GET query 2021-11-23 14:15:43 +01:00
Aljaz S
ffcc8b5fce fix nodemon parameters in "dev' script 2021-11-23 14:14:59 +01:00
Aljaz S
530e56294e change input outline width to 1px 2021-11-23 14:14:36 +01:00
Aljaz S
d86d374f97 change credits for Tjaz 2021-11-23 14:09:15 +01:00
Aljaz S
f562705941 handle querydata for form template 2021-11-23 14:09:02 +01:00
Aljaz S
046a44b2ab add form maker to index 2021-11-23 14:08:33 +01:00
Aljaz S
2e5944e355 move global styling to separate template 2021-11-23 14:08:07 +01:00
Aljaz S
abb7476f26 restructure files for ejs support
moved style to index.ejs
render views
2021-11-23 12:56:30 +01:00
Aljaz S
74c9519e08 add nodemon and ejs dependencies 2021-11-23 12:55:38 +01:00
Aljaz S
d183512b4b added descriptions and examples to docs 2021-11-17 12:29:51 +01:00
Aljaz S
47f3fc875b updated the docs styling for pre, code 2021-11-17 12:03:15 +01:00
Aljaz S
e5dc2881d7 simplified the query checking 2021-11-16 22:58:57 +01:00
Aljaz S
54c46fc6bd change all text to uppercase 2021-11-16 22:42:04 +01:00
Aljaz S
0e0c104e5d Created the API endpoint
Updated docs for amount
updated docs info
2021-11-16 22:40:22 +01:00
Aljaz S
6bf3ff7d32 added credits 2021-11-16 22:38:49 +01:00
Aljaz S
adb1aaac05 added cors module 2021-11-16 22:36:33 +01:00
Aljaz S
d9a5d385fb Added qrcode package 2021-11-16 21:49:45 +01:00
Aljaz S
8e16fc7123 Fix minor details 2021-11-16 21:42:32 +01:00
Aljaz S
a50da0f4ee Added anchor links in index.html 2021-11-16 21:28:40 +01:00
Aljaz S
db5a0b27f9 server index.html and style.css on port 80 2021-11-16 21:17:55 +01:00
Aljaz S
8e072824e4 make the app deployable on gitapp.si 2021-11-16 21:17:16 +01:00
Aljaz S
57a3b27993 Added the start script on package.json 2021-11-16 21:17:02 +01:00
Aljaz S
c37c07d71d Added the LICENSE 2021-11-16 21:15:09 +01:00
Aljaz S
58dcd34dc3 .gitignore node_modules 2021-11-16 21:14:52 +01:00
Aljaz S
d99ca07d49 Install express as dependency 2021-11-16 21:14:36 +01:00
Aljaz S
da655729ac Write the docs and create the styling for it 2021-11-16 21:14:14 +01:00
Aljaz S
b6aefe9ce4 Initial commit 2021-11-16 16:52:11 +00:00