<commit_before><%@ Control Language="C#" AutoEventWireup="True" CodeBehind="LoadStarterKits.ascx.cs" Inherits="Umbraco.Web.UI.Install.Steps.Skinning.LoadStarterKits" %>
<%@ Import Namespace="Umbraco.Web.org.umbraco.our" %>

<%@ Register TagPrefix="umb" Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" %>

<asp:PlaceHolder ID="pl_loadStarterKits" runat="server">
    
    <umb:JsInclude ID="JsInclude1" runat="server" FilePath="installer/js/PackageInstaller.js" PathNameAlias="UmbracoClient" />

    <% if (!CannotConnect) { %>
    <script type="text/javascript">
        (function ($) {
            $(document).ready(function () {
                var installer = new Umbraco.Installer.PackageInstaller({
                    starterKits: $("a.selectStarterKit"),
                    baseUrl: "<%= PackageInstallServiceBaseUrl %>",
                    serverError: $("#serverError"),
                    connectionError: $("#connectionError"),
                    setProgress: updateProgressBar,
                    setStatusMessage: updateStatusMessage
                });
                installer.init();
            });
        })(jQuery);
    </script>
    <% } %>
        <div id="starter-kit-progress" style="display: none;">
        <h2>Installation in progress...</h2>
        <div class="loader">
            <div class="hold">
                <div class="progress-bar">
                </div>
                <span class="progress-bar-value">0%</span>
            </div>
            <strong></strong>
        </div>
    </div>
    <asp:Repeater ID="rep_starterKits" runat="server">
        <headertemplate>
            <ul class="thumbnails">
        </headertemplate>
        <itemtemplate>
            <li class="span4 add-<%# ((Package)Container.DataItem).Text.Replace(" ","").ToLower() %>">
                <div class="thumbnail" style="margin-right: 10px; height: 260px">
                    <img src="http://our.umbraco.org<%# ((Package)Container.DataItem).Thumbnail %>" alt="<%# ((Package)Container.DataItem).Text %>">
                    
                    <h4><%# ((Package)Container.DataItem).Text %></h4>
                    <%# ((Package)Container.DataItem).Description %>
                    
                    <a href="#" class="btn btn-success single-tab selectStarterKit" data-name="<%# ((Package)Container.DataItem).Text %>" title="Install <%# ((Package)Container.DataItem).Text %>" data-repoid="<%# ((Package)Container.DataItem).RepoGuid %>">
                        Install 
                    </a>
                </div><commit_msg>U4-8584 Starterkit thumbnails are not really thumbnails<commit_after><%@ Control Language="C#" AutoEventWireup="True" CodeBehind="LoadStarterKits.ascx.cs" Inherits="Umbraco.Web.UI.Install.Steps.Skinning.LoadStarterKits" %>
<%@ Import Namespace="Umbraco.Web.org.umbraco.our" %>

<%@ Register TagPrefix="umb" Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" %>

<asp:PlaceHolder ID="pl_loadStarterKits" runat="server">
    
    <umb:JsInclude ID="JsInclude1" runat="server" FilePath="installer/js/PackageInstaller.js" PathNameAlias="UmbracoClient" />

    <% if (!CannotConnect) { %>
    <script type="text/javascript">
        (function ($) {
            $(document).ready(function () {
                var installer = new Umbraco.Installer.PackageInstaller({
                    starterKits: $("a.selectStarterKit"),
                    baseUrl: "<%= PackageInstallServiceBaseUrl %>",
                    serverError: $("#serverError"),
                    connectionError: $("#connectionError"),
                    setProgress: updateProgressBar,
                    setStatusMessage: updateStatusMessage
                });
                installer.init();
            });
        })(jQuery);
    </script>
    <% } %>
        <div id="starter-kit-progress" style="display: none;">
        <h2>Installation in progress...</h2>
        <div class="loader">
            <div class="hold">
                <div class="progress-bar">
                </div>
                <span class="progress-bar-value">0%</span>
            </div>
            <strong></strong>
        </div>
    </div>
    <asp:Repeater ID="rep_starterKits" runat="server">
        <headertemplate>
            <ul class="thumbnails">
        </headertemplate>
        <itemtemplate>
            <li class="span4 add-<%# ((Package)Container.DataItem).Text.Replace(" ","").ToLower() %>">
                <div class="thumbnail" style="margin-right: 10px; height: 260px">
                    <img src="http://our.umbraco.org<%# ((Package)Container.DataItem).Thumbnail %>?width=180" alt="<%# ((Package)Container.DataItem).Text %>">
                    
                    <h4><%# ((Package)Container.DataItem).Text %></h4>
                    <%# ((Package)Container.DataItem).Description %>
                    
                    <a href="#" class="btn btn-success single-tab selectStarterKit" data-name="<%# ((Package)Container.DataItem).Text %>" title="Install <%# ((Package)Container.DataItem).Text %>" data-repoid="<%# ((Package)Container.DataItem).RepoGuid %>">
                        Install 
                    </a>
                </div>
{'fraction_non_alphanumeric': 0.16278625954198472, 'fraction_numerical': 0.0061068702290076335, 'mean_word_length': 2.19183922046285, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '3871154', 'n_tokens_mistral': 1558, 'n_tokens_neox': 1443, 'n_words': 222}