def get_sample_items(sample: dict):
    """Create the list of sample items

    Args:
        sample: dict of samples

    Returns:
        List of sample items to show in the interface.
    """
    items = {}
    names = {"head": "First rows", "tail": "Last rows"}
    for key in sample:
        items[key] = {
            "name": names[key],
            "value": '<div id="sample-container" class="col-sm-12">{}</div>'.format(
                sample[key].to_html(classes="sample table table-striped")
            ),
        }
    return items