<commit_before><!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>1.用户列表页</title>
    <script type="text/javascript" src="lib/jquery-3.1.1.min.js"></script>
    <link rel="stylesheet" href="lib/bootstrap.min.css">
    <script src="patron_parameters.js"></script>
    <script src="lib/bootstrap.min.js"></script>
    <script>
        $(document).ready(function () {
            $.getJSON(base_url + "tenants/", function (data) {
                $("#user-list-group").empty();
                for (obj in data) {
                    $("#user-list-group").append('<li class="list-group-item pointer-as-hand center-text" onclick="jumpToMetadataPage(\'' + data[obj].id + '\')">' + data[obj].name + '</li>');
                }
            });
        });

        function reset(){
            $.getJSON(base_url + "reset", function (data) {
                alert("重置成功");
                location.reload(true);
            });
        }

        //跳转
        function jumpToMetadataPage(tenant_id) {
            location.href = "MetadataTree.html?tenant_id=" + tenant_id;
        }
    </script>
    <style>
        .pointer-as-hand {
            cursor: pointer;
        }

        .marginLeftSmall {
            margin-left: 50px;
        }
        /*当鼠标指上去的时候变灰*/
        li.list-group-item:hover,
        li.list-group-item:focus {
            color: #555;
            text-decoration: none;
            background-color: #f5f5f5;
        }

        .center-text {
            text-align: center
        }

        .custom-list-scroll {
            overflow: auto;
            width: auto;
            height: 180px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-lg-2 col-lg-offset-5">
            <span class="center-text"><h2><b>用户列表</b></h2></span>
        </div>
    </div>
    <br>
    <div class="row">
        <div class="col-lg-4 col-lg-offset-4">
            <ul class="list-group custom-list-scroll" id="user-list-group">
            </ul>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-2 col-lg-offset-5">
            <button type="button" class="btn btn-success marginLeftSmall"
                    onclick="reset()">重置
            </button>
        </div>
    </div>
</div>
</body>
</html><commit_msg>Refactor the tenant page title.<commit_after><!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>1.租户列表页</title>
    <script type="text/javascript" src="lib/jquery-3.1.1.min.js"></script>
    <link rel="stylesheet" href="lib/bootstrap.min.css">
    <script src="patron_parameters.js"></script>
    <script src="lib/bootstrap.min.js"></script>
    <script>
        $(document).ready(function () {
            $.getJSON(base_url + "tenants/", function (data) {
                $("#user-list-group").empty();
                for (obj in data) {
                    $("#user-list-group").append('<li class="list-group-item pointer-as-hand center-text" onclick="jumpToMetadataPage(\'' + data[obj].id + '\')">' + data[obj].name + '</li>');
                }
            });
        });

        function reset(){
            $.getJSON(base_url + "reset", function (data) {
                alert("重置成功");
                location.reload(true);
            });
        }

        //跳转
        function jumpToMetadataPage(tenant_id) {
            location.href = "MetadataTree.html?tenant_id=" + tenant_id;
        }
    </script>
    <style>
        .pointer-as-hand {
            cursor: pointer;
        }

        .marginLeftSmall {
            margin-left: 50px;
        }
        /*当鼠标指上去的时候变灰*/
        li.list-group-item:hover,
        li.list-group-item:focus {
            color: #555;
            text-decoration: none;
            background-color: #f5f5f5;
        }

        .center-text {
            text-align: center
        }

        .custom-list-scroll {
            overflow: auto;
            width: auto;
            height: 180px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-lg-2 col-lg-offset-5">
            <span class="center-text"><h2><b>租户列表</b></h2></span>
        </div>
    </div>
    <br>
    <div class="row">
        <div class="col-lg-4 col-lg-offset-4">
            <ul class="list-group custom-list-scroll" id="user-list-group">
            </ul>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-2 col-lg-offset-5">
            <button type="button" class="btn btn-success marginLeftSmall"
                    onclick="reset()">重置
            </button>
        </div>
    </div>
</div>
</body>
</html>
{'fraction_non_alphanumeric': 0.17421975203078238, 'fraction_numerical': 0.010260795211628902, 'mean_word_length': 1.655505107832009, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '2310770', 'n_tokens_mistral': 1529, 'n_tokens_neox': 1502, 'n_words': 247}