Commit Graph

63 Commits

Author SHA1 Message Date
Christopher Hackett
9e20b6dc3f reflect font-selection from config in web gui
Cherry-picked 3bae6e5 from https://github.com/ChristopherHackett/brother_ql_web

fixes #11
2020-01-30 15:30:58 +01:00
Philipp Klaus
6da0745a41 make text actually red for '62red' labels (#7) 2020-01-30 15:19:22 +01:00
Philipp Klaus
2b5902aa12 Support QL-800 series printing on 62red labels
fixes #7, might be related to #22
2020-01-30 14:48:10 +01:00
Philipp Klaus
b1783cfa4a [buf fix] Skip fonts that are not properly reported by fc-list
Thanks @jmcwhirter and @ukmattbrock for reporting the issue
fixes #24, closes #24, closes #18
2020-01-30 14:19:21 +01:00
Jeroen
8ddbe95505 set brother_ql_web.py encoding to UTF-8 2020-01-30 14:13:55 +01:00
ReinierH
3e058cf78e added explicit encoding to open call 2020-01-30 10:13:40 +01:00
telegnom
0a2cf12c39 fixes issue handling of port configuration 2018-03-08 22:02:28 +01:00
telegnom
8dac5342c7 sets default values in config to match current defaults 2018-03-08 22:02:28 +01:00
telegnom
aaf3427777 updates .gitconfig to ignore config.json 2018-03-08 22:02:28 +01:00
telegnom
2d07cee36d addes configuration file config.json - close #8 2018-03-08 22:02:28 +01:00
telegnom
6218a1dfc9 adds .gitignore to project 2018-03-08 22:02:28 +01:00
telegnom
b254bda019 cleans up imports 2018-03-08 22:02:28 +01:00
Philipp Klaus
56f3a16f76 Mention LICENSE in the README 2018-03-08 21:46:26 +01:00
Philipp Klaus
aaba0794ab
Release under the terms of the GPLv3 2018-03-08 21:42:05 +01:00
Philipp Klaus
c455a9e428 README: why is fontconfig needed; how to install on Mac 2018-01-31 09:38:13 +01:00
Robin Sloan
e4d0c334bd Fixing API call in README
Just changing the API reference here to reflect what the code actually expects! Thanks for this terrific server -- it's been super useful.
2018-01-31 09:29:00 +01:00
Philipp Klaus
c23af5fbe1 README: links to docker hub 2018-01-28 12:59:31 +01:00
Philipp Klaus
cb816f8264 README: show screenshots (accidentally added in baa9f70 already) 2018-01-28 12:55:08 +01:00
Philipp Klaus
17ad5801fc README: mark URLs as 'code', not just in 'italics' 2018-01-28 12:50:32 +01:00
Philipp Klaus
4f8fedc184 README: new Usage section (including info previously in introduction) 2018-01-28 12:48:32 +01:00
Philipp Klaus
8b76bc137e README: rename Usage -> Startup 2018-01-28 12:44:19 +01:00
Philipp Klaus
baa9f70301 README: Move all headlines one level up (i.e. make them bigger) 2018-01-28 12:42:43 +01:00
Philipp Klaus
b1af3e8810 fix: get_fonts() returns incorrect paths (if folder= supplied) 2018-01-24 11:59:32 +01:00
Philipp Klaus
5f1447dee0 fonts: if default fonts not avail, select random one 2018-01-15 13:17:50 +01:00
Philipp Klaus
7227a72112 fonts: exit if not a single font was found 2018-01-15 13:16:48 +01:00
Philipp Klaus
d1286f014e allow to select fonts family AND style in web interface 2018-01-03 21:40:22 +01:00
Philipp Klaus
6aada05b22 fix rotate for ROUND_DIE_CUT_LABEL & DIE_CUT_LABEL 2017-10-01 14:15:31 +02:00
Philipp Klaus
bed4649235 textarea#labelText { resize:none; } 2017-09-20 12:21:06 +02:00
Philipp Klaus
02d69f613a list fontconfig as an additional dependency 2017-09-20 12:18:21 +02:00
Philipp Klaus
96cbe91b78 empty line → line containing ' ' (workaround for #5) 2017-09-11 12:01:20 +02:00
Philipp Klaus
31348de455 some more candy (glyphicons) in the web UI 2017-02-10 10:49:27 +01:00
Philipp Klaus
cabd61c4ea add a percent sign to the margin inputs 2017-02-10 10:34:46 +01:00
Philipp Klaus
7bf6b40c94 new: margins can be specified in the web UI 2017-02-10 10:07:45 +01:00
Philipp Klaus
dc79624e1d state margin_{top,bottom,left,right} in % 2017-02-10 10:07:04 +01:00
Philipp Klaus
7935fd0940 State width&height of label in cm 2017-02-06 15:11:45 +01:00
Philipp Klaus
7ed5c077d9 dropping upper limit of 150 for text size 2017-02-06 14:55:03 +01:00
Philipp Klaus
f9507358ed --default-label-size and --default-orientation 2017-02-06 14:10:13 +01:00
Philipp Klaus
64a1ba5eb7 New 'orientation' radio button in web UI 2017-02-06 13:27:35 +01:00
Philipp Klaus
efb224d346 fix: fonts missing in 1c74517 2017-01-24 15:31:27 +01:00
Philipp Klaus
1c7451786a UI improvements: icons, button disabled while printing 2017-01-08 10:01:30 +01:00
Philipp Klaus
0be29b69a9 fix regression introduced in 06a9fee 2017-01-04 15:09:00 +01:00
Philipp Klaus
808cc4aeba margin_top and margin_bottom: new param in % of font_size 2017-01-04 14:14:56 +01:00
Philipp Klaus
06a9fee323 Use POST instead of GET for the preview / printing 2017-01-04 14:13:17 +01:00
Philipp Klaus
bba9511811 New: alignment chooser in web UI 2017-01-03 20:43:23 +01:00
Philipp Klaus
c39ab97ad1 support all labels defined in brother_ql 2017-01-03 20:21:33 +01:00
Philipp Klaus
cf551000ae Use bootstrap v3.3.7 / jQuery 3.1.1 without symlinks 2016-12-19 11:52:07 +01:00
Philipp Klaus
5df1ea821b Move to a collapsible accordion for the settings 2016-12-19 01:24:26 +01:00
Philipp Klaus
3c26567223 Improved code calculating the font size / centering the text 2016-12-19 00:33:36 +01:00
Philipp Klaus
cb3cc07389 Include header in page, put content in container for margins 2016-12-19 00:15:27 +01:00
Philipp Klaus
1c359ba77b upgrade bootstrap / jQuery to latest version 2016-12-18 15:10:02 +01:00