<commit_before><%--

    Copyright 2012 Netflix, Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

--%>
<%@ page import="grails.converters.JSON; com.netflix.asgard.push.GroupResizeOperation" %>
<!DOCTYPE html>
<html>
<head>
  <title><g:layoutTitle default="Asgard ${env}"/></title>
  <meta http-equiv="X-UA-Compatible" content="chrome=1">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <link rel="stylesheet" href="${assetPath(src: 'main.css')}?v=${build}"/>
  <link rel="stylesheet" href="${assetPath(src: 'animate.css')}?v=${build}"/>
  <link rel="stylesheet" href="${assetPath(src: 'scoped-twbs.min.css')}?v=${build}"/>
  <link rel="stylesheet" href="${assetPath(src: 'select2-3.2/select2.css')}?v=${build}"/>
  <!--[if IE]>
    <link rel="stylesheet" href="${assetPath(src: 'ie.css')}?v=${build}"/>
  <![endif]-->
  <asset:link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  <g:layoutHead/>
</head>
<body ng-app="asgardApp" class="${envStyle} ${occasion.styleClass}">

<g:if test="${ieWithoutChromeFrame}">
<!--[if IE]>
  <script type="text/javascript" src="${assetPath(src: 'chromeframeinstall.js')}?v=${build}"></script>
  <div class="messageForIeUsers">
  Please use Chrome, Firefox, or Safari. IE is not supported. If you must use IE then install Google Chrome Frame.
  </div>
<![endif]-->
</g:if>
  <div id="spinner" class="spinner" style="display:none;">
    <asset:image src="spinner.gif" alt="Spinner" />
  </div>
  <div class="titlebar">
    <div class="header">
      <a href="${assetPath(src: '/')}">
        <asset:image id="occasionIcon" class="logo" title="${occasion.message}" src="occasion/${occasion?.iconFileName}"/>
        <div class="mainHeader">Asgard</div>
      </a>
      <span>${env}</span>
    </div>
    <g:if test="${!pageProperty(name: 'meta.hideNav')}">
      <div class="region">
        <form action="/" method="GET">
          <g:select title="Switch to a different Amazon region" name="region" class="noSelect2" id="regionSwitcher"
                    value="${region.code}" from="${regions}" optionKey="code" optionValue="description"/><br/>
          <asset:image src="worldmap/${region.mapImageFileName}" title="${region.description} is your current region"/>
        </form>
      </div>
      <div class="ticket" title="${fullTicketLabel} number for logging change actions.">
        <input type="text" name="ticket" placeholder="${ticketLabel}" id="ticketNumber" title="${fullTicketLabel} number" class="${ticketRequired ? 'required' : 'optional'}"/>
      </div>
      <g:if test="${authenticationEnabled}">
        <shiro:isLoggedIn>
          <div class="authentication">
            Logged in as <shiro:principal/>
            <ul>
              <g:if test="${apiTokenEnabled}">
                <li><g:link controller="apiToken" action="create">Generate API Token</g:link></li>
              </g:if><commit_msg>Fix incorrect usage of assetPath<commit_after><%--

    Copyright 2012 Netflix, Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

--%>
<%@ page import="grails.converters.JSON; com.netflix.asgard.push.GroupResizeOperation" %>
<!DOCTYPE html>
<html>
<head>
  <title><g:layoutTitle default="Asgard ${env}"/></title>
  <meta http-equiv="X-UA-Compatible" content="chrome=1">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <link rel="stylesheet" href="${assetPath(src: 'main.css')}?v=${build}"/>
  <link rel="stylesheet" href="${assetPath(src: 'animate.css')}?v=${build}"/>
  <link rel="stylesheet" href="${assetPath(src: 'scoped-twbs.min.css')}?v=${build}"/>
  <link rel="stylesheet" href="${assetPath(src: 'select2-3.2/select2.css')}?v=${build}"/>
  <!--[if IE]>
    <link rel="stylesheet" href="${assetPath(src: 'ie.css')}?v=${build}"/>
  <![endif]-->
  <asset:link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  <g:layoutHead/>
</head>
<body ng-app="asgardApp" class="${envStyle} ${occasion.styleClass}">

<g:if test="${ieWithoutChromeFrame}">
<!--[if IE]>
  <script type="text/javascript" src="${assetPath(src: 'chromeframeinstall.js')}?v=${build}"></script>
  <div class="messageForIeUsers">
  Please use Chrome, Firefox, or Safari. IE is not supported. If you must use IE then install Google Chrome Frame.
  </div>
<![endif]-->
</g:if>
  <div id="spinner" class="spinner" style="display:none;">
    <asset:image src="spinner.gif" alt="Spinner" />
  </div>
  <div class="titlebar">
    <div class="header">
      <g:link uri="/">
          <asset:image id="occasionIcon" class="logo" title="${occasion.message}" src="occasion/${occasion?.iconFileName}"/>
          <div class="mainHeader">Asgard</div>
      </g:link>
      <span>${env}</span>
    </div>
    <g:if test="${!pageProperty(name: 'meta.hideNav')}">
      <div class="region">
        <form action="/" method="GET">
          <g:select title="Switch to a different Amazon region" name="region" class="noSelect2" id="regionSwitcher"
                    value="${region.code}" from="${regions}" optionKey="code" optionValue="description"/><br/>
          <asset:image src="worldmap/${region.mapImageFileName}" title="${region.description} is your current region"/>
        </form>
      </div>
      <div class="ticket" title="${fullTicketLabel} number for logging change actions.">
        <input type="text" name="ticket" placeholder="${ticketLabel}" id="ticketNumber" title="${fullTicketLabel} number" class="${ticketRequired ? 'required' : 'optional'}"/>
      </div>
      <g:if test="${authenticationEnabled}">
        <shiro:isLoggedIn>
          <div class="authentication">
            Logged in as <shiro:principal/>
            <ul>
              <g:if test="${apiTokenEnabled}">
                <li><g:link controller="apiToken" action="create">Generate API Token</g:link></li>
              </g:if>
{'fraction_non_alphanumeric': 0.18486659862953783, 'fraction_numerical': 0.00554016620498615, 'mean_word_length': 3.9566473988439306, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5695783', 'n_tokens_mistral': 2167, 'n_tokens_neox': 2100, 'n_words': 521}