<commit_before>﻿<div ng-include="Partials.goBack"></div>
<section class="page profile-page" ng-controller="ProfileController as vm">
    <div class="row">
        <div class="col-xs-12 col-sm-8 col-sm-offset-2">
            <h2 class="page-title">My profile</h2>

            <div class="row">

                <!--The profile pic column-->
                <div class="col-xs-12 col-sm-4">

                    <!--Show the profile pic if we've got one-->
                    <div ng-if="vm.profilePicUrl" class="text-center">
                        <img class="img-circle img-responsive profile-pic" ng-src="{{vm.profilePicUrl}}" />
                        <br />
                        <button class="btn btn-default btn-sm" ng-click="vm.launchImagePicker()">Change my profile photo</button>
                    </div>

                    <!--Otherwise, show the placeholder-->
                    <div ng-if="!vm.profilePicUrl">

                        <!--The placeholder tile-->
                        <div class="panel panel-default profile-pic-placeholder">
                            <div class="panel-body" ng-click="vm.launchImagePicker()" aria-hidden="true">
                                <h4>
                                    <i class="fa fa-user-circle-o fa-5x"></i>
                                    <br />
                                    <br />
                                    <i class="fa fa-plus"></i>
                                    Add a profile photo
                                </h4>
                            </div>
                            <input type="file" class="form-control-file no-fastclick sr-only" accept="image/*" id="imagePicker" file-upload-changed="vm.profilePicChanged(e)" />
                        </div>

                        <!--The loading indicator-->
                        <i class="fa fa-circle-o-notch fa-spin fa-2x" ng-show="vm.isUploadingPhoto"></i>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-8">
                    <form><commit_msg>Fixed button for changing profile photo.<commit_after>﻿<div ng-include="Partials.goBack"></div>
<section class="page profile-page" ng-controller="ProfileController as vm">
    <div class="row">
        <div class="col-xs-12 col-sm-8 col-sm-offset-2">
            <h2 class="page-title">My profile</h2>

            <div class="row">

                <!--The profile pic column-->
                <div class="col-xs-12 col-sm-4">

                    <!--Show the profile pic if we've got one-->
                    <div ng-if="vm.profilePicUrl" class="text-center">
                        <img class="img-circle img-responsive profile-pic" ng-src="{{vm.profilePicUrl}}" />
                        <br />
                        <!--<button class="btn btn-default btn-sm needsclick" ng-click="vm.launchImagePicker()">Change my profile photo</button>-->
                        <label class="btn btn-default btn-file btn-sm">
                            Change my profile photo 
                            <input class="sr-only" accept="image/*" type="file" file-upload-changed="vm.profilePicChanged(e)">
                        </label>
                    </div>

                    <!--Otherwise, show the placeholder-->
                    <div ng-if="!vm.profilePicUrl">

                        <!--The placeholder tile-->
                        <div class="panel panel-default profile-pic-placeholder">
                            <div class="panel-body needsclick" ng-click="vm.launchImagePicker()" aria-hidden="true">
                                <h4>
                                    <i class="fa fa-user-circle-o fa-5x"></i>
                                    <br />
                                    <br />
                                    <i class="fa fa-plus"></i>
                                    Add a profile photo
                                </h4>
                            </div>
                            <input type="file" class="form-control-file needsclick sr-only" accept="image/*" id="imagePicker" file-upload-changed="vm.profilePicChanged(e)" />
                        </div>

                        <!--The loading indicator-->
                        <i class="fa fa-circle-o-notch fa-spin fa-2x" ng-show="vm.isUploadingPhoto"></i>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-8">
                    <form>
{'fraction_non_alphanumeric': 0.13734671125975473, 'fraction_numerical': 0.007134894091415831, 'mean_word_length': 1.141288782816229, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5757121', 'n_tokens_mistral': 1179, 'n_tokens_neox': 1079, 'n_words': 239}