<commit_before>@extends('layouts.master')
@section('title')
    Dashboard
@endsection
@section('content')
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="panel panel-default">
                <div class="panel-heading">Buy and sell market orders <a href="#refresh" id="refresh_order_table">Refresh data</a></div>
                <div class="panel-body">
                    <table id="orders_table" class="table table-striped table-bordered no-footer" role="grid" aria-describedby="datatable_info">
                        <thead>
                        <tr>
                            <th style="width:30px;"><i class="fa fa-info-circle"></i></th>
                            <th style="width:20px;">Q</th>
                            <th>Ƶ Price</th>
                            <th>Ƶ Price in The Forge</th>
                            <th>Product</th>
                            <th>Outbid</th>
                            <th>Outbid Ƶ price</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="panel panel-default">
                <div class="panel-heading">Transactions</div>
                <div class="panel-body">
                    <table id="datatable" class="table table-striped table-bordered dataTable no-footer" role="grid" aria-describedby="datatable_info" data-order="[[ 3, &quot;desc&quot; ]]">
                        <thead>
                        <tr>
                            <th style="width:30px;"><i class="fa fa-info-circle"></i></th>
                            <th>Ƶ Price</th>
                            <th>Product</th>
                            <th>Date</th>
                        </tr>
                        </thead>
                        <tbody>
                        @foreach ($transactions as $transaction)
                            <tr>
                                <td>
                                    @if ($transaction->is_buy)
                                        BUY
                                    @else
                                        SELL
                                    @endif
                                </td>
                                <td data-order="{{$transaction->unit_price}}">
                                    {{ number_format($transaction->unit_price, 2, ",", ".") }}
                                </td>
                                <td>
                                    {{ $transaction->getInventoryName() }}
                                </td>
                                <td>
                                    {{ $transaction->date }}
                                </td>
                            </tr>
                        @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
@endsection<commit_msg>Add some styling to the table<commit_after>@extends('layouts.master')
@section('title')
    Dashboard
@endsection
@section('content')
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="panel panel-default">
                <div class="panel-heading">Buy and sell market orders <a href="#refresh" id="refresh_order_table">Refresh data</a></div>
                <div class="panel-body">
                    <table id="orders_table" class="table table-striped table-bordered no-footer" role="grid" aria-describedby="datatable_info">
                        <thead>
                            <tr>
                                <th style="width:30px;"><i class="fa fa-info-circle"></i></th>
                                <th style="width:20px;">Q</th>
                                <th style="width:100px;">Ƶ Price</th>
                                <th style="width:100px;">Ƶ Price in The Forge</th>
                                <th>Product</th>
                                <th>Outbid</th>
                                <th>Outbid Ƶ price</th>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="panel panel-default">
                <div class="panel-heading">Transactions</div>
                <div class="panel-body">
                    <table id="datatable" class="table table-striped table-bordered dataTable no-footer" role="grid" aria-describedby="datatable_info" data-order="[[ 3, &quot;desc&quot; ]]">
                        <thead>
                        <tr>
                            <th style="width:30px;"><i class="fa fa-info-circle"></i></th>
                            <th style="width:20px;">Q</th>
                            <th style="width:80px;">Ƶ Price</th>
                            <th>Product</th>
                            <th>Date</th>
                        </tr>
                        </thead>
                        <tbody>
                        @foreach ($transactions as $transaction)
                            <tr>
                                <td>
                                    @if ($transaction->is_buy)
                                        BUY
                                    @else
                                        SELL
                                    @endif
                                </td>
                                <td>
                                    {{ $transaction->quantity }}
                                </td>
                                <td data-order="{{$transaction->unit_price}}" style="text-align: right;">
                                    {{ number_format($transaction->unit_price, 2, ",", ".") }}
                                </td>
                                <td>
                                    {{ $transaction->getInventoryName() }}
                                </td>
                                <td>
                                    {{ $transaction->date }}
                                </td>
                            </tr>
                        @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
@endsection
{'fraction_non_alphanumeric': 0.12476979742173112, 'fraction_numerical': 0.007673419275629221, 'mean_word_length': 0.8224272930648769, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 162, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 23, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4871642', 'n_tokens_mistral': 1630, 'n_tokens_neox': 1496, 'n_words': 278}