<commit_before>﻿@model ICollection<Blog.ViewModels.PostViewModel>
@{
    ViewBag.Title = "Manage panel";
}

@section Scripts{
    <script src="~/lib/angular/angular.js"></script>
    <script src="~/js/personApp.js"></script>
    <script src="~/js/personController.js"></script>
}

<ul class="nav nav-tabs">
    <li class="active"><a data-toggle="tab" href="#home">New posts</a></li>
    <li><a data-toggle="tab" href="#menu1">Users</a></li>
    <li><a data-toggle="tab" href="#menu2">Suspended Users</a></li>
</ul>

<div class="tab-content" ng-app="personApp">
    <div id="home" class="tab-pane fade in active" ng-controller="personController as vm">
        <div class="text-danger" ng-show="vm.error">{{vm.error}}</div>
        <table class="table">
            <tr ng-repeat="post in vm.posts">
                <td>{{post.title}}</td>
                <td>{{post.author}}</td>
                <td>{{post.postedOn | date: 'MM-dd-yyyy'}}</td>
                <td>{{post.isPublished}}</td>
            </tr>                     
        </table>
    </div>
    <div id="menu1" class="tab-pane fade">
        <h3>Menu 1</h3>
        <p>Some content in menu 1.</p>
    </div>
    <div id="menu2" class="tab-pane fade">
        <h3>Menu 2</h3>
        <p>Some content in menu 2.</p>
    </div>
</div><commit_msg>Small view changes<commit_after>﻿@model ICollection<Blog.ViewModels.PostViewModel>
@{
    ViewBag.Title = "Manage panel";
}

@section Scripts{
    <script src="~/lib/angular/angular.js"></script>
    <script src="~/js/personApp.js"></script>
    <script src="~/js/personController.js"></script>
}

<ul class="nav nav-tabs">
    <li class="active"><a data-toggle="tab" href="#home">New posts</a></li>
    <li><a data-toggle="tab" href="#menu1">Users</a></li>
    <li><a data-toggle="tab" href="#menu2">Suspended Users</a></li>
</ul>

<div class="tab-content" ng-app="personApp">
    <div id="home" class="tab-pane fade in active" ng-controller="personController as vm">
        <div class="text-danger" ng-show="vm.error">{{vm.error}}</div>
        <table class="table table-bordered table-striped">
            <thead>
                <tr>
                    <th>Title</th>
                    <th>Author</th>
                    <th>Date</th>
                    <th>Is published</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="post in vm.posts">
                    <td>{{post.title}}</td>
                    <td>{{post.author}}</td>
                    <td>{{post.postedOn | date: 'MM-dd-yyyy'}}</td>
                    <td>{{post.isPublished}}</td>
                </tr>
            </tbody>               
        </table>
        <button ng-click="vm.sortByName()">Sort</button>
    </div>
    <div id="menu1" class="tab-pane fade">
        <h3>Menu 1</h3>
        <p>Some content in menu 1.</p>
    </div>
    <div id="menu2" class="tab-pane fade">
        <h3>Menu 2</h3>
        <p>Some content in menu 2.</p>
    </div>
</div>
{'fraction_non_alphanumeric': 0.20373457819273091, 'fraction_numerical': 0.008002667555851951, 'mean_word_length': 2.1380753138075312, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '7538451', 'n_tokens_mistral': 1053, 'n_tokens_neox': 986, 'n_words': 184}