<commit_before><%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Dashboard.ascx.cs" Inherits="Our.Umbraco.uGoLive.Web.Umbraco.Plugins.uGoLive.Dashboard" %>
<%@ Import Namespace="Our.Umbraco.uGoLive.Web" %>
<%@ Import Namespace="Umbraco.Core.IO" %>
<%@ Register Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" TagPrefix="cdf" %>

<cdf:CssInclude ID="CssInclude1" runat="server" FilePath="propertypane/style.css" PathNameAlias="UmbracoClient"  />
<cdf:CssInclude ID="CssInclude2" runat="server" FilePath="plugins/uGoLive/Dashboard.css" PathNameAlias="UmbracoRoot"  />
<cdf:JsInclude ID="JsInclude2" runat="server" FilePath="UI/knockout.js" Priority="3" PathNameAlias="UmbracoClient" />
<cdf:JsInclude ID="JsInclude3" runat="server" FilePath="plugins/uGoLive/jquery.tmpl.js" Priority="1" PathNameAlias="UmbracoRoot" />
<cdf:JsInclude ID="JsInclude1" runat="server" FilePath="plugins/uGoLive/Dashboard.js" PathNameAlias="UmbracoRoot" />

<script type="text/javascript">

    (function ($) {

    	$(function () {

    	    Our.Umbraco.uGoLive.Dashboard.init({
    	        checkDefs: <%= Checks.ToJsonString() %>,
    			basePath: '<%= IOHelper.ResolveUrl(SystemPaths.Base) %>',
    			umbracoPath: '<%= IOHelper.ResolveUrl(SystemPaths.Umbraco) %>'
    		});

    	});

    })(jQuery)  

</script>

<div class="uGoLive" id="uGoLive">
    <div class="propertypane">
        <div>
            <div class="propertyItem">
                <div class="dashboardWrapper">
                    <h2>uGoLive Checklist</h2>
                    <img src="plugins/uGoLive/icon.png" alt="uGoLive" class="dashboardIcon" />
                    <p>The uGoLive checklist is a checklist of the most widely accredited best practises when deploying an Umbraco website. uGoLive performs a complete system check against these practises, and highlights any areas that need attention.</p>
                    <button id="btnRunChecks" data-bind="click: checkAll, text: checkAllText, css: { disabled: queuedChecks().length > 0 }"></button>
                    <div class="checks" data-bind="template: { name: 'uGoLiveGroup', foreach: checkGroups }"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script id="uGoLiveGroup" type="text/html">
    <h3 data-bind="text: name + ':'"></h3>
    <div class="propertypane">
        <div data-bind="template: { name: 'uGoLiveCheck', foreach: checks }"></div>
        <div class="propertyPaneFooter">-</div>
    </div>
</script>

<script id="uGoLiveCheck" type="text/html">
    <div class="propertyItem">
	    <div class="propertyItemheader">
		    <span data-bind="text: name"></span><br />
            <small data-bind="text: description"></small>
	    </div>
        <div class="propertyItemContent">
		    <a href="#" title="Run Check" class="check" data-bind="click: check, css: { disabled: status() == 'Checking' || status() == 'Queued' }"><img src="plugins/uGoLive/run.png" alt="Run Check" /></a>
            <a href="#" title="Rectify Check" class="rectify" data-bind="click: rectify, css: { disabled: !(canRectify && status() == 'Failed') }"><img src="plugins/uGoLive/cog.png" alt="Rectify Check" /></a>
            <span class="status ugl${ status }" data-bind="html: message"></span>
	    </div>
    </div>
</script><commit_msg>Fixes issue with ugolive dashboard trying to load in knockout from a bundle which causes the examine mgr to fail<commit_after><%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Dashboard.ascx.cs" Inherits="Our.Umbraco.uGoLive.Web.Umbraco.Plugins.uGoLive.Dashboard" %>
<%@ Import Namespace="Our.Umbraco.uGoLive.Web" %>
<%@ Import Namespace="Umbraco.Core.IO" %>
<%@ Register Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" TagPrefix="cdf" %>

<cdf:CssInclude ID="CssInclude1" runat="server" FilePath="propertypane/style.css" PathNameAlias="UmbracoClient"  />
<cdf:CssInclude ID="CssInclude2" runat="server" FilePath="plugins/uGoLive/Dashboard.css" PathNameAlias="UmbracoRoot"  />
<cdf:JsInclude ID="JsInclude3" runat="server" FilePath="plugins/uGoLive/jquery.tmpl.js" Priority="1" PathNameAlias="UmbracoRoot" />
<cdf:JsInclude ID="JsInclude1" runat="server" FilePath="plugins/uGoLive/Dashboard.js" PathNameAlias="UmbracoRoot" />

<script type="text/javascript">

    (function ($) {

    	$(function () {

    	    Our.Umbraco.uGoLive.Dashboard.init({
    	        checkDefs: <%= Checks.ToJsonString() %>,
    			basePath: '<%= IOHelper.ResolveUrl(SystemPaths.Base) %>',
    			umbracoPath: '<%= IOHelper.ResolveUrl(SystemPaths.Umbraco) %>'
    		});

    	});

    })(jQuery)  

</script>

<div class="uGoLive" id="uGoLive">
    <div class="propertypane">
        <div>
            <div class="propertyItem">
                <div class="dashboardWrapper">
                    <h2>uGoLive Checklist</h2>
                    <img src="plugins/uGoLive/icon.png" alt="uGoLive" class="dashboardIcon" />
                    <p>The uGoLive checklist is a checklist of the most widely accredited best practises when deploying an Umbraco website. uGoLive performs a complete system check against these practises, and highlights any areas that need attention.</p>
                    <button id="btnRunChecks" data-bind="click: checkAll, text: checkAllText, css: { disabled: queuedChecks().length > 0 }"></button>
                    <div class="checks" data-bind="template: { name: 'uGoLiveGroup', foreach: checkGroups }"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script id="uGoLiveGroup" type="text/html">
    <h3 data-bind="text: name + ':'"></h3>
    <div class="propertypane">
        <div data-bind="template: { name: 'uGoLiveCheck', foreach: checks }"></div>
        <div class="propertyPaneFooter">-</div>
    </div>
</script>

<script id="uGoLiveCheck" type="text/html">
    <div class="propertyItem">
	    <div class="propertyItemheader">
		    <span data-bind="text: name"></span><br />
            <small data-bind="text: description"></small>
	    </div>
        <div class="propertyItemContent">
		    <a href="#" title="Run Check" class="check" data-bind="click: check, css: { disabled: status() == 'Checking' || status() == 'Queued' }"><img src="plugins/uGoLive/run.png" alt="Run Check" /></a>
            <a href="#" title="Rectify Check" class="rectify" data-bind="click: rectify, css: { disabled: !(canRectify && status() == 'Failed') }"><img src="plugins/uGoLive/cog.png" alt="Rectify Check" /></a>
            <span class="status ugl${ status }" data-bind="html: message"></span>
	    </div>
    </div>
</script>
{'fraction_non_alphanumeric': 0.1698755924170616, 'fraction_numerical': 0.003258293838862559, 'mean_word_length': 3.353965183752418, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 132, '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': '4040998', 'n_tokens_mistral': 2280, 'n_tokens_neox': 2167, 'n_words': 428}