diff --git a/src/routes/calculator/_resin.svelte b/src/routes/calculator/_resin.svelte index 28c648a2..d9633edb 100644 --- a/src/routes/calculator/_resin.svelte +++ b/src/routes/calculator/_resin.svelte @@ -41,6 +41,7 @@ let condensedResin = { id: 'condensed_resin', + image: '/images/condensed_resin.png', label: 'Condensed Resin', value: 40, }; @@ -126,16 +127,66 @@ {/if}

-
+
{#if !changed}
- +
- + + + {#if resinOutput.condensed.condensedResin !== 0} + + + + + + + + + + {/if} + +
- + + {resinOutput.resin} + + + + + {originalResin.label} + + {originalResin.label} + +
{$t('calculator.resin.or')}
+ {resinOutput.condensed.resin} + + + + + {originalResin.label} + + {originalResin.label} + +
+ {resinOutput.condensed.condensedResin} + + + + + {condensedResin.label} + + {condensedResin.label} + +
{$t('calculator.resin.fullTime')}: {#if $t('calculator.resin.timeFormat') === 'en'} {fullTime.locale('en').format('dddd HH:mm:ss')} ({fullTime.locale('en').fromNow()}) @@ -150,16 +201,3 @@ - - diff --git a/static/images/condensed_resin.png b/static/images/condensed_resin.png new file mode 100644 index 00000000..5c164de1 Binary files /dev/null and b/static/images/condensed_resin.png differ