<commit_before>extends ../layout
block content
    script(src="/bower_components/cal-heatmap/cal-heatmap.min.js")
    script.
        var challengeName = 'Profile View';
    .panel.panel-info
        .panel-heading.text-center
            h1 #{username}'s portfolio
        .panel-body
            if (user && user.username === username)
                .row.text-center
                    .col-xs-12.col-sm-10.col-sm-offset-1
                        a.btn.btn-big.btn-primary.btn-block(href="/account") Manage my account
                        .button-spacer
                    .col-xs-12.col-sm-10.col-sm-offset-1
                        a.btn.btn-big.btn-success.btn-block(href="/signout") Sign out of Free Code Camp
                        .spacer
            .row
                .col-xs-12
                    img.img-center.img-responsive.public-profile-img.img-center(src=picture)
                    h1.text-center.negative-5.profile-social-icons
                        if (twitter)
                            a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href=twitter, target='_blank')
                        if (github)
                            a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank')
                        if (linkedin)
                            a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank')
                        if (facebook)
                            a.fa.fa-facebook-square.text-primary(title="@#{username}'s Facebook Profile", href=facebook, target='_blank')
                        if (google)
                            a.fa.fa-google-square.text-primary(title="@#{username}'s Google Profile", href=google, target='_blank')
                    .col-xs-12.col-sm-12.text-center
                        h1.flat-top.wrappable= name
                        h3.flat-top.bolded.wrappable= location
                    .col-xs-12.col-sm-12.text-center
                        = "[ " + (progressTimestamps.length) + " ]"
            .spacer
                .hidden-xs.hidden-sm.col-md-12
                    #cal-heatmap.d3-centered
                        script.
                            $(document).ready(function () {<commit_msg>more refinement to simplified profile view<commit_after>extends ../layout
block content
    script(src="/bower_components/cal-heatmap/cal-heatmap.min.js")
    script.
        var challengeName = 'Profile View';
    .panel.panel-info
        .panel-heading.text-center
            h1 #{username}'s portfolio
        .panel-body
            if (user && user.username === username)
                .row.text-center
                    .col-xs-12.col-sm-10.col-sm-offset-1
                        a.btn.btn-big.btn-primary.btn-block(href="/account") Manage my account
                        .button-spacer
                    .col-xs-12.col-sm-10.col-sm-offset-1
                        a.btn.btn-big.btn-success.btn-block(href="/signout") Sign out of Free Code Camp
                        .spacer
            .row
                .col-xs-12
                    img.img-center.img-responsive.public-profile-img.img-center(src=picture)
                    h1.text-center.negative-5.profile-social-icons
                        if (twitter)
                            a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href=twitter, target='_blank')
                        if (github)
                            a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank')
                        if (linkedin)
                            a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank')
                        if (facebook)
                            a.fa.fa-facebook-square.text-primary(title="@#{username}'s Facebook Profile", href=facebook, target='_blank')
                        if (google)
                            a.fa.fa-google-square.text-primary(title="@#{username}'s Google Profile", href=google, target='_blank')
                    .col-xs-12.col-sm-12.text-center
                        h2.flat-top.wrappable= name
                        h3.flat-top.bolded.wrappable= location
                        h1= "[ " + (progressTimestamps.length) + " ]"
            .spacer
                .hidden-xs.hidden-sm.col-md-12
                    #cal-heatmap.d3-centered
                        script.
                            $(document).ready(function () {
{'fraction_non_alphanumeric': 0.12673010380622837, 'fraction_numerical': 0.011461937716262976, 'mean_word_length': 1.3394031360647445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5913138', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1231, 'n_words': 179}