<div data-dojo-type="dijit.layout.TabContainer" data-dojo-props="nested:true, doLayout:true" id="tab_pluginssettings">

{% if default_iface %}

<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Available"|escapejs %}'
    {% if focus == "plugins.Available" %}, selected: true{% endif %},
    doLayout: true,
    href: '{% url "freeadmin_plugins_available_datagrid" %}',
    refreshOnShow: true" class="objrefresh" tab="plugins.Available" id="tab_Available">
</div>

<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Installed"|escapejs %}'
    {% if focus == "plugins.Installed" %}, selected: true{% endif %},
    doLayout: true,
    href: '{% url "plugins_plugins" %}',
    refreshOnShow: true" class="objrefresh" tab="plugins.Installed" id="tab_Installed">
</div>


<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Configuration"|escapejs %}'
    {% if focus == "plugins.Configuration" %}, selected: true{% endif %},
    doLayout: false,
    href: '{% url "freeadmin_plugins_configuration_edit" oid=conf.id %}?inline=true',
    refreshOnShow: true" class="objrefresh" tab="plugins.Configuration" id="tab_Configuration">
</div>

{% else %}

  <div>
  <span style="color:red;font-weight:bold;">
  <pre>
        {% trans "You must configure a default route (Network->IPv4 Default Gateway)" %}
  </pre>
  </span>
  </div>

{% endif %}

</div>
