<!--

    Copyright (c) 2010, Sebastian Sdorra
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
    3. Neither the name of SCM-Manager; nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    http://bitbucket.org/sdorra/scm-manager


-->

<!doctype html>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=8">

    <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="resources/images/favicon.ico" />
		<!--
    <link rel="icon" type="image/png" href="resources/images/favicon.png" />
    -->

    <script type="text/javascript">
      var i18n = {
        locale: '{{locale}}',
        country: '{{country}}'
      };
    </script>

    <!--compress-->
    <link rel="stylesheet" type="text/css" href="resources/extjs/resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="resources/extjs/resources/css/xtheme-scmslate.css" />
    <link rel="stylesheet" type="text/css" href="resources/css/style.css" />
    
    <!-- moment.js -->
    <script type="text/javascript" src="resources/moment/moment.js"></script>

    <!-- core overrides -->
    <script type="text/javascript" src="resources/js/sonia.core.js"></script>
    
    <!-- extjs -->
    <script type="text/javascript" src="resources/extjs/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="resources/extjs/ext-all-debug.js"></script>
    <script type="text/javascript" src="resources/extjs/util/CheckColumn.js"></script>
    <script type="text/javascript" src="resources/extjs/util/FileUploadField.js"></script>

    <!-- sonia.global -->
    <script type="text/javascript" src="resources/js/sonia.global.js"></script>
    <script type="text/javascript" src="resources/js/sonia.history.js"></script>

    <!-- sonia.util -->
    <script type="text/javascript" src="resources/js/util/sonia.util.js"></script>
    <script type="text/javascript" src="resources/js/util/sonia.util.link.js"></script>

    <!-- sonia.override -->
    <script type="text/javascript" src="resources/js/override/ext.form.vtypes.js"></script>
    <script type="text/javascript" src="resources/js/override/ext.form.field.js"></script>
    <script type="text/javascript" src="resources/js/override/ext.util.format.js"></script>
    <script type="text/javascript" src="resources/js/override/ext.data.store.js"></script>
    <script type="text/javascript" src="resources/js/override/ext.grid.columnmodel.js"></script>
    <script type="text/javascript" src="resources/js/override/ext.grid.gridpanel.js"></script>
    <script type="text/javascript" src="resources/js/override/ext.grid.groupingview.js"></script>
    
    <!-- sonia.state -->
    <script type="text/javascript" src="resources/js/uistate/sonia.uistate.js"></script>
    <script type="text/javascript" src="resources/js/uistate/sonia.uistate.webstorageprovider.js"></script>

    <!-- sonia.navigation -->
    <script type="text/javascript" src="resources/js/navigation/sonia.navigation.js"></script>
    <script type="text/javascript" src="resources/js/navigation/sonia.navigation.navsection.js"></script>
    <script type="text/javascript" src="resources/js/navigation/sonia.navigation.navpanel.js"></script>

    <!-- sonia.login -->
    <script type="text/javascript" src="resources/js/login/sonia.login.js"></script>
    <script type="text/javascript" src="resources/js/login/sonia.login.form.js"></script>
    <script type="text/javascript" src="resources/js/login/sonia.login.window.js"></script>

    <!-- sonia.panel -->
    <script type="text/javascript" src="resources/js/panel/sonia.panel.js"></script>
    <script type="text/javascript" src="resources/js/panel/sonia.panel.syntaxhighlighterpanel.js"></script>

    <!-- sonia.rest -->
    <script type="text/javascript" src="resources/js/rest/sonia.rest.js"></script>
    <script type="text/javascript" src="resources/js/rest/sonia.rest.jsonstore.js"></script>
    <script type="text/javascript" src="resources/js/rest/sonia.rest.panel.js"></script>
    <script type="text/javascript" src="resources/js/rest/sonia.rest.grid.js"></script>
    <script type="text/javascript" src="resources/js/rest/sonia.rest.formpanel.js"></script>

    <!-- sonia.repository -->
    <script type="text/javascript" src="resources/js/repository/sonia.repository.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.grid.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.infopanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.extendedinfopanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.formpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.settingsformpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.permissionformpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.panel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.propertiesformpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.changesetviewergrid.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.changesetviewerpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.blamepanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.diffpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.contentpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.repositorybrowser.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.importwindow.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.commitpanel.js"></script>
    <script type="text/javascript" src="resources/js/repository/sonia.repository.changesetpanel.js"></script>

    <!-- sonia.user -->
    <script type="text/javascript" src="resources/js/user/sonia.user.js"></script>
    <script type="text/javascript" src="resources/js/user/sonia.user.grid.js"></script>
    <script type="text/javascript" src="resources/js/user/sonia.user.formpanel.js"></script>
    <script type="text/javascript" src="resources/js/user/sonia.user.panel.js"></script>

    <!-- sonia.group -->
    <script type="text/javascript" src="resources/js/group/sonia.group.js"></script>
    <script type="text/javascript" src="resources/js/group/sonia.group.grid.js"></script>
    <script type="text/javascript" src="resources/js/group/sonia.group.formpanel.js"></script>
    <script type="text/javascript" src="resources/js/group/sonia.group.propertiesformpanel.js"></script>
    <script type="text/javascript" src="resources/js/group/sonia.group.memberformpanel.js"></script>
    <script type="text/javascript" src="resources/js/group/sonia.group.panel.js"></script>

    <!-- sonia.security -->
    <script type="text/javascript" src="resources/js/security/sonia.security.js"></script>
    <script type="text/javascript" src="resources/js/security/sonia.security.permissionspanel.js"></script>
    
    <!-- sonia.config -->
    <script type="text/javascript" src="resources/js/config/sonia.config.js"></script>
    <script type="text/javascript" src="resources/js/config/sonia.config.configpanel.js"></script>
    <script type="text/javascript" src="resources/js/config/sonia.config.repositoryconfig.js"></script>
    <script type="text/javascript" src="resources/js/config/sonia.config.scmconfigpanel.js"></script>
    <script type="text/javascript" src="resources/js/config/sonia.config.configform.js"></script>
    <script type="text/javascript" src="resources/js/config/sonia.config.simpleconfigform.js"></script>

    <!-- sonia.action -->
    <script type="text/javascript" src="resources/js/action/sonia.action.js"></script>
    <script type="text/javascript" src="resources/js/action/sonia.action.changepasswordwindow.js"></script>
    <script type="text/javascript" src="resources/js/action/sonia.action.exceptionwindow.js"></script>

    <!-- sonia.plugin -->
    <script type="text/javascript" src="resources/js/plugin/sonia.plugin.js"></script>
    <script type="text/javascript" src="resources/js/plugin/sonia.plugin.uploadform.js"></script>
    <script type="text/javascript" src="resources/js/plugin/sonia.plugin.center.js"></script>
    <script type="text/javascript" src="resources/js/plugin/sonia.plugin.store.js"></script>
    <script type="text/javascript" src="resources/js/plugin/sonia.plugin.grid.js"></script>

    <!-- sonia.scm -->
    <script type="text/javascript" src="resources/js/sonia.scm.js"></script>
    <!--/compress-->
    
    <!-- plugins -->
    {{#scripts}}
    <script type="text/javascript" src="plugins/resources/js/{{name}}"></script>
    {{/scripts}}
    
    {{#nonDefaultLocale}}
    <script type="text/javascript" src="resources/moment/lang/{{country}}.js"></script>
    <script type="text/javascript" src="resources/extjs/i18n/ext-lang-{{country}}.js"></script>
    <script type="text/javascript" src="resources/js/i18n/{{country}}.js"></script>
    {{/nonDefaultLocale}}

    <title>SCM Manager</title>
  </head>
  <body>

    <!-- use class="x-hide-display" to prevent a brief flicker of the content -->
    <div id="north" class="x-hide-display">

      <div id="header" style="visibility: visible; ">
        <div id="appTitle" class="left-side">
          <img src="resources/images/scm-logo.jpg" alt="SCM Manager">
        </div>
        <div  id="logo" class="right-side">
          <!--
          <img src="resources/images/logo.gif" alt="">
          -->
        </div>
      </div>

    </div>
    <div id="west" class="x-hide-display">
    </div>
    <div id="repository-tab" class="x-hide-display">
      <h1>SCM Managers</h1>
    </div>
    <div id="props-panel" class="x-hide-display" style="width:200px;height:200px;overflow:hidden;">
    </div>
    <div id="south" class="x-hide-display">

      <div id="footer" style="visibility: visible; ">
        <div class="left-side">
          &copy; <a target="_blank" href="http://bitbucket.org/sdorra/scm-manager">SCM Manager</a>
        </div>
        <div class="right-side">
          <span id="scm-userinfo"></span> {{version}}
        </div>
      </div>

    </div>

    <!-- Fields required for history management -->
    <form id="history-form" class="x-hidden">
      <input type="hidden" id="x-history-field" />
      <iframe id="x-history-frame"></iframe>
    </form>
    
    <noscript>
      <div class="noscript-container">
        <h1>SCM-Manager</h1>
        <p>
          <b>Warning:</b> SCM-Manager requires JavaScript. 
          Please enable JavaScript in your browser and try again.
        <p>
      </div>
    </noscript>
  </body>
</html>