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

@section('content')

    <div class="alert alert-info" role="alert">
        <p><b>ImguBox</b> is still in it's early days. If you find  bugs or think something should be improved, tweet us <a href="https://twitter.com/@imguboxapp">@imguboxapp</a>.</p>
    </div>

    @if (Auth::user()->hasImgurToken()->first() && Auth::user()->hasDropboxToken()->first())

        @if (Auth::user()->logs->count() <= 0)

        <div class="alert alert-success" role="alert">
            <p>Accounts are setup. Your Imgur favorites should show up in your Dropbox in the upcoming hours.</p>
        </div>

        @else

            <div class="alert alert-info" role="alert">
                <p>Last successfull sync: <b>{!! Auth::user()->logs()->latest()->first()->created_at->format('d.m.Y H:i:s') !!}</b>.</p>
                <p>We synced <b>{{ Auth::user()->logs->count() }}</b> images for you so far.</p>
            </div>

        @endif

    @endif

    <div class="page-header">
        <h2>Setup</h2>
    </div>

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

           @if (Auth::user()->hasImgurToken()->first() )
                <div class="panel panel-success">
            @else
               <div class="panel panel-default">
            @endif


                <div class="panel-heading"><commit_msg>Display Timezone on Dashboard<commit_after>@extends('layouts.master')

@section('content')

    <div class="alert alert-info" role="alert">
        <p><b>ImguBox</b> is still in it's early days. If you find  bugs or think something should be improved, tweet us <a href="https://twitter.com/@imguboxapp">@imguboxapp</a>.</p>
    </div>

    @if (Auth::user()->hasImgurToken()->first() && Auth::user()->hasDropboxToken()->first())

        @if (Auth::user()->logs->count() <= 0)

        <div class="alert alert-success" role="alert">
            <p>Accounts are setup. Your Imgur favorites should show up in your Dropbox in the upcoming hours.</p>
        </div>

        @else

            <div class="alert alert-info" role="alert">
                <p>Last successfull sync: <b>{!! Auth::user()->logs()->latest()->first()->created_at->format('d.m.Y H:i:s') !!} (({!! Auth::user()->logs()->latest()->first()->created_at->timezoneName !!}))</b>.</p>
                <p>We synced <b>{{ Auth::user()->logs->count() }}</b> images for you so far.</p>
            </div>

        @endif

    @endif

    <div class="page-header">
        <h2>Setup</h2>
    </div>

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

           @if (Auth::user()->hasImgurToken()->first() )
                <div class="panel panel-success">
            @else
               <div class="panel panel-default">
            @endif


                <div class="panel-heading">
{'fraction_non_alphanumeric': 0.19943019943019943, 'fraction_numerical': 0.002849002849002849, 'mean_word_length': 2.3843373493975903, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 100, 'https://': 2, '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': '911817', 'n_tokens_mistral': 894, 'n_tokens_neox': 851, 'n_words': 203}