<commit_before>﻿<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="EditAchievements.ascx.cs" Inherits="R7.University.Controls.EditAchievements" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/labelcontrol.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Url" Src="~/controls/DnnUrlControl.ascx" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>

<dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/MVC/R7.University/R7.University/assets/css/admin.css" Priority="200" />
<dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/MVC/R7.University/R7.University.Controls/css/grid-and-form.css" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/MVC/R7.University/R7.University/assets/js/EditAchievements.min.js" ForceProvider="DnnFormBottomProvider" />

<asp:Panel id="panelEditAchievements" runat="server" CssClass="dnnForm dnnClear u8y-edit-achievements">
    <fieldset>
        <div class="dnnFormItem">
            <asp:GridView id="gridItems" runat="server" AutoGenerateColumns="false" CssClass="dnnGrid u8y-gaf-grid"
                GridLines="None" OnRowDataBound="gridAchievements_RowDataBound">
                <HeaderStyle CssClass="dnnGridHeader" horizontalalign="Left" />
                <RowStyle CssClass="dnnGridItem" horizontalalign="Left" />
                <AlternatingRowStyle CssClass="dnnGridAltItem" />
                <SelectedRowStyle CssClass="dnnFormError" />
                <EditRowStyle CssClass="dnnFormInput" />
                <FooterStyle CssClass="dnnGridFooter" />
                <PagerStyle CssClass="dnnGridPager" />
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <span class="u8y-gaf-actions">
                                <asp:LinkButton id="linkEdit" runat="server" OnCommand="OnEditItemCommand" ToolTip='<%# LocalizeString ("EditItem.Title") %>'>
									<asp:Image runat="server" ImageUrl="<%# EditIconUrl %>" />
                                </asp:LinkButton>
                                <asp:LinkButton id="linkDelete" runat="server" OnCommand="OnDeleteItemCommand" ToolTip='<%# LocalizeString ("DeleteItem.Title") %>'>
                                    <asp:Image runat="server" ImageUrl="<%# DeleteIconUrl %>" />
                                </asp:LinkButton>
                                <asp:LinkButton id="linkUndelete" runat="server" OnCommand="OnUndeleteItemCommand" ToolTip='<%# LocalizeString ("UndeleteItem.Title") %>'>
                                    <asp:Image runat="server" ImageUrl="<%# UndeleteIconUrl %>" />
                                </asp:LinkButton>
                                <asp:Label id="labelEditMarker" runat="server" />
                            </span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ViewItemID" />
                    <asp:BoundField DataField="Years_String" HeaderText="Years.Column" />
                    <asp:BoundField DataField="Title_String" HeaderText="Title.Column" />
                    <asp:BoundField DataField="AchievementType_String" HeaderText="AchievementType.Column" />
                    <asp:CheckBoxField DataField="IsTitle" HeaderText="IsTitle.Column" />
                    <asp:BoundField DataField="DocumentUrl_Link" HeaderText="DocumentUrl.Column" HtmlEncode="false" />
                    <asp:BoundField DataField="Description" Visible="false" />
                </Columns>
            </asp:GridView>
        </div>
        <div class="dnnFormItem">
            <dnn:Label id="labelAchievements" runat="server" ControlName="comboAchievements" />
            <asp:DropDownList id="comboAchievement" runat="server" CssClass="dnn-select2"
                DataTextField="Text"
				DataValueField="Value" />
        </div>
        <asp:Panel id="panelAchievementTypes" runat="server" class="dnnFormItem">
            <dnn:Label id="labelAchievementTypes" runat="server" ControlName="comboAchievementTypes" />
            <asp:DropDownList id="comboAchievementTypes" runat="server"
                DataTextField="Text"
                DataValueField="Value" />
        </asp:Panel>
        <div class="dnnFormItem">
            <dnn:Label id="labelYears" runat="server" ControlName="textYearBegin" />
            <div class="dnn-form-control-group">
                <asp:TextBox id="textYearBegin" runat="server" CssClass="dnn-form-control-half-width" />
                &ndash;
                <asp:TextBox id="textYearEnd" runat="server" CssClass="dnn-form-control-half-width" />
            </div>
        </div>
		<asp:Panel id="panelAchievementTitle" runat="server" class="dnnFormItem dnnFormRequired">
			<dnn:Label id="labelAchievementTitle" runat="server" ControlName="textAchievementTitle" />
			<asp:TextBox id="textAchievementTitle" runat="server" TextMode="MultiLine" Rows="3" />
            <asp:RequiredFieldValidator runat="server" resourcekey="AchievementTitle.Required"
                ControlToValidate="textAchievementTitle" ValidationGroup="Achievements"
                Display="Dynamic" CssClass="dnnFormMessage dnnFormError" />
            <asp:RegularExpressionValidator runat="server"
                CssClass="dnnFormMessage dnnFormError" resourcekey="AchievementTitle.MaxLength"
                ControlToValidate="textAchievementTitle" Display="Dynamic"
                ValidationExpression="[\s\S]{0,250}" ValidationGroup="Achievements" />
		</asp:Panel>
		<div class="dnnFormItem">
            <dnn:Label id="labelAchievementTitleSuffix" runat="server" ControlName="textAchievementTitleSuffix" />
            <asp:TextBox id="textAchievementTitleSuffix" runat="server" MaxLength="100" />
        </div>
		<asp:Panel id="panelAchievementShortTitle" runat="server" class="dnnFormItem">
            <dnn:Label id="labelAchievementShortTitle" runat="server" ControlName="textAchievementShortTitle" />
            <asp:TextBox id="textAchievementShortTitle" runat="server" MaxLength="64" />
        </asp:Panel>
		<div class="dnnFormItem">
            <dnn:Label id="labelAchievementDescription" runat="server" ControlName="textAchievementDescription" />
            <asp:TextBox id="textAchievementDescription" runat="server" TextMode="MultiLine" Rows="3" />
        </div>
        <div class="dnnFormItem">
            <dnn:Label id="labelIsTitle" runat="server" ControlName="checkIsTitle" />
            <asp:CheckBox id="checkIsTitle" runat="server" CssClass="dnn-form-control" />
        </div>
        <div class="dnnFormItem">
            <dnn:Label id="labelDocumentURL" runat="server" ControlName="urlDocumentURL" />
            <dnn:Url id="urlDocumentURL" runat="server" UrlType="N"
                IncludeActiveTab="true"
                ShowFiles="true" ShowTabs="true"
                ShowUrls="true" ShowUsers="true"
                ShowLog="false" ShowTrack="false"
                ShowNone="true" ShowNewWindow="false" />
        </div>
        <div class="dnnFormItem">
            <div class="dnnLabel"></div>
            <ul class="dnnActions">
                <li>
                    <asp:LinkButton id="buttonAddItem" runat="server" resourcekey="buttonAddAchievement"
                        CssClass="dnnPrimaryAction" CommandArgument="Add"
                        CausesValidation="true" ValidationGroup="Achievements" /><commit_msg>Don't need links to user profiles in employee achievements<commit_after>﻿<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="EditAchievements.ascx.cs" Inherits="R7.University.Controls.EditAchievements" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/labelcontrol.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Url" Src="~/controls/DnnUrlControl.ascx" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>

<dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/MVC/R7.University/R7.University/assets/css/admin.css" Priority="200" />
<dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/MVC/R7.University/R7.University.Controls/css/grid-and-form.css" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/MVC/R7.University/R7.University/assets/js/EditAchievements.min.js" ForceProvider="DnnFormBottomProvider" />

<asp:Panel id="panelEditAchievements" runat="server" CssClass="dnnForm dnnClear u8y-edit-achievements">
    <fieldset>
        <div class="dnnFormItem">
            <asp:GridView id="gridItems" runat="server" AutoGenerateColumns="false" CssClass="dnnGrid u8y-gaf-grid"
                GridLines="None" OnRowDataBound="gridAchievements_RowDataBound">
                <HeaderStyle CssClass="dnnGridHeader" horizontalalign="Left" />
                <RowStyle CssClass="dnnGridItem" horizontalalign="Left" />
                <AlternatingRowStyle CssClass="dnnGridAltItem" />
                <SelectedRowStyle CssClass="dnnFormError" />
                <EditRowStyle CssClass="dnnFormInput" />
                <FooterStyle CssClass="dnnGridFooter" />
                <PagerStyle CssClass="dnnGridPager" />
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <span class="u8y-gaf-actions">
                                <asp:LinkButton id="linkEdit" runat="server" OnCommand="OnEditItemCommand" ToolTip='<%# LocalizeString ("EditItem.Title") %>'>
									<asp:Image runat="server" ImageUrl="<%# EditIconUrl %>" />
                                </asp:LinkButton>
                                <asp:LinkButton id="linkDelete" runat="server" OnCommand="OnDeleteItemCommand" ToolTip='<%# LocalizeString ("DeleteItem.Title") %>'>
                                    <asp:Image runat="server" ImageUrl="<%# DeleteIconUrl %>" />
                                </asp:LinkButton>
                                <asp:LinkButton id="linkUndelete" runat="server" OnCommand="OnUndeleteItemCommand" ToolTip='<%# LocalizeString ("UndeleteItem.Title") %>'>
                                    <asp:Image runat="server" ImageUrl="<%# UndeleteIconUrl %>" />
                                </asp:LinkButton>
                                <asp:Label id="labelEditMarker" runat="server" />
                            </span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ViewItemID" />
                    <asp:BoundField DataField="Years_String" HeaderText="Years.Column" />
                    <asp:BoundField DataField="Title_String" HeaderText="Title.Column" />
                    <asp:BoundField DataField="AchievementType_String" HeaderText="AchievementType.Column" />
                    <asp:CheckBoxField DataField="IsTitle" HeaderText="IsTitle.Column" />
                    <asp:BoundField DataField="DocumentUrl_Link" HeaderText="DocumentUrl.Column" HtmlEncode="false" />
                    <asp:BoundField DataField="Description" Visible="false" />
                </Columns>
            </asp:GridView>
        </div>
        <div class="dnnFormItem">
            <dnn:Label id="labelAchievements" runat="server" ControlName="comboAchievements" />
            <asp:DropDownList id="comboAchievement" runat="server" CssClass="dnn-select2"
                DataTextField="Text"
				DataValueField="Value" />
        </div>
        <asp:Panel id="panelAchievementTypes" runat="server" class="dnnFormItem">
            <dnn:Label id="labelAchievementTypes" runat="server" ControlName="comboAchievementTypes" />
            <asp:DropDownList id="comboAchievementTypes" runat="server"
                DataTextField="Text"
                DataValueField="Value" />
        </asp:Panel>
        <div class="dnnFormItem">
            <dnn:Label id="labelYears" runat="server" ControlName="textYearBegin" />
            <div class="dnn-form-control-group">
                <asp:TextBox id="textYearBegin" runat="server" CssClass="dnn-form-control-half-width" />
                &ndash;
                <asp:TextBox id="textYearEnd" runat="server" CssClass="dnn-form-control-half-width" />
            </div>
        </div>
		<asp:Panel id="panelAchievementTitle" runat="server" class="dnnFormItem dnnFormRequired">
			<dnn:Label id="labelAchievementTitle" runat="server" ControlName="textAchievementTitle" />
			<asp:TextBox id="textAchievementTitle" runat="server" TextMode="MultiLine" Rows="3" />
            <asp:RequiredFieldValidator runat="server" resourcekey="AchievementTitle.Required"
                ControlToValidate="textAchievementTitle" ValidationGroup="Achievements"
                Display="Dynamic" CssClass="dnnFormMessage dnnFormError" />
            <asp:RegularExpressionValidator runat="server"
                CssClass="dnnFormMessage dnnFormError" resourcekey="AchievementTitle.MaxLength"
                ControlToValidate="textAchievementTitle" Display="Dynamic"
                ValidationExpression="[\s\S]{0,250}" ValidationGroup="Achievements" />
		</asp:Panel>
		<div class="dnnFormItem">
            <dnn:Label id="labelAchievementTitleSuffix" runat="server" ControlName="textAchievementTitleSuffix" />
            <asp:TextBox id="textAchievementTitleSuffix" runat="server" MaxLength="100" />
        </div>
		<asp:Panel id="panelAchievementShortTitle" runat="server" class="dnnFormItem">
            <dnn:Label id="labelAchievementShortTitle" runat="server" ControlName="textAchievementShortTitle" />
            <asp:TextBox id="textAchievementShortTitle" runat="server" MaxLength="64" />
        </asp:Panel>
		<div class="dnnFormItem">
            <dnn:Label id="labelAchievementDescription" runat="server" ControlName="textAchievementDescription" />
            <asp:TextBox id="textAchievementDescription" runat="server" TextMode="MultiLine" Rows="3" />
        </div>
        <div class="dnnFormItem">
            <dnn:Label id="labelIsTitle" runat="server" ControlName="checkIsTitle" />
            <asp:CheckBox id="checkIsTitle" runat="server" CssClass="dnn-form-control" />
        </div>
        <div class="dnnFormItem">
            <dnn:Label id="labelDocumentURL" runat="server" ControlName="urlDocumentURL" />
            <dnn:Url id="urlDocumentURL" runat="server" UrlType="N"
				ShowNone="true"
                ShowFiles="true"
				ShowTabs="true"
                IncludeActiveTab="true"
                ShowUrls="true"
				ShowUsers="false"
                ShowLog="false"
				ShowTrack="false"
                ShowNewWindow="false" />
        </div>
        <div class="dnnFormItem">
            <div class="dnnLabel"></div>
            <ul class="dnnActions">
                <li>
                    <asp:LinkButton id="buttonAddItem" runat="server" resourcekey="buttonAddAchievement"
                        CssClass="dnnPrimaryAction" CommandArgument="Add"
                        CausesValidation="true" ValidationGroup="Achievements" />
{'fraction_non_alphanumeric': 0.13401725039205437, 'fraction_numerical': 0.003267119707266074, 'mean_word_length': 2.763216129825424, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 201, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1778839', 'n_tokens_mistral': 4633, 'n_tokens_neox': 4368, 'n_words': 602}