<!--

    Tigase HTTP API component - Tigase HTTP API component
    Copyright (C) 2013 Tigase, Inc. (office@tigase.com)

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, version 3 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program. Look for COPYING file in the top folder.
    If not, see http://www.gnu.org/licenses/.

-->
<!DOCTYPE html>
<html>
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <meta charset="UTF-8"/>
      <title>Tigase XMPP Server: ${title}</title>
      ${ util.inlineCss('bootstrap.min.css') }
      ${ util.inlineCss('custom.css') }
      ${ util.inlineCss('http-api-custom.css') }
      <% imports.each {
      if (it.type == 'css' && it.src) { %>
      <link rel='stylesheet' type='text/css' href='${src}'></link>
      <%    } else if (it.type == 'css' && it.content) { %>
      <style>.test {} ${it.content}</style>
      <%    } else if (it.type == 'script') { %>
      <script src="${it.src}"></script>
      <%    } %>
      <%  } %>
</head>
<body>
<noscript>
      <div style="border: 2px solid red; margin: 3px">
            <div style="color: red; font-weight: bold; padding: 10px "><span>WARNING:</span><span>Your browser does not support JavaScript or JavaScript is disabled.</span></div>
            <div style="font-size: 0.9em; padding: 5px 15px">Tigase XMPP Server Setup uses JavaScript to validate chosen configuration options - it may not work properly without JavaScript and may result in an incorrect configuration.<br/>We strongly recommend changing web browser or enabling JavaScript in web browser configuration.</div>
      </div>
</noscript>
<div id="wrapper">
      <nav class="navbar navbar-default navbar-static-top" role = "navigation" style="margin-bottom: 0;">
            <div class="navbar-header">
                  <a class="navbar-brand" href="/" id="logo">
                        <p>${title}</p>
                  </a>
            </div>
      </nav>
      <div id="page-wrapper" class="no-sidebar">
      <div class="row">
            <div class="col-sm-12 col-md-12 col-lg-12">
                  <div class="panel-body">