{% extends 'base/module.twig' %}

{% block content %}

    <file-manager
      v-if="open"
      @close="open = false"
      @file="onSelectedFile"
      @icon="onSelectedIcon"
      :max-width="32"
      :max-height="32"
      :min-width="16"
      :min-height="16"
      show-folder-icons
      square
    >
    </file-manager>

    <the-custom-links
      v-show="tabs[0].active"
      :links="nav"
      :position="TypeCustomLinks.Nav"
      :disabled="disableForm"
    >
    </the-custom-links>

    <the-custom-links
      v-show="tabs[1].active"
      :links="header"
      :position="TypeCustomLinks.Header"
      :disabled="disableForm"
      without-sublinks
    >
    </the-custom-links>

{% endblock %}