Dmitriy | Инициализация.
This commit is contained in:
55
src/Views/PriceUpdatesPage.php
Normal file
55
src/Views/PriceUpdatesPage.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user