<section class="gatherer-container journal-entry-pages">
    <header>
        {{#if hasDraws}}<span {{#unless pullsRemaining}}style="color: red"{{/unless}}><strong>{{localize "gatherer.sheet.remaining"}}:</strong> {{pullsRemaining}}</span>{{/if}}
        <span><strong>{{localize "gatherer.sheet.quantity"}}:</strong> {{quantity}}</span>
        {{#if hasTime}}<span><strong>{{localize "gatherer.sheet.time"}}:</strong> {{resetTime}}</span>{{/if}}
    </header>
    <ul>
        {{#each items}}
            <li class="gatherer-item" data-uuid="{{uuid}}" data-tooltip="{{name}} {{tableWeight}}%" style="background-image: url('{{img}}'); width: {{../size}}px; height: {{../size}}px"></li>
        {{/each}}
    </ul>
    <footer class="gatherer-buttons action-buttons flexrow">
        {{#if isGM}}
        <button id="gatherer-reset"><i class="fas fa-undo"></i> {{localize "gatherer.sheet.reset"}}</button>
        <button id="gatherer-edit"><i class="fas fa-pen-to-square"></i> {{localize "gatherer.sheet.edit"}}</button>
        {{/if}}
        <button id="gatherer-gather"><i class="fas fa-leaf"></i> {{localize "gatherer.sheet.gather"}}</button>
    </footer>
</section>