diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..96b1734 --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,13 @@ +#statusBox.alert { + margin-bottom: 0; +} + +.alert .glyphicon{ + display:table-cell; +} + +.alert div, +.alert span{ + padding-left: 10px; + display:table-cell; +} diff --git a/views/base.jinja2 b/views/base.jinja2 index 0dde685..9b560fa 100644 --- a/views/base.jinja2 +++ b/views/base.jinja2 @@ -8,6 +8,7 @@ + {% block page_title %}{% endblock %} | Brother QL diff --git a/views/labeldesigner.jinja2 b/views/labeldesigner.jinja2 index 7e7cb4b..117ec3e 100644 --- a/views/labeldesigner.jinja2 +++ b/views/labeldesigner.jinja2 @@ -17,30 +17,36 @@

- Label Size + Label Size

+
+

- Font Settings + + + Font Settings +

+
- +
- +
@@ -64,7 +70,9 @@
-
Some more settings will show here, once implemented.
+
+ Some more settings will show here, once implemented. +
@@ -80,7 +88,9 @@
- +
@@ -124,12 +134,15 @@ function preview() { function setStatus(data) { if (data['success']) - $('#statusPanel').html('Printing was successful.'); + $('#statusPanel').html(''); else - $('#statusPanel').html('Printing was unsuccessful:
'+data['message']); + $('#statusPanel').html(''); + $('#printButton').prop('disabled', false); } function print() { + $('#printButton').prop('disabled', true); + $('#statusPanel').html(''); $.ajax({ type: 'POST', dataType: 'json',