<commit_before>@extends('app')

@section('styles')
    <!-- DataTables -->
    {!! HTML::style('packages/DataTables/dataTables.bootstrap.css') !!}
@endsection

@section('content')
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">Data Table With Full Features</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                    <table id="artists-table" class="table table-bordered table-striped table-hover" width="100%" cellspacing="0">
                        <thead>
                        <tr>
                            <th>Name</th>
                            <th>LastFM Url</th>
                            <th>Updated At</th>
                        </tr>
                        </thead>
                        <tbody>

                        @foreach($artists as $artist)
                        <tr>
                            <td>{!! $artist->name !!}</td>
                            <td>
                                {!! link_to($artist->url, 'View', ['class' => 'btn btn-block btn-info btn-xs',
                                     'target' => '_blank']) !!}
                            </td>
                            <td>{!! $artist->updated_at !!}</td>
                        </tr>
                        @endforeach

                        </tbody>
                        <tfoot>
                        <tr>
                            <th>Name</th>
                            <th>LastFM Url</th>
                            <th>Updated At</th>
                        </tr>
                        </tfoot>
                    </table>
                </div><!-- /.box-body -->
            </div><!-- /.box -->
        </div><!-- /.col -->
    </div><!-- /.row -->
@endsection

@section('scripts')
<!-- DataTables -->
{!! HTML::script('packages/bower/DataTables/media/js/jquery.dataTables.min.js') !!}
{!! HTML::script('packages/DataTables/dataTables.bootstrap.js') !!}
<!-- SlimScroll -->
{!! HTML::script('packages/bower/slimScroll/jquery.slimscroll.min.js') !!}

<!-- page script -->
<script type="text/javascript">
    $(function () {
        $('#artists-table').dataTable();
    });
</script>
@endsection
<commit_msg>Add upload artists option structure.<commit_after>@extends('app')

@section('styles')
    <!-- DataTables -->
    {!! HTML::style('packages/DataTables/dataTables.bootstrap.css') !!}
@endsection

@section('content')
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">All Artists
                        <a href="{!! route('upload_artists') !!}" class="btn bg-navy btn-flat margin">
                            <i class='fa fa-cloud-upload'></i>
                        </a>
                    </h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                    <table id="artists-table" class="table table-bordered table-striped table-hover" width="100%" cellspacing="0">
                        <thead>
                        <tr>
                            <th>Name</th>
                            <th>LastFM Url</th>
                            <th>Updated At</th>
                        </tr>
                        </thead>
                        <tbody>

                        @foreach($artists as $artist)
                        <tr>
                            <td>{!! $artist->name !!}</td>
                            <td>
                                {!! link_to($artist->url, 'View', ['class' => 'btn btn-block btn-info btn-xs', 'target' => '_blank']) !!}
                            </td>
                            <td>{!! $artist->updated_at !!}</td>
                        </tr>
                        @endforeach

                        </tbody>
                        <tfoot>
                        <tr>
                            <th>Name</th>
                            <th>LastFM Url</th>
                            <th>Updated At</th>
                        </tr>
                        </tfoot>
                    </table>
                </div><!-- /.box-body -->
            </div><!-- /.box -->
        </div><!-- /.col -->
    </div><!-- /.row -->
@endsection

@section('scripts')
<!-- DataTables -->
{!! HTML::script('packages/bower/DataTables/media/js/jquery.dataTables.min.js') !!}
{!! HTML::script('packages/DataTables/dataTables.bootstrap.js') !!}
<!-- SlimScroll -->
{!! HTML::script('packages/bower/slimScroll/jquery.slimscroll.min.js') !!}

<!-- page script -->
<script type="text/javascript">
    $(function () {
        $('#artists-table').dataTable();
    });
</script>
@endsection

{'fraction_non_alphanumeric': 0.17559153175591533, 'fraction_numerical': 0.0033208800332088003, 'mean_word_length': 1.0673530673530673, 'pattern_counts': {'":': 0, '<': 117, '<?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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4639741', 'n_tokens_mistral': 1327, 'n_tokens_neox': 1262, 'n_words': 211}