<commit_before><%@ page language="java" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<html>
<head>
    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.css" rel="stylesheet">
    <script src="//cdn.bootcss.com/jquery/3.1.0/core.js"></script>
    <script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js"></script>
    <script src="<%=basePath%>/static/js/vue.js" type="text/javascript"></script>

</head>
<body>
<div class="container" style="margin-top: 70px;">

    <div class="row">
        <div class="col-md-9">
            <div class="panel panel-primary">
                <!-- Default panel contents -->
                <div class="panel-heading">User List</div>
                <!-- Table -->
                <table id ="user_tb" class="table table-striped">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>用户名</th>
                        <th>密码</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="user in userList">
                        <td>{{user.id}}</td>
                        <td>{{user.userName}}</td>
                        <td>{{user.password}}</td>
                        <td><button class ="btn btn-sm btn-danger" v-on:click="delete(user.id)">删除</button></td>
                    <tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="col-md-6">
            <div id="userform">
                <div class="form-group">
                    <label for="userName">用户名：</label>
                    <input v-model="userName" type="text" class="form-control" id="userName">
                </div>
                <div class="form-group">
                    <label for="password">密码：</label>
                    <input v-model="password" type="password" class="form-control" id="password" placeholder="Password">
                </div>
                <button type="submit" class="btn btn-default" v-on:click="add">注册</button>
            </div>

        </div>
    </div>

</div>

<script src="<%=basePath%>/static/js/user.js" type="text/javascript"></script>
</body>
</html>
<commit_msg>vuejs change to cdn<commit_after><%@ page language="java" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<html>
<head>
    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.css" rel="stylesheet">
    <script src="//cdn.bootcss.com/jquery/3.1.0/core.js"></script>
    <script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js"></script>
    <script src="//cdn.bootcss.com/vue/1.0.26/vue.js"></script>

</head>
<body>
<div class="container" style="margin-top: 70px;">

    <div class="row">
        <div class="col-md-9">
            <div class="panel panel-primary">
                <!-- Default panel contents -->
                <div class="panel-heading">User List</div>
                <!-- Table -->
                <table id ="user_tb" class="table table-striped">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>用户名</th>
                        <th>密码</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="user in userList">
                        <td>{{user.id}}</td>
                        <td>{{user.userName}}</td>
                        <td>{{user.password}}</td>
                        <td><button class ="btn btn-sm btn-danger" v-on:click="delete(user.id)">删除</button></td>
                    <tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="col-md-6">
            <div id="userform">
                <div class="form-group">
                    <label for="userName">用户名：</label>
                    <input v-model="userName" type="text" class="form-control" id="userName">
                </div>
                <div class="form-group">
                    <label for="password">密码：</label>
                    <input v-model="password" type="password" class="form-control" id="password" placeholder="Password">
                </div>
                <button type="submit" class="btn btn-default" v-on:click="add">注册</button>
            </div>

        </div>
    </div>

</div>

<script src="<%=basePath%>/static/js/user.js" type="text/javascript"></script>
</body>
</html>

{'fraction_non_alphanumeric': 0.18477382875605816, 'fraction_numerical': 0.007673667205169628, 'mean_word_length': 1.563664596273292, 'pattern_counts': {'":': 4, '<': 154, '<?xml version=': 0, '>': 154, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4998981', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1469, 'n_words': 234}