<commit_before><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<c:set var="contextPath" value="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}"/>
<c:set var="aggregatorId" value="${aggregatorId}"/>

<html>
    <head>
        <%@include file="/jspf/appResources.jsp"%>

        <title>FIWARE RSS - Settlement</title>
        <script type="text/javascript">
            CONTEXT_PATH="<%=request.getContextPath()%>";
            IS_ADMIN=${is_admin};
        </script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/EndpointManager.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/settlement.js"></script>
    </head>

    <body>
        <%@  include file="/jspf/header.jsp"%>
        <%@  include file="/jspf/footer.jspf"%> <br/> <br/> <br/><br/><br/>
 
        <div class="container-fluid">
            <div id="msg-container" class="modal fade">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"></button>
                            <h3>Error</h3>
                        </div>
                        <div class="modal-body">
                        </div>
                        <div class="modal-footer">
                            <a href="#" class="btn btn-primary" data-dismiss="modal">Accept</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-8 col-md-offset-2">
                <div><a href="${contextPath}/rss/">RSS API</a></div>
                <table class="table table-bordered table-responsive
                       table-condensed">
                    <th>
                        Settlement
                    </th>
                    <tr>
                        <td>
                            Launch Settlement:
                            <select id="aggregatorSettlement" class="form-control small-sel">
                            </select>
                            <select id="providerSettlement" class="form-control small-sel">
                            </select>
                            <input type="submit" class="btn btn-default" value="Launch" onclick="javascript:launchSettlement('');"/>
                        </td>
                    </tr>
                    <c:if  test="${is_admin}">
                    <tr>
                        <td>
                            Delete transactions: 
                            Provider
                            <select id="aggregatorTransaction" class="form-control small-sel">
                            </select>
                            <select id="providerTransaction" class="form-control small-sel">
                            </select>
                            <input type="submit" value="Delete" class="btn btn-default" onclick="javascript:deletingProvider();"/>
                        </td>
                    </tr>
                    </c:if>
                    <tr>
                        <td>
                            <a href="${contextPath}/files">View files</a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a href="${contextPath}/transactions">View transactions in database</a>
                        </td><commit_msg>Remove unused delete transactions button<commit_after><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<c:set var="contextPath" value="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}"/>
<c:set var="aggregatorId" value="${aggregatorId}"/>

<html>
    <head>
        <%@include file="/jspf/appResources.jsp"%>

        <title>FIWARE RSS - Settlement</title>
        <script type="text/javascript">
            CONTEXT_PATH="<%=request.getContextPath()%>";
            IS_ADMIN=${is_admin};
        </script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/EndpointManager.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/settlement.js"></script>
    </head>

    <body>
        <%@  include file="/jspf/header.jsp"%>
        <%@  include file="/jspf/footer.jspf"%> <br/> <br/> <br/><br/><br/>
 
        <div class="container-fluid">
            <div id="msg-container" class="modal fade">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"></button>
                            <h3>Error</h3>
                        </div>
                        <div class="modal-body">
                        </div>
                        <div class="modal-footer">
                            <a href="#" class="btn btn-primary" data-dismiss="modal">Accept</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-8 col-md-offset-2">
                <div><a href="${contextPath}/rss/">RSS API</a></div>
                <table class="table table-bordered table-responsive
                       table-condensed">
                    <th>
                        Settlement
                    </th>
                    <tr>
                        <td>
                            Launch Settlement:
                            <select id="aggregatorSettlement" class="form-control small-sel">
                            </select>
                            <select id="providerSettlement" class="form-control small-sel">
                            </select>
                            <input type="submit" class="btn btn-default" value="Launch" onclick="javascript:launchSettlement('');"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a href="${contextPath}/files">View files</a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a href="${contextPath}/transactions">View transactions in database</a>
                        </td>
{'fraction_non_alphanumeric': 0.1490066225165563, 'fraction_numerical': 0.0012040939193257074, 'mean_word_length': 1.2819368131868132, 'pattern_counts': {'":': 0, '<': 162, '<?xml version=': 0, '>': 162, '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': '5931678', 'n_tokens_mistral': 1747, 'n_tokens_neox': 1641, 'n_words': 275}