# orca.ui.machines

> A module of morca's API.

A run's machines on its page: each instance with its role, its metrics' peaks and warnings (`orca.metrics`), and the steps that ran on it.

## Functions

### `machines_html`

```mojo
def machines_html(mut h: Html, mut db: State, r: RunRow, metrics: List[InstanceMetrics])
```

The Machines card (`orca.metrics`), saying what its numbers are: nothing for a run without samples.

### `instances_html`

```mojo
def instances_html(mut h: Html, run: Int, xs: List[InstanceRow])
```
