<commit_before><!DOCTYPE html>
<html ng-app="my-app">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Designeddit</title>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/css/materialize.min.css">
    <link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Space+Mono" rel="stylesheet">
    <link rel="stylesheet" href="/vendor.css">
    <link rel="stylesheet" href="/app.css">
</head>

<body class="ng-cloak" ng-cloak>

    <!-- <header ng-include=" 'views/nav.html' "></header> -->

    <!-- NAVIGATION -->
    <div class="logo-above-nav"><a ui-sref="home" class="brand-logo center">Designeddit</a></div>
    <nav>
        <div class="nav-wrapper grey lighten-4">
            <a href="#" class="button-collapse black-text" data-activates="nav-mobile" data-sidenav="left" data-menuwith="300px" data-closeonclick="false"><i class="material-icons md-24">menu</i></a>

            <!-- Dropdown -->
            <ul class="left hide-on-med-and-down black-text">
                <li><a class="dropdown-button black-text" data-activates="dropdown1" href="#"><i class="material-icons settings">settings arrow_drop_down</i></a></li>
                <ul id="dropdown1" class="dropdown-content">
                    <li><a class="modal-trigger" href="#modal1" modal>LOGIN</a></li>
                    <li><a class="modal-trigger" href="#modal2" modal>SIGN-UP</a></li>
                </ul>
                <li><a class="modal-trigger black-text" href="#new-post-modal" modal><i class="material-icons md-24">add</i></a></li>
            </ul>

            <!-- Mobile Nav -->
            <ul class="side-nav" id="nav-mobile">
                <li><a class="modal-trigger" href="#new-post-modal" modal><i class="material-icons md-24">add</i>Post</a></li>
                <ul id="dropdown2" class="dropdown-content">
                    <li><a class="modal-trigger" href="#modal1" modal>LOGIN</a></li>
                    <li><a class="modal-trigger" href="#modal2" modal>SIGN-UP</a></li>
                </ul>
                <li><a class="dropdown-button" data-activates="dropdown2" href="#!">Designereddit<i class="material-icons right">arrow_drop_down</i></a></li>
            </ul>

            <!-- Sidebar Button -->
            <ul class="right" ng-controller="AuthCtrl as authCtrl">
                <li><a ui-sref="home" ng-show="authCtrl.isSignedIn()" class="grey button-collapse btn" data-activates="sidebar" data-sidenav="right" data-menuwidth="350" data-closeonclick="true"><i class="material-icons md-24 black-text">account_circle</i></a></li>
                <li><a class="active black-text" ui-sref="home" ng-show="authCtrl.isSignedIn()" ng-click="authCtrl.signOut()">Logout</a></li>
            </ul>
        </div>
    </nav>
    <!-- End Navigation -->


    <!-- CREATE POST MODAL -->
    <div id="new-post-modal" class="modal top-sheet">
        <div class="modal-content container">
            <div ng-controller="PostCtrl as postCtrl">
                <div class="row">
                    <form class="col s12 m12">
                        <div class="row center">
                            <div class="input-field col s12 m12">
                                <input id="post_title" type="text" ng-model="postCtrl.postTitle">
                                <label for="post_title">Post Title</label>
                            </div>
                            <div class="input-field col s12 m12">
                                <input id="post_image" type="text" ng-model="postCtrl.postImage">
                                <label for="post_image">Image URL</label>
                            </div>
                            <div class="input-field col s12 m12">
                                <input id="post_url" type="text" ng-model="postCtrl.postUrl">
                                <label for="post_url">Link URL</label>
                            </div>
                            <div class="input-field col s12 m12">
                                <textarea id="post_text" class="materialize-textarea" ng-model="postCtrl.postText"></textarea>
                                <label for="post_text">Post Blurb</label>
                            </div>
                            <select class="sorter center" name="sorting-options" ng-model="postCtrl.topicId">
                                <option value="" disabled selected>Post Category</option>
                                <option value="1">Inspiration</option>
                                <option value="2">Show and Tell</option>
                                <option value="3">Resources</option>
                            </select>
                            <div class="modal-footer">
                                <a href="#" class="modal-action modal-close btn-flat center" ng-click="postCtrl.createPost()">Create Post</a>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- POSTS FEED -->
    <main ui-view class="all-post-feed"></main>

    <!-- SIDEBAR -->
    <section>
        <ul id="sidebar" class="right side-nav">
            <div class="user-list-box" ng-controller="UserCtrl as userCtrl">
                <li><a id="follow-button" class="btn btn-flat">Follow</a></li>
                <!-- SEARCH -->
                <form>
                    <!-- <div class="searchbar-wrap">
                            <input id="user-searchinput" class="search-bar left" type="text" ng-model="userCtrl.searchText">
                            <button type="submit" name="button" class="grey btn-flat">Search</button>
                        </div> -->
                    <!-- <label>Search Username: -->
                    <div class="searchbar-wrap">
                        <input ng-model="searchText" id="user-searchinput" class="search-bar left" type="text" autofocus>
                        <button type="submit" name="button" class="grey btn-flat">Search</button>
                    </div>
                    <!-- </label> -->
                    <table id="searchTextResults">
                        <thead>
                            <tr>
                                <th>Username</th><commit_msg>for push<commit_after><!DOCTYPE html>
<html ng-app="my-app">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Designeddit</title>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/css/materialize.min.css">
    <link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Space+Mono" rel="stylesheet">
    <link rel="stylesheet" href="/vendor.css">
    <link rel="stylesheet" href="/app.css">
</head>

<body class="ng-cloak" ng-cloak>

    <!-- <header ng-include=" 'views/nav.html' "></header> -->

    <!-- NAVIGATION -->
    <div class="logo-above-nav"><a ui-sref="home" class="brand-logo center">Designeddit</a></div>
    <nav>
        <div class="nav-wrapper grey lighten-4">
            <a href="#" class="button-collapse black-text" data-activates="nav-mobile" data-sidenav="left" data-menuwith="300px" data-closeonclick="false"><i class="material-icons md-24">menu</i></a>

            <!-- Dropdown -->
            <ul class="left hide-on-med-and-down black-text">
                <li><a class="dropdown-button black-text" data-activates="dropdown1" href="#"><i class="material-icons settings">settings arrow_drop_down</i></a></li>
                <ul id="dropdown1" class="dropdown-content">
                    <li><a class="modal-trigger" href="#modal1" modal>LOGIN</a></li>
                    <li><a class="modal-trigger" href="#modal2" modal>SIGN-UP</a></li>
                </ul>
                <li><a class="modal-trigger black-text" href="#new-post-modal" modal><i class="material-icons md-24">add</i></a></li>
            </ul>

            <!-- Mobile Nav -->
            <ul class="side-nav" id="nav-mobile">
                <li><a class="modal-trigger" href="#new-post-modal" modal><i class="material-icons md-24">add</i>Post</a></li>
                <ul id="dropdown2" class="dropdown-content">
                    <li><a class="modal-trigger" href="#modal1" modal>LOGIN</a></li>
                    <li><a class="modal-trigger" href="#modal2" modal>SIGN-UP</a></li>
                </ul>
                <li><a class="dropdown-button" data-activates="dropdown2" href="#!">Designereddit<i class="material-icons right">arrow_drop_down</i></a></li>
            </ul>

            <!-- Sidebar Button -->
            <ul class="right" ng-controller="AuthCtrl as authCtrl">
                <li><a ui-sref="home" ng-show="authCtrl.isSignedIn()" class="grey button-collapse btn" data-activates="sidebar" data-sidenav="right" data-menuwidth="350" data-closeonclick="true"><i class="material-icons md-24 black-text">account_circle</i></a></li>
                <li><a class="active black-text" ui-sref="home" ng-show="authCtrl.isSignedIn()" ng-click="authCtrl.signOut()">Logout</a></li>
            </ul>
        </div>
    </nav>
    <!-- End Navigation -->


    <!-- CREATE POST MODAL -->
    <div id="new-post-modal" class="modal top-sheet">
        <div class="modal-content container">
            <div ng-controller="PostCtrl as postCtrl">
                <div class="row">
                    <form class="col s12 m12">
                        <div class="row center">
                            <div class="input-field col s12 m12">
                                <input id="post_title" type="text" ng-model="postCtrl.postTitle">
                                <label for="post_title">Post Title</label>
                            </div>
                            <div class="input-field col s12 m12">
                                <input id="post_image" type="text" ng-model="postCtrl.postImage">
                                <label for="post_image">Image URL</label>
                            </div>
                            <div class="input-field col s12 m12">
                                <input id="post_url" type="text" ng-model="postCtrl.postUrl">
                                <label for="post_url">Link URL</label>
                            </div>
                            <div class="input-field col s12 m12">
                                <textarea id="post_text" class="materialize-textarea" ng-model="postCtrl.postText"></textarea>
                                <label for="post_text">Post Blurb</label>
                            </div>
                            <select class="sorter center" name="sorting-options" ng-model="postCtrl.topicId">
                                <option value="" disabled selected>Post Category</option>
                                <option value="1">Inspiration</option>
                                <option value="2">Show and Tell</option>
                                <option value="3">Resources</option>
                            </select>
                            <div class="modal-footer">
                                <a href="#" class="modal-action modal-close btn-flat center" ng-click="postCtrl.createPost()">Create Post</a>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- POSTS FEED -->
    <main ui-view class="all-post-feed"></main>

    <!-- SIDEBAR -->
    <section>
        <ul id="sidebar" class="right side-nav">
            <div class="user-list-box" ng-controller="UserCtrl as userCtrl">
                <li><a id="follow-button" class="btn btn-flat">Follow</a></li>
                <!-- SEARCH -->
                <form>
                    <!-- <div class="searchbar-wrap">
                            <input id="user-searchinput" class="search-bar left" type="text" ng-model="userCtrl.searchText">
                            <button type="submit" name="button" class="grey btn-flat">Search</button>
                        </div> -->
                    <!-- <label>Search Username: -->
                    <div class="searchbar-wrap">
                        <input ng-model="searchText" id="user-searchinput" class="search-bar left" type="text" autofocus>
                        <button type="submit" name="button" class="grey btn-flat right">Search</button>
                    </div>
                    <!-- </label> -->
                    <table id="searchTextResults">
                        <thead>
                            <tr>
                                <th>Username</th>
{'fraction_non_alphanumeric': 0.16582563465569444, 'fraction_numerical': 0.008073907305333437, 'mean_word_length': 1.6798418972332017, 'pattern_counts': {'":': 0, '<': 353, '<?xml version=': 0, '>': 353, 'https://': 2, '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': '5861116', 'n_tokens_mistral': 3710, 'n_tokens_neox': 3501, 'n_words': 641}