सामग्री पर जाएँ
अनुभाग
Fiesta

media-grid

सूची स्क्रीन सामान्य सूची स्क्रीन: शीर्षक, टूलबार और पंक्तियाँ, जो डेस्कटॉप और मोबाइल दोनों पर काम करती हैं।

छवि टाइलों की एक ग्रिड। हर फ़्रेम 4:3 है, इसलिए लंबे स्क्रीनशॉट और चौड़े बैनर एक ही समान ग्रिड में बैठते हैं।

हर उदाहरण असली है, पर उसके लिंक कहीं नहीं ले जाते। HTML कॉपी करने के लिए मार्कअप दिखाता है।

स्क्रीनशॉट, एक लोगो और एक बैनर

लोगो या बैनर को rst-media-frame="contain" दें। स्क्रीनशॉट डिफ़ॉल्ट ही रखता है और अपना ऊपरी हिस्सा दिखाता है। बिना विवरण वाली टाइल पर "कोई विवरण नहीं" लिखा आता है।

पूर्वावलोकन

इसे <div rst-list> के अंदर रखें।

<div rst-media>
  <div rst-media-tile>
    <div rst-media-frame>
      <img src="../assets/sample-checkout.svg" alt="" loading="lazy" decoding="async" width="1280" height="3200">
    </div>
    <div rst-media-caption>
      <div rst-media-name>
        <a href="/images/1">चेकआउट, चरण 2</a>
        <details rst-row-menu name="rst-menus">
          <summary aria-label="चेकआउट, चरण 2 के लिए कार्रवाइयाँ">
            <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
          </summary>
          <div rst-row-menu-panel>
            <a href="/images/1/edit">संपादित करें</a>
            <hr>
            <a class="rst-danger" href="/images/1/delete">हटाएँ…</a>
          </div>
        </details>
      </div>
      <p rst-media-desc>भुगतान का चरण, कार्ड फ़ॉर्म खुला हुआ।</p>
      <p rst-media-meta>1280 × 3200 · 412 KB</p>
    </div>
  </div>
  <div rst-media-tile>
    <div rst-media-frame>
      <img src="../assets/sample-pricing.svg" alt="" loading="lazy" decoding="async" width="1280" height="2400">
    </div>
    <div rst-media-caption>
      <div rst-media-name>
        <a href="/images/2">मूल्य पृष्ठ</a>
        <details rst-row-menu name="rst-menus">
          <summary aria-label="मूल्य पृष्ठ के लिए कार्रवाइयाँ">
            <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
          </summary>
          <div rst-row-menu-panel>
            <a href="/images/2/edit">संपादित करें</a>
            <hr>
            <a class="rst-danger" href="/images/2/delete">हटाएँ…</a>
          </div>
        </details>
      </div>
      <p rst-media-desc="none">कोई विवरण नहीं</p>
      <p rst-media-meta>1280 × 2400 · 318 KB</p>
    </div>
  </div>
  <div rst-media-tile>
    <div rst-media-frame="contain">
      <img src="../assets/sample-logo.svg" alt="Harbour" loading="lazy" decoding="async" width="240" height="240">
    </div>
    <div rst-media-caption>
      <div rst-media-name>
        <a href="/images/3">Harbour लोगो</a>
        <details rst-row-menu name="rst-menus">
          <summary aria-label="Harbour लोगो के लिए कार्रवाइयाँ">
            <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
          </summary>
          <div rst-row-menu-panel>
            <a href="/images/3/edit">संपादित करें</a>
            <hr>
            <a class="rst-danger" href="/images/3/delete">हटाएँ…</a>
          </div>
        </details>
      </div>
      <p rst-media-desc>गहरे और हल्के रंग की पृष्ठभूमियों के लिए सिर्फ़ चिह्न।</p>
      <p rst-media-meta>240 × 240 · 3 KB</p>
    </div>
  </div>
  <div rst-media-tile>
    <div rst-media-frame="contain">
      <img src="../assets/sample-banner.svg" alt="" loading="lazy" decoding="async" width="1200" height="200">
    </div>
    <div rst-media-caption>
      <div rst-media-name>
        <a href="/images/4">वसंत बैनर</a>
        <details rst-row-menu name="rst-menus">
          <summary aria-label="वसंत बैनर के लिए कार्रवाइयाँ">
            <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
          </summary>
          <div rst-row-menu-panel>
            <a href="/images/4/edit">संपादित करें</a>
            <hr>
            <a class="rst-danger" href="/images/4/delete">हटाएँ…</a>
          </div>
        </details>
      </div>
      <p rst-media-desc>मार्च में दुकान के ऊपर की पट्टी।</p>
      <p rst-media-meta>1200 × 200 · 64 KB</p>
    </div>
  </div>
</div>

किसी ऐप में यह /images/1, /images/1/delete, /images/1/edit, /images/2, /images/2/delete, /images/2/edit, /images/3, /images/3/delete, /images/3/edit, /images/4, /images/4/delete, /images/4/edit तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।

चयन मोड, एक टाइल चुनी हुई

ग्रिड और एक bulk-bar को एक ही फ़ॉर्म में लपेटें। हर टाइल का चेकबॉक्स अपना मान "id" नाम से भेजता है; अगर आपका ऐप कोई और नाम चाहता है तो बदल दें। फ़ॉर्म के अंदर मेन्यू आइटम लिंक होने चाहिए।

पूर्वावलोकन

इसे <div rst-list> के अंदर रखें।

<div rst-media>
  <div rst-media-tile>
    <div rst-media-frame>
      <img src="../assets/sample-checkout.svg" alt="" loading="lazy" decoding="async" width="1280" height="3200">
      <label rst-selbox>
        <input type="checkbox" name="id" value="1" checked aria-label="चेकआउट, चरण 2 चुनें">
      </label>
    </div>
    <div rst-media-caption>
      <div rst-media-name>
        <a href="/images/1">चेकआउट, चरण 2</a>
        <details rst-row-menu name="rst-menus">
          <summary aria-label="चेकआउट, चरण 2 के लिए कार्रवाइयाँ">
            <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
          </summary>
          <div rst-row-menu-panel>
            <a href="/images/1/edit">संपादित करें</a>
            <hr>
            <a class="rst-danger" href="/images/1/delete">हटाएँ…</a>
          </div>
        </details>
      </div>
      <p rst-media-desc>भुगतान का चरण, कार्ड फ़ॉर्म खुला हुआ।</p>
      <p rst-media-meta>1280 × 3200 · 412 KB</p>
    </div>
  </div>
  <div rst-media-tile>
    <div rst-media-frame>
      <img src="../assets/sample-pricing.svg" alt="" loading="lazy" decoding="async" width="1280" height="2400">
      <label rst-selbox>
        <input type="checkbox" name="id" value="2" aria-label="मूल्य पृष्ठ चुनें">
      </label>
    </div>
    <div rst-media-caption>
      <div rst-media-name>
        <a href="/images/2">मूल्य पृष्ठ</a>
        <details rst-row-menu name="rst-menus">
          <summary aria-label="मूल्य पृष्ठ के लिए कार्रवाइयाँ">
            <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>
          </summary>
          <div rst-row-menu-panel>
            <a href="/images/2/edit">संपादित करें</a>
            <hr>
            <a class="rst-danger" href="/images/2/delete">हटाएँ…</a>
          </div>
        </details>
      </div>
      <p rst-media-desc="none">कोई विवरण नहीं</p>
      <p rst-media-meta>1280 × 2400 · 318 KB</p>
    </div>
  </div>
</div>

किसी ऐप में यह /images/1, /images/1/delete, /images/1/edit, /images/2, /images/2/delete, /images/2/edit तक पहुँचता। यहाँ इसके लिंक और फ़ॉर्म कहीं नहीं जाते।