<commit_before><%--
    Author     : Oliver
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <c:set var="pageTitle" value="Projects" />
    <%@ include file="/WEB-INF/views/common/header.jsp" %>
    <body>
        <%@ include file="/WEB-INF/views/common/titlebar.jsp" %>
        <div class="container-fluid">
            <h1>Projects</h1>
            <hr>
            <table class="table table-bordered table-condensed table-striped table-hover" id="project-list">
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>Name</th>
                        <th>Type</th>
                        <th>Status</th>
                        <th>Requested</th>
                        <th>Completed</th>
                        <th>Contact</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <c:forEach items="${projects}" var="project">
                        <tr>
                            <td>${project.projectId}</td>
                            <td>${project.name}</td>
                            <td>${project.type}</td>
                            <td>${project.status}</td>
                            <td><fmt:formatDate value="${project.requestDate}" pattern="yyyy-MM-dd" /></td>
                            <td><fmt:formatDate value="${project.completedDate}" pattern="yyyy-MM-dd" /></td>
                            <td><c:if test="${not empty project.contactPerson}"><a href="<c:url value='${project.contactPerson.uri}'/>">${project.contactPerson.name}</a></c:if></td>
                            <td>
                                <ul class="inline list-actions">
                                    <li><a class="btn btn-success" href="<c:url value="${project.uri}" />">View</a></li>
                                </ul>
                            </td>
                        </tr>
                    </c:forEach>
                </tbody>
            </table>
            <p>&nbsp;</p>
            <ul class="breadcrumb">
                <li><a href="<c:url value="/" />">Edifice</a> <span class="divider">/</span></li>
                <li class="active">Projects</li>
            </ul>
            <%@ include file="/WEB-INF/views/common/footer.jsp" %>
            <script type="text/javascript" src="<c:url value='/javascript/projects.js' />" ></script>
        </div>
    </body>
</html>
<commit_msg>Styled inline list buttons for bootstrap 3<commit_after><%--
    Author     : Oliver
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <c:set var="pageTitle" value="Projects" />
    <%@ include file="/WEB-INF/views/common/header.jsp" %>
    <body>
        <%@ include file="/WEB-INF/views/common/titlebar.jsp" %>
        <div class="container">
            <h1>Projects</h1>
            <hr>
            <table class="table table-bordered table-condensed table-striped table-hover" id="project-list">
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>Name</th>
                        <th>Type</th>
                        <th>Status</th>
                        <th>Requested</th>
                        <th>Completed</th>
                        <th>Contact</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <c:forEach items="${projects}" var="project">
                        <tr>
                            <td>${project.projectId}</td>
                            <td>${project.name}</td>
                            <td>${project.type}</td>
                            <td>${project.status}</td>
                            <td><fmt:formatDate value="${project.requestDate}" pattern="yyyy-MM-dd" /></td>
                            <td><fmt:formatDate value="${project.completedDate}" pattern="yyyy-MM-dd" /></td>
                            <td><c:if test="${not empty project.contactPerson}"><a href="<c:url value='${project.contactPerson.uri}'/>">${project.contactPerson.name}</a></c:if></td>
                            <td>
                                <ul class="list-inline">
                                    <li><a class="btn btn-success" href="<c:url value="${project.uri}" />">View</a></li>
                                </ul>
                            </td>
                        </tr>
                    </c:forEach>
                </tbody>
            </table>
            <p>&nbsp;</p>
            <ul class="breadcrumb">
                <li><a href="<c:url value="/" />">Edifice</a> <span class="divider">/</span></li>
                <li class="active">Projects</li>
            </ul>
            <%@ include file="/WEB-INF/views/common/footer.jsp" %>
            <script type="text/javascript" src="<c:url value='/javascript/projects.js' />" ></script>
        </div>
    </body>
</html>

{'fraction_non_alphanumeric': 0.17970081423972734, 'fraction_numerical': 0.0013255065328536262, 'mean_word_length': 1.2777059077188444, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5209439', 'n_tokens_mistral': 1565, 'n_tokens_neox': 1464, 'n_words': 219}