<commit_before><%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<fmt:setLocale value="${pageLang}" />
<fmt:setBundle basename="org.motechproject.resources.messages" var="bundle"/>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>MOTECH - Mobile Technology for Community Health</title>
    <link rel="stylesheet" type="text/css" href="../server/resources/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../server/resources/css/bootstrap-responsive.css">
    <link rel="stylesheet" type="text/css" href="../server/resources/css/index.css" />

    <script src="../server/resources/lib/jquery/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.form.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery-ui.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.alerts.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.i18n.properties-min-1.0.9.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.tools.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../server/resources/lib/angular/angular.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-resource.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-cookies.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-bootstrap.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-ui.min.js" type="text/javascript"></script>

    <script src="../server/resources/lib/bootstrap/bootstrap.min.js" type="text/javascript"></script>

    <script src="../server/resources/js/app.js" type="text/javascript"></script>
    <script src="../server/resources/js/util.js" type="text/javascript"></script>
    <script src="../server/resources/js/common.js" type="text/javascript"></script>
    <script src="../server/resources/js/localization.js" type="text/javascript"></script>
    <script src="../server/resources/js/directives.js" type="text/javascript"></script>
    <script src="../server/resources/js/controllers.js" type="text/javascript"></script>

    <script src="../server/resources/js/startup.js" type="text/javascript"></script>
    <script src="../server/resources/js/dashboard.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(window).load(function() {
            initAngular();
        });
    </script>

</head>
<body ng-controller="MasterCtrl" class="body-startup">
<div class="bodywrap">
    <div class="startup" ng-show="ready">
        <a href="."><div class="startup-logo"><img src="../server/resources/img/motech-logo.jpg" alt="motech-logo" /></div></a>
        <div class="startup-title ng-binding">Mobile Technology for Community Health</div>
        <div class="clearfix"></div>
        <div class="startup-strip">
            <div class="control-group">
            <h2 class="title ng-binding"><fmt:message key="welcome.startup" bundle="${bundle}"/></h2>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="startup-form">
            <div class="diver">
                <form action="startup.do" method="POST" class="form-horizontal">
                    <div class="control-group">
                        <label class="control-label"><fmt:message key="select.language" bundle="${bundle}"/></label>
                        <div class="controls">
                            <c:forEach var="lang" items="${languages}">
                                <input ng-click="setUserLang('${lang}')" type="radio" value="${lang}" name="language" <c:if test="${startupSettings.language == lang}">checked</c:if> /><i class="flag flag-${lang} label-flag-radio"></i>
                            </c:forEach>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label"><fmt:message key="enter.queueUrl" bundle="${bundle}"/></label>
                        <div class="controls">
                            <input type="text" class="input-large" name="queueUrl" value="${startupSettings.queueUrl}"/>
                            <c:if test="${ not empty suggestions.queueUrls }">
                                <div id="queue.urls" class="queue-urls">
                                <c:forEach var="url" items="${suggestions.queueUrls}" varStatus="status">
                                    <div id="queue.url.${status.count}">
                                        <span><fmt:message key="suggestion" bundle="${bundle}"/> #${status.count}: &nbsp;${url}</span>
                                        <button type="button" class="btn btn-mini"><fmt:message key="use" bundle="${bundle}"/></button>
                                    </div>
                                </c:forEach>
                                </div>
                            </c:if>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label"><fmt:message key="enter.schedulerUrl" bundle="${bundle}"/></label>
                        <div class="controls">
                            <input type="text" class="input-large" name="schedulerUrl" value="${startupSettings.schedulerUrl}"/>
                            <c:if test="${ not empty suggestions.schedulerUrls }">
                                <div id="scheduler.urls">
                                <c:forEach var="url" items="${suggestions.schedulerUrls}" varStatus="status">
                                    <div id="scheduler.url.${status.count}">
                                        <span><i><fmt:message key="suggestion" bundle="${bundle}"/> #${status.count}: </i>${url}</span><commit_msg>882 | Fixed broker url suggestion<commit_after><%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<fmt:setLocale value="${pageLang}" />
<fmt:setBundle basename="org.motechproject.resources.messages" var="bundle"/>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>MOTECH - Mobile Technology for Community Health</title>
    <link rel="stylesheet" type="text/css" href="../server/resources/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../server/resources/css/bootstrap-responsive.css">
    <link rel="stylesheet" type="text/css" href="../server/resources/css/index.css" />

    <script src="../server/resources/lib/jquery/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.form.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery-ui.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.alerts.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.i18n.properties-min-1.0.9.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.tools.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/jquery/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../server/resources/lib/angular/angular.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-resource.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-cookies.min.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-bootstrap.js" type="text/javascript"></script>
    <script src="../server/resources/lib/angular/angular-ui.min.js" type="text/javascript"></script>

    <script src="../server/resources/lib/bootstrap/bootstrap.min.js" type="text/javascript"></script>

    <script src="../server/resources/js/app.js" type="text/javascript"></script>
    <script src="../server/resources/js/util.js" type="text/javascript"></script>
    <script src="../server/resources/js/common.js" type="text/javascript"></script>
    <script src="../server/resources/js/localization.js" type="text/javascript"></script>
    <script src="../server/resources/js/directives.js" type="text/javascript"></script>
    <script src="../server/resources/js/controllers.js" type="text/javascript"></script>

    <script src="../server/resources/js/startup.js" type="text/javascript"></script>
    <script src="../server/resources/js/dashboard.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(window).load(function() {
            initAngular();
        });
    </script>

</head>
<body ng-controller="MasterCtrl" class="body-startup">
<div class="bodywrap">
    <div class="startup" ng-show="ready">
        <a href="."><div class="startup-logo"><img src="../server/resources/img/motech-logo.jpg" alt="motech-logo" /></div></a>
        <div class="startup-title ng-binding">Mobile Technology for Community Health</div>
        <div class="clearfix"></div>
        <div class="startup-strip">
            <div class="control-group">
            <h2 class="title ng-binding"><fmt:message key="welcome.startup" bundle="${bundle}"/></h2>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="startup-form">
            <div class="diver">
                <form action="startup.do" method="POST" class="form-horizontal">
                    <div class="control-group">
                        <label class="control-label"><fmt:message key="select.language" bundle="${bundle}"/></label>
                        <div class="controls">
                            <c:forEach var="lang" items="${languages}">
                                <input ng-click="setUserLang('${lang}')" type="radio" value="${lang}" name="language" <c:if test="${startupSettings.language == lang}">checked</c:if> /><i class="flag flag-${lang} label-flag-radio"></i>
                            </c:forEach>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label"><fmt:message key="enter.queueUrl" bundle="${bundle}"/></label>
                        <div class="controls">
                            <input type="text" class="input-large" name="queueUrl" value="${startupSettings.queueUrl}"/>
                            <c:if test="${ not empty suggestions.queueUrls }">
                                <div id="queue.urls" class="queue-urls">
                                <c:forEach var="url" items="${suggestions.queueUrls}" varStatus="status">
                                    <div id="queue.url.${status.count}">
                                        <span><fmt:message key="suggestion" bundle="${bundle}"/> #${status.count}: ${url}</span>
                                        <button type="button" class="btn btn-mini"><fmt:message key="use" bundle="${bundle}"/></button>
                                    </div>
                                </c:forEach>
                                </div>
                            </c:if>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label"><fmt:message key="enter.schedulerUrl" bundle="${bundle}"/></label>
                        <div class="controls">
                            <input type="text" class="input-large" name="schedulerUrl" value="${startupSettings.schedulerUrl}"/>
                            <c:if test="${ not empty suggestions.schedulerUrls }">
                                <div id="scheduler.urls">
                                <c:forEach var="url" items="${suggestions.schedulerUrls}" varStatus="status">
                                    <div id="scheduler.url.${status.count}">
                                        <span><i><fmt:message key="suggestion" bundle="${bundle}"/> #${status.count}: </i>${url}</span>
{'fraction_non_alphanumeric': 0.1896853146853147, 'fraction_numerical': 0.0021455816910362366, 'mean_word_length': 2.3794307196562836, 'pattern_counts': {'":': 0, '<': 271, '<?xml version=': 0, '>': 271, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2563092', 'n_tokens_mistral': 3509, 'n_tokens_neox': 3413, 'n_words': 513}