Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

TaskList

A list of things to do or follow, each with its status, leading to the item.

On this page

Playground

Detail
Background
HTML
<ul class="feitio-task-list"><li><span class="name"><a class="feitio-link" href="#playground">Review the lease</a></span><span class="feitio-tag" data-status="warn"><svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-warn"></use></svg>Waiting</span></li><li><span class="name"><a class="feitio-link" href="#playground">Organize the photos</a></span><span class="feitio-tag"><svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-info"></use></svg>Doing</span></li><li><span class="name"><a class="feitio-link" href="#playground">Water the plants</a></span><span class="feitio-tag" data-status="ok"><svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-check"></use></svg>Done</span></li></ul>

When to use

When not to use

Examples

Tasks

The name leads to the item; the detail says who and when; the status is a Tag, on the right.

Show code
HTML
<ul class="feitio-task-list">
  <li>
    <span class="name"><a class="feitio-link" href="/tarefas/1">Revisar o contrato</a><small>Prazo 10 nov</small></span>
    <span class="feitio-tag" data-status="warn">…Esperando</span>
  </li>
</ul>

Anatomy

  1. Name: a link to the item.
  2. Detail, optional: who, when.
  3. Status: a Tag, on the right.

Do and don’t

Do

The name leads to the item; the status reads at once.

Don’t

  • Replace the photosViewEditComplete

Three links per row and no status: the list becomes a button panel.

Writing

Accessibility

Attributes

AttributeValuesWhat for
class="feitio-task-list"on the <ul>Items with hairlines, name on the left and status on the right.
class="name"on name and detailName in bold and small detail.
Top