preview.html 1.4 KB

1234567891011
  1. <!-- @dsCard group="Формы" height=300 subtitle="Поле ввода и загрузка фото с ошибкой рядом" -->
  2. <div class="pp-root" style="padding:20px;min-height:100%">
  3. <div style="display:grid;gap:18px;max-width:420px">
  4. <div class="pp-field"><label class="pp-field__label" for="f-name">Название места</label>
  5. <input class="pp-input" id="f-name" value="Набережная у Котельнической высотки">
  6. <span class="pp-field__hint">Как место называют фотографы, без кавычек</span></div>
  7. <div class="pp-field pp-field--error"><span class="pp-field__label" id="f-photo-l">Фото места</span>
  8. <div class="pp-drop" role="button" tabindex="0" aria-labelledby="f-photo-l" aria-describedby="f-photo-e"><svg width="22" height="22" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13V4M6.5 7.5 10 4l3.5 3.5M4 13v3h12v-3"/></svg><span>IMG_2048.HEIC · 4,1 МБ</span></div>
  9. <span class="pp-field__error" id="f-photo-e"><svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" aria-hidden="true"><circle cx="7" cy="7" r="5.6"/><path d="M7 4v3.4M7 9.8v.1"/></svg>Формат HEIC не поддерживается. Загрузите JPG, PNG или WebP до 15 МБ.</span></div>
  10. </div>
  11. </div>