@staticmethod
    def layout(item):

        if item.parent is None:
            # The menu
            items = item.render_components()
            if items:
                return UL(items)
            else:
                return "" # menu is empty
        else:
            # A menu item
            if item.enabled and item.authorized:
                return LI(A(DIV(item.label,
                                _class="hoverable"),
                            _href=item.url()),
                          _class="fleft")
            else:
                return None

# -----------------------------------------------------------------------------
# Shortcut
Remove the node from maintenance mode.
dataset/ETHPy150Open sahana/eden/modules/templates/DRRPP/layouts.py/S3TopMenuLayout.layout--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/api/controllers/v1/node.py/NodeMaintenanceController.delete