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

@section('content')

@if (session('status') || session('results'))
    <div class="alert alert-success alert-dismissable">
        <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
        {{ session('status') }}{{ session('results') }}
    </div>
    <script type="text/javascript" language="javascript">
        document.addEventListener("DOMContentLoaded", function(event) {
            $(".alert-dismissable").fadeTo(2000, 500).slideUp(500, function(){
                $(".alert-dismissable").alert('close');
            });
        });
    </script>
@endif

    <!-- Current Accounts -->
    <ul class="nav nav-tabs">
        <li{{ Request::is("*/category/*") ? '' : ' class=active' }}><a href="{{ preg_replace('/(.*\/?accounts)(?:\/category.*)?/', '$1', Request::url()) }}"><i class="fa fa-asterisk"></i> Tous</a></li>
        @foreach (App\Account::ACCOUNT_CATEGORY as $id => $category)
            <li{{ Request::is("*/category/$id") ? ' class=active' : '' }}><a href="{{ preg_replace('/(.*\/?accounts)(?:\/category.*)?/', '$1/category/', Request::url()) . $id }}"><i class="fa {{ $category['icon'] }}"></i> {{ mb_strtoupper(mb_substr($category['text'], 0, 1)).mb_substr($category['text'], 1) }}</a></li>
        @endforeach
    </ul>
    <div class="panel panel-default">
        <div class="panel-heading"><commit_msg>accounts tabs to icons<commit_after>@extends('layouts.app')

@section('content')

@if (session('status') || session('results'))
    <div class="alert alert-success alert-dismissable">
        <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
        {{ session('status') }}{{ session('results') }}
    </div>
    <script type="text/javascript" language="javascript">
        document.addEventListener("DOMContentLoaded", function(event) {
            $(".alert-dismissable").fadeTo(2000, 500).slideUp(500, function(){
                $(".alert-dismissable").alert('close');
            });
        });
    </script>
@endif

    <!-- Current Accounts -->
    <ul class="nav nav-tabs">
        <li class="{{ Request::is("*/category/*") ? 'has-tooltip' : 'active' }}"
            data-toggle="tooltip"
            data-placement="bottom"
            title="Tous">
        <a href="{{ preg_replace('/(.*\/?accounts)(?:\/category.*)?/', '$1', Request::url()) }}">
            <i class="fa fa-asterisk"></i>
            {{ Request::is("*/category/*") ? '' : ' Tous' }}
        </a></li>
        @foreach (App\Account::ACCOUNT_CATEGORY as $id => $category)
            <li class="{{ Request::is("*/category/$id") ? 'active' : 'has-tooltip' }}"
            data-toggle="tooltip"
            data-placement="bottom"
            title="{{ mb_strtoupper(mb_substr($category['text'], 0, 1)).mb_substr($category['text'], 1) }}">
            <a href="{{ preg_replace('/(.*\/?accounts)(?:\/category.*)?/', '$1/category/', Request::url()) . $id }}">
                <i class="fa {{ $category['icon'] }}"></i>
                {{ Request::is("*/category/$id") ? ' '.mb_strtoupper(mb_substr($category['text'], 0, 1)).mb_substr($category['text'], 1) : '' }}</a></li>
        @endforeach
    </ul>
    <div class="panel panel-default">
        <div class="panel-heading">
{'fraction_non_alphanumeric': 0.24893097128894318, 'fraction_numerical': 0.010079413561392792, 'mean_word_length': 3.063275434243176, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 51, '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': '6635320', 'n_tokens_mistral': 1040, 'n_tokens_neox': 1002, 'n_words': 169}