<commit_before><!doctype html>
<html xmlns:ng="http://angularjs.org" ng-app="mapproxy_gui">
    <head>
        <title>Mapproxy GUI</title>
        <link rel="stylesheet" href="/static/css/bootstrap.css">
        <link rel="stylesheet" href="/static/css/smoothness/jquery-ui-1.10.0.custom.min.css">
        <link rel="stylesheet" href="/static/css/custom.css">

        <!--[if lte IE 8]>
            <script type="text/javascript" src="js/ie8_fixtures.js"></script>
        <![endif]-->

        <!-- libs -->
        <script type="text/javascript" src="/static/js/lib/angular.js"></script>
        <script type="text/javascript" src="/static/js/lib/angular-resource.js"></script>
        <script type="text/javascript" src="/static/js/lib/jquery-1.9.0.js"></script>
        <script type="text/javascript" src="/static/js/lib/jquery-ui-1.10.0.custom.js"></script>
        <script type="text/javascript" src="/static/js/lib/bootstrap.js"></script>

        <!-- site libs -->
        <script type="text/javascript" src="/static/js/helper.js"></script>
        <script type="text/javascript" src="/static/js/validators.js"></script>
        <script type="text/javascript" src="/static/js/resources.js"></script>
        <script type="text/javascript" src="/static/js/services.js"></script>
        <script type="text/javascript" src="/static/js/directives.js"></script>
        <script type="text/javascript" src="/static/js/controllers.js"></script>
        <script type="text/javascript">
            /* add directives and services*/
            var app = angular.module('mapproxy_gui', ['mapproxy_gui.directives', 'mapproxy_gui.services', 'mapproxy_gui.validators']);
        </script>

    </head>
    <body>
        <div tabs>
            <div pane header="Source">
                <div class="row-fluid">
                    <div class="span3 well" ng-controller="MapproxySourceListCtrl">
                        <h3>Mapproxy Sources</h3>
                        <ul>
                            <li class="mapproxy_source label"
                                ng-repeat="source in mapproxy_sources | orderBy:'name'"
                                >
                                <span ng-click="editSource(source)">{{source.name}}</span>
                                <button
                                    class="btn btn-mini btn-danger right"
                                    ask-dialog
                                    dialog-title="Confirm!"
                                    dialog-text="Shold i do it?"
                                    callback="removeSource(source)">X</button>
                            </li>
                        </ul>
                    </div>

                    <div class="span4 well">
                        <h3>Edit Source</h3>
                        <div ng-controller="MapproxySourceNoticeCtrl">
                            <form class="form-horizontal" name="source_form" ng-controller="MapproxySourceFormCtrl" novalidate>
                                <div toggle-group mode="multiShow">
                                    <div
                                        style="display:none;"
                                        id="confirm_url_change_dialog"
                                        title="confirm url change">
                                        <p>Replace service URL deletes all layers depends to it!</p>
                                    </div>
                                    <h5 toggle-element="next">Required Settings</h5>

                                    <div ng-show="true">
                                <!-- name -->
                                        <div labeled-control-group name-for="source_form.name" text="Name">
                                            <input type="text" required ng-model="source.name" name="source_form.name"/>
                                        </div>
                                <!-- req -->
                                    <!-- url -->
                                        <div labeled-control-group name-for="source_form.req_url" text="URL">
                                            <!-- change-callback MUST provide parameters callback and new_data -->
                                            <!-- if an input field should be droppable, it must be wraped in an other element.
                                                 otherwise input field value will not be updated when something is dropped in.-->
                                            <div droppable change-callback="openDialog(callback, new_data)" class="droppable_input_wrapper"
                                                accepts="wms_source" use-key-for-value="url" ng-model="source.req.url">
                                                <input type="url" value="{{source.wms_source}}" name="source_form.req_url"
                                                    required ng-model="source.req.url" />
                                            </div>
                                        </div>
                                    <!-- layer -->
                                        <div labeled-control-group name-for="source_form.req_layer" text="Layer">
                                            <div
                                                droppable
                                                required
                                                accepts="wms_layer"
                                                allow-array="true"
                                                ng-model="source.req.layer"
                                                name="source_form.req_layers"
                                                use-key-for-value="name"
                                                class="insertable_multi uneditable-input">
                                                <div sortable ng-model="source.req.layer" >
                                                    <div ng-repeat="layer in source.req.layer" class="item">
                                                        {{layer}} <span ng-show="layerTitle(layer)">({{layerTitle(layer)}})</span>
                                                        <button class="btn btn-mini btn-danger right" ng-click="remove(layer)">X</button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div labeled-control-group name-for="add_layer_manual" text="Manual add layer">
                                            <input type="text" id="add_layer_manual" name="add_layer_manual" ng-model="custom.layer_manual"><commit_msg>Enlarged input fields<commit_after><!doctype html>
<html xmlns:ng="http://angularjs.org" ng-app="mapproxy_gui">
    <head>
        <title>Mapproxy GUI</title>
        <link rel="stylesheet" href="/static/css/bootstrap.css">
        <link rel="stylesheet" href="/static/css/smoothness/jquery-ui-1.10.0.custom.min.css">
        <link rel="stylesheet" href="/static/css/custom.css">

        <!--[if lte IE 8]>
            <script type="text/javascript" src="js/ie8_fixtures.js"></script>
        <![endif]-->

        <!-- libs -->
        <script type="text/javascript" src="/static/js/lib/angular.js"></script>
        <script type="text/javascript" src="/static/js/lib/angular-resource.js"></script>
        <script type="text/javascript" src="/static/js/lib/jquery-1.9.0.js"></script>
        <script type="text/javascript" src="/static/js/lib/jquery-ui-1.10.0.custom.js"></script>
        <script type="text/javascript" src="/static/js/lib/bootstrap.js"></script>

        <!-- site libs -->
        <script type="text/javascript" src="/static/js/helper.js"></script>
        <script type="text/javascript" src="/static/js/validators.js"></script>
        <script type="text/javascript" src="/static/js/resources.js"></script>
        <script type="text/javascript" src="/static/js/services.js"></script>
        <script type="text/javascript" src="/static/js/directives.js"></script>
        <script type="text/javascript" src="/static/js/controllers.js"></script>
        <script type="text/javascript">
            /* add directives and services*/
            var app = angular.module('mapproxy_gui', ['mapproxy_gui.directives', 'mapproxy_gui.services', 'mapproxy_gui.validators']);
        </script>

    </head>
    <body>
        <div tabs>
            <div pane header="Source">
                <div class="row-fluid">
                    <div class="span3 well" ng-controller="MapproxySourceListCtrl">
                        <h3>Mapproxy Sources</h3>
                        <ul>
                            <li class="mapproxy_source label"
                                ng-repeat="source in mapproxy_sources | orderBy:'name'"
                                >
                                <span ng-click="editSource(source)">{{source.name}}</span>
                                <button
                                    class="btn btn-mini btn-danger right"
                                    ask-dialog
                                    dialog-title="Confirm!"
                                    dialog-text="Shold i do it?"
                                    callback="removeSource(source)">X</button>
                            </li>
                        </ul>
                    </div>

                    <div class="span4 well">
                        <h3>Edit Source</h3>
                        <div ng-controller="MapproxySourceNoticeCtrl">
                            <form class="form-horizontal" name="source_form" ng-controller="MapproxySourceFormCtrl" novalidate>
                                <div toggle-group mode="multiShow">
                                    <div
                                        style="display:none;"
                                        id="confirm_url_change_dialog"
                                        title="confirm url change">
                                        <p>Replace service URL deletes all layers depends to it!</p>
                                    </div>
                                    <h5 toggle-element="next">Required Settings</h5>

                                    <div ng-show="true">
                                <!-- name -->
                                        <div labeled-control-group name-for="source_form.name" text="Name">
                                            <input class="input-xlarge" type="text" required ng-model="source.name" name="source_form.name"/>
                                        </div>
                                <!-- req -->
                                    <!-- url -->
                                        <div labeled-control-group name-for="source_form.req_url" text="URL">
                                            <!-- change-callback MUST provide parameters callback and new_data -->
                                            <!-- if an input field should be droppable, it must be wraped in an other element.
                                                 otherwise input field value will not be updated when something is dropped in.-->
                                            <div droppable change-callback="openDialog(callback, new_data)" class="droppable_input_wrapper input-xlarge"
                                                accepts="wms_source" use-key-for-value="url" ng-model="source.req.url">
                                                <input class="input-xlarge" type="url" value="{{source.wms_source}}" name="source_form.req_url"
                                                    required ng-model="source.req.url" />
                                            </div>
                                        </div>
                                    <!-- layer -->
                                        <div labeled-control-group name-for="source_form.req_layer" text="Layer">
                                            <div
                                                droppable
                                                required
                                                accepts="wms_layer"
                                                allow-array="true"
                                                ng-model="source.req.layer"
                                                name="source_form.req_layers"
                                                use-key-for-value="name"
                                                class="input-xlarge insertable_multi uneditable-input">
                                                <div sortable ng-model="source.req.layer" >
                                                    <div ng-repeat="layer in source.req.layer" class="item">
                                                        {{layer}} <span ng-show="layerTitle(layer)">({{layerTitle(layer)}})</span>
                                                        <button class="btn btn-mini btn-danger right" ng-click="remove(layer)">X</button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div labeled-control-group name-for="add_layer_manual" text="Manual add layer">
                                            <input type="text" id="add_layer_manual" name="add_layer_manual" ng-model="custom.layer_manual" class="input-xlarge">
{'fraction_non_alphanumeric': 0.116314751223789, 'fraction_numerical': 0.00306860524585373, 'mean_word_length': 1.0353903345724906, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 162, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1673324', 'n_tokens_mistral': 2937, 'n_tokens_neox': 2848, 'n_words': 536}