<commit_before><!-- resources/views/overview.blade.php -->

@extends('layouts.app')

@section('content')
    @foreach($systems as $system)
        <div class="col-sm-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="row">
                        <div class="col-sm-9">
                            <div class="fa fa-hashtag"></div> {{ $system->uid }}
                        </div>
                        <div class="col-sm-3">
                            <div class="fa fa-clock-o"></div>
                            {{ date_diff(new DateTime(), DateTime::createFromFormat('U', $system->records()->orderBy('id', 'desc')->first()->boot_time))->format('%D:%H:%i:%S') }}
                        </div>
                    </div>
                </div>
                <div class="panel-body">
                    <div class="col-sm-12">
                        <label>
                            Hostame: {{ $system->hostname }}
                        </label>
                    </div>
                    <div class="col-sm-12">
                        <label>
                            Boot Time:
                        </label>
                        {{ date('Y-m-d h:i:s', $system->records()->orderBy('id', 'desc')->first()->boot_time) }}
                    </div>
                    <div class="col-sm-12">
                        <label>
                            Entries:
                        </label>
                        {{ $system->records()->count() }}
                    </div>
                    <div class="col-sm-12">
                        {{ $system->records()->orderBy('id', 'asc')->first()->created_at }}
                        <div class="fa fa-arrow-right"></div>
                        {{ $system->records()->orderBy('id', 'desc')->first()->created_at }}
                    </div>
                    <div class="col-sm-12">
                        <hr/>
                    </div>
                    <div class="row text-center">
                        <div class="col-sm-6">
                            <a href="/view/system/{{ $system->id }}">View Details</a>
                        </div><commit_msg>move uptime to the other infos for more consistency<commit_after><!-- resources/views/overview.blade.php -->

@extends('layouts.app')

@section('content')
    @foreach($systems as $system)
        <div class="col-sm-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="fa fa-hashtag"></div> {{ $system->uid }}
                        </div>
                    </div>
                </div>
                <div class="panel-body">
                    <div class="col-sm-12">
                        <label>
                            Hostame: {{ $system->hostname }}
                        </label>
                    </div>
                    <div class="col-sm-12">
                        <label>Uptime: </label>
                        {{ date_diff(new DateTime(), DateTime::createFromFormat('U', $system->records()->orderBy('id', 'desc')->first()->boot_time))->format('%D:%H:%i:%S') }}
                    </div>
                    <div class="col-sm-12">
                        <label>
                            Boot Time:
                        </label>
                        {{ date('Y-m-d h:i:s', $system->records()->orderBy('id', 'desc')->first()->boot_time) }}
                    </div>
                    <div class="col-sm-12">
                        <label>
                            Entries:
                        </label>
                        {{ $system->records()->count() }}
                    </div>
                    <div class="col-sm-12">
                        {{ $system->records()->orderBy('id', 'asc')->first()->created_at }}
                        <div class="fa fa-arrow-right"></div>
                        {{ $system->records()->orderBy('id', 'desc')->first()->created_at }}
                    </div>
                    <div class="col-sm-12">
                        <hr/>
                    </div>
                    <div class="row text-center">
                        <div class="col-sm-6">
                            <a href="/view/system/{{ $system->id }}">View Details</a>
                        </div>
{'fraction_non_alphanumeric': 0.16786034019695614, 'fraction_numerical': 0.006714413607878245, 'mean_word_length': 0.9600877192982457, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 127, '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': '916625', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1070, 'n_words': 182}