<commit_before>﻿@model Jabbot.Web.Models.Home.HomeViewModel
@{
    ViewBag.Title = String.Format("Jabbot v{0}", Model.JabbotStatistics.Jabbot.Version);
}

<div class="row-fluid">
    <div class="span2">
        <h3 class="text-center">Status</h3>
        <hr />
        <p class="text-center">@if (Model.IsOnline()){<span class="status label label-success">online</span>}else{<span class="status label label-important">offline</span>}</p>
        @{ 
            var lastSeenTitle = Model.Status.LastSeen > DateTimeOffset.MinValue ? string.Format("{0} @ {1} UTC", Model.Status.LastSeen.ToString("MMM dd, yyyy"), Model.Status.LastSeen.ToString("hh:mmtt")) : "never";
            var lastSeenValue = Model.Status.LastSeen > DateTimeOffset.MinValue ? Html.FormatTimeAgo(Model.Status.LastSeen, true) : "never";
        }
        <p class="text-center">@if (!Model.IsOnline()){<small title="@lastSeenTitle">Last seen @lastSeenValue</small>}</p>
    </div>
    <div class="span8">
        <div class="hero-unit text-center">
            <h1>Jabbot</h1>
            <br />
            <p>
                <a class="btn btn-large" href="https://github.com/rbwestmoreland/Jabbot">View project on Github</a>
                <a class="btn btn-inverse btn-large" href="https://github.com/rbwestmoreland/Jabbot/zipball/master">Download Jabbot <small>@String.Format("v{0}", Model.JabbotStatistics.Jabbot.Version)</small></a>
            </p>
            <ul class="chiclets">
                <li><a href="https://twitter.com/intent/tweet?button_hashtag=jabbot" class="twitter-hashtag-button">Tweet #jenkinshud</a></li>
                <li><iframe src="http://ghbtns.com/github-btn.html?user=rbwestmoreland&repo=jabbot&type=follow&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="210px" height="20px"></iframe></li>
                <li><iframe src="http://ghbtns.com/github-btn.html?user=rbwestmoreland&repo=jabbot&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe></li>
                <li><iframe src="http://ghbtns.com/github-btn.html?user=rbwestmoreland&repo=jabbot&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe></li>
            </ul>
        </div>
    </div>
    <div class="span2">
        <p>
            <h3 class="text-center">Humans Served</h3>
            <hr />
            <p class="text-center"><small>today</small> @Html.FormatWithCommas(Model.JabbotStatistics.Statistics.TotalRequestsHandledThisDay)</p><commit_msg>Fixed Twitter Link Text in Home View<commit_after>﻿@model Jabbot.Web.Models.Home.HomeViewModel
@{
    ViewBag.Title = String.Format("Jabbot v{0}", Model.JabbotStatistics.Jabbot.Version);
}

<div class="row-fluid">
    <div class="span2">
        <h3 class="text-center">Status</h3>
        <hr />
        <p class="text-center">@if (Model.IsOnline()){<span class="status label label-success">online</span>}else{<span class="status label label-important">offline</span>}</p>
        @{ 
            var lastSeenTitle = Model.Status.LastSeen > DateTimeOffset.MinValue ? string.Format("{0} @ {1} UTC", Model.Status.LastSeen.ToString("MMM dd, yyyy"), Model.Status.LastSeen.ToString("hh:mmtt")) : "never";
            var lastSeenValue = Model.Status.LastSeen > DateTimeOffset.MinValue ? Html.FormatTimeAgo(Model.Status.LastSeen, true) : "never";
        }
        <p class="text-center">@if (!Model.IsOnline()){<small title="@lastSeenTitle">Last seen @lastSeenValue</small>}</p>
    </div>
    <div class="span8">
        <div class="hero-unit text-center">
            <h1>Jabbot</h1>
            <br />
            <p>
                <a class="btn btn-large" href="https://github.com/rbwestmoreland/Jabbot">View project on Github</a>
                <a class="btn btn-inverse btn-large" href="https://github.com/rbwestmoreland/Jabbot/zipball/master">Download Jabbot <small>@String.Format("v{0}", Model.JabbotStatistics.Jabbot.Version)</small></a>
            </p>
            <ul class="chiclets">
                <li><a href="https://twitter.com/intent/tweet?button_hashtag=jabbot" class="twitter-hashtag-button">Tweet #jabbot</a></li>
                <li><iframe src="http://ghbtns.com/github-btn.html?user=rbwestmoreland&repo=jabbot&type=follow&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="210px" height="20px"></iframe></li>
                <li><iframe src="http://ghbtns.com/github-btn.html?user=rbwestmoreland&repo=jabbot&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe></li>
                <li><iframe src="http://ghbtns.com/github-btn.html?user=rbwestmoreland&repo=jabbot&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe></li>
            </ul>
        </div>
    </div>
    <div class="span2">
        <p>
            <h3 class="text-center">Humans Served</h3>
            <hr />
            <p class="text-center"><small>today</small> @Html.FormatWithCommas(Model.JabbotStatistics.Statistics.TotalRequestsHandledThisDay)</p>
{'fraction_non_alphanumeric': 0.17998838784594542, 'fraction_numerical': 0.0123862976582156, 'mean_word_length': 3.521434820647419, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 123, 'https://': 6, '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': '3807815', 'n_tokens_mistral': 1765, 'n_tokens_neox': 1700, 'n_words': 229}