diff --git a/static/css/input.css b/static/css/input.css index 1284180..af0fc2a 100644 --- a/static/css/input.css +++ b/static/css/input.css @@ -344,6 +344,7 @@ input.input-field[type="number"] { width: 100%; padding: 0.5rem 0.75rem; font-size: 0.875rem; + font-weight: 500; text-align: left; cursor: pointer; border: none; diff --git a/templates/pages/account.html b/templates/pages/account.html index 0a6e555..3fd6edc 100644 --- a/templates/pages/account.html +++ b/templates/pages/account.html @@ -74,7 +74,7 @@ @@ -175,7 +175,7 @@ @@ -239,14 +239,14 @@ diff --git a/templates/pages/add.html b/templates/pages/add.html index aad6cbe..0c84810 100644 --- a/templates/pages/add.html +++ b/templates/pages/add.html @@ -86,7 +86,7 @@ > {{ icons::camera("h-5 w-5") }} - or + or + class="mt-4 block w-full rounded-md bg-accent px-4 py-3 text-center text-sm font-semibold text-accent-text transition hover:bg-accent-hover" > Go to Brewlog diff --git a/templates/partials/bag_card.html b/templates/partials/bag_card.html index 45117fe..c671018 100644 --- a/templates/partials/bag_card.html +++ b/templates/partials/bag_card.html @@ -1,36 +1,35 @@ {% import "partials/icons.html" as icons %} {% macro card(bag, is_authenticated) %} -
- {% if is_authenticated %} - - {% endif %} -
+
+
{{ bag.roast_name }}

{{ bag.roaster_name }}

- {% if is_authenticated %} - - {% endif %}
-

{{ bag.remaining }} / {{ bag.amount }}g

+

{{ bag.remaining }} / {{ bag.amount }}g

+ {% if is_authenticated %} +
+ + {{ icons::cup("h-4 w-4") }} + Brew + + +
+ {% endif %}
{% endmacro %} diff --git a/templates/partials/brew_card.html b/templates/partials/brew_card.html index 0835854..bb8bb82 100644 --- a/templates/partials/brew_card.html +++ b/templates/partials/brew_card.html @@ -1,33 +1,25 @@ {% import "partials/icons.html" as icons %} {% macro card(brew, is_authenticated) %} -
- {% if is_authenticated %} - - {{ icons::refresh("h-4.5 w-4.5") }} - - {% endif %} -
+
+
{{ brew.roast_name }}

{{ brew.roaster_name }}

-
+

{{ brew.coffee_weight }} · {{ brew.water_volume }}{% if let Some(bt) = brew.brew_time %} · {{ bt }}{% endif %}

{{ brew.grinder_model }} · {{ brew.grind_setting }}

{{ brew.brewer_name }}

{% if let Some(fp) = brew.filter_paper_name %}

{{ fp }}

{% endif %} + {% if !brew.quick_notes.is_empty() %}

{{ brew.quick_notes_label }}

{% endif %}
-
- {% if !brew.quick_notes.is_empty() %} - {% for qn in brew.quick_notes %} - {{ qn.label }} - {% endfor %} - {% else %} - No Notes - {% endif %} + {% if is_authenticated %} + + {% endif %}
{% endmacro %} diff --git a/templates/partials/forms/scan_result_form.html b/templates/partials/forms/scan_result_form.html index 3983416..acf4170 100644 --- a/templates/partials/forms/scan_result_form.html +++ b/templates/partials/forms/scan_result_form.html @@ -129,16 +129,16 @@ diff --git a/templates/partials/icons.html b/templates/partials/icons.html index dbd1430..7cd9ec6 100644 --- a/templates/partials/icons.html +++ b/templates/partials/icons.html @@ -73,9 +73,8 @@ {% endmacro %} {% macro logout(class) %} -