<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~   WSO2 Inc. licenses this file to you 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.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:b="http://butterfaces.larmic.de/components">

<h:head>
    <title>Java Pet Shop </title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"
          rel="stylesheet"/>
</h:head>
<h:body>
    <ui:composition template="/template/common/commonLayout.xhtml">
        <ui:define name="content">
            <h3>Add new pet type</h3>

            <h:form>
                <h:messages infoStyle="color:darkgreen" errorStyle="color:darkred"/>
                <br/>
                <b:text id="petType"
                        label="Pet Type Name"
                        hideLabel="false"
                        value="#{petTypeBean.petType.name}"
                        placeholder="Enter new pet type name..."
                        required="true"
                        autoFocus="true"
                        rendered="true"/>
                <b:tooltip>
                    Enter new pet type name...
                </b:tooltip>
                <br/>
                <br/>
                <h:commandButton action="#{petTypeBean.addPetType}"
                                 value=" Add " class="btn btn-success"/>

                <h:button value="Cancel" outcome="/pet/index" class="btn btn-danger"/>

            </h:form>
        </ui:define>
    </ui:composition>
</h:body>
</html><commit_msg>add pet type styles<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~   WSO2 Inc. licenses this file to you 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.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:b="http://butterfaces.larmic.de/components">

<h:head>
    <title>Java Pet Shop </title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"
          rel="stylesheet"/>
</h:head>
<h:body>
                <ui:composition template="/template/common/commonLayout.xhtml">
                    <ui:define name="content">
                        <div class="container-fluid body-wrapper">

                        <div class="row">
                        <div class="col-md-4">
                        <h3>Add new pet type</h3>

                        <h:form>
                            <h:messages infoStyle="color:darkgreen" errorStyle="color:darkred"/>
                            <br/>
                            <b:text id="petType"
                                    label="Pet Type Name"
                                    hideLabel="false"
                                    value="#{petTypeBean.petType.name}"
                                    placeholder="Enter new pet type name..."
                                    required="true"
                                    autoFocus="true"
                                    rendered="true"/>
                            <b:tooltip>
                                Enter new pet type name...
                            </b:tooltip>
                            <br/>
                            <br/>
                            <h:commandButton action="#{petTypeBean.addPetType}"
                                             value=" Add " class="btn btn-primary"/>

                            <h:button value="Cancel" outcome="/pet/index" class="btn  btn-default"/>

                        </h:form>
                        </div>
                        </div>
                        </div>
                    </ui:define>
                </ui:composition>

</h:body>
</html>
{'fraction_non_alphanumeric': 0.12465627864344637, 'fraction_numerical': 0.011182401466544454, 'mean_word_length': 1.4205856255545697, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1376610', 'n_tokens_mistral': 1611, 'n_tokens_neox': 1464, 'n_words': 356}