<commit_before>@extends ('layouts.main')

@section ('css')
    <style>
    </style>
@stop

@section ('content')
    <div class="title">
        <h2>项目</h2>
        <a href="/projects/{{ $project->id }}/edit">编辑</a>
    </div>

    <div class="project">
        <div class="row">
            <div class="col-xs-3"><label for="">项目名</label></div>
            <div class="col-xs-5">
                <label>{{ $project->name }}</label>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-3"><label for="">描述</label></div>
            <div class="col-xs-5">
                {{ $project->description }}
            </div>
        </div>

        <div class="row">
            <div class="col-xs-3"><label for="">创建于</label></div>
            <div class="col-xs-5">
                {{ \App\Lib\Utils\TimeUtils::GetLocalTime($project->created_at) }}
                （距今{{ \App\Lib\Utils\TimeUtils::diffForHuman($project->created_at) }}）
            </div>
        </div>
    </div>

    <hr>

    <div class="time-seciton">
        <h4>时间投入</h4>

        <div class="row">
            <div class="col-xs-3"><label for="">共投入时间</label></div>

            <div class="col-xs-5">
                {{ $project->spendTime() }}
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-md-6">

                <table class="table table-striped">
                    <tr>
                        <th>日期</th>
                        <th>投入时间</th>
                    </tr>

                    @foreach ($timeArr as $key => $value)
                        <tr>
                            <th>
                                {{ $key }}
                            </th>
                            <th>
                                {{ $value }}
                            </th>
                        </tr>
                    @endforeach
                </table>

            </div>
        </div>

    </div>

@stop<commit_msg>fixed bugs<commit_after>@extends ('layouts.main')

@section ('css')
    <style>
    </style>
@stop

@section ('content')
    <div class="title">
        <h2>项目</h2>
        <a href="/projects/{{ $project->id }}/edit">编辑</a>
    </div>

    <div class="project">
        <div class="row">
            <div class="col-xs-3"><label for="">项目名</label></div>
            <div class="col-xs-5">
                <label>{{ $project->name }}</label>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-3"><label for="">描述</label></div>
            <div class="col-xs-5">
                {{ $project->description }}
            </div>
        </div>

        <div class="row">
            <div class="col-xs-3"><label for="">创建于</label></div>
            <div class="col-xs-5">
                {{ \App\Lib\Utils\TimeUtils::GetLocalTime($project->created_at) }}
                （距今{{ \App\Lib\Utils\TimeUtils::diffForHuman($project->created_at) }}）
            </div>
        </div>
    </div>

    <hr>

    <div class="time-seciton">
        <h4>时间投入</h4>

        <div class="row">
            <div class="col-xs-3"><label for="">共投入时间</label></div>

            <div class="col-xs-5">
                {{ $project->spendTime() }}
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-md-6">

                <table class="table table-striped">
                    <tr>
                        <th>日期</th>
                        <th>投入时间</th>
                    </tr>

                    @foreach ($timeArr as $key => $value)
                        <tr>
                            <td>
                                {{ $key }}
                            </td>
                            <td>
                                {{ $value }}
                            </td>
                        </tr>
                    @endforeach
                </table>

            </div>
        </div>

    </div>

@stop
{'fraction_non_alphanumeric': 0.18172715894868585, 'fraction_numerical': 0.007509386733416771, 'mean_word_length': 1.0576725025746654, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 151, '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': '2125069', 'n_tokens_mistral': 1254, 'n_tokens_neox': 1207, 'n_words': 198}