Files
cosmopet-price-updates/src/Views/PriceUpdatesPage.php

55 lines
2.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="price-updates-wrapper">
<h1>Обновление цен у товаров</h1>
<div class="price-updates-variations">
<div>
<input type="radio" id="excel" name="price-updates-variant" value="excel" checked />
<label for="excel">Обновить через файл Excel</label>
</div>
<div>
<input type="radio" id="google-table" name="price-updates-variant" value="google-table" />
<label for="google-table">Обновить через google-таблицу</label>
</div>
</div>
<div class="price-updates-contents">
<form data-price-updates-variant="excel">
<input type="file" name="file" require />
<button type="submit">Обновить</button>
<input type="hidden" name="type" value="excel" accept=".xlsx,.xls" />
</form>
<form data-price-updates-variant="google-table" class="hidden">
<input type="url" name="url" placeholder="Ссылка на гугл таблицу" require />
<button type="submit">Обновить</button>
<input type="hidden" name="type" value="google-table" />
</form>
</div>
<span class="price-updates-caption">
Обновляются только те товары, у которых <b>присутствует артикул и цена не совпадает с базовой или акционной</b>.
</span>
<div class="price-updates-count hidden">
<span class="price-updates-count-success"></span>
<span class="price-updates-count-error"></span>
</div>
<div class="price-updates-response hidden">
<table>
<thead>
<tr>
<th>Артикул</th>
<th>Базовая цена</th>
<th>Акционная цена</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="price-updates-error hidden"></div>
<div class="price-updates-loader-wrapper hidden">
<div class="price-updates-loader"></div>
</div>
</div>