<%@ Control Language="c#" CodeBehind="KpiView.ascx.cs" AutoEventWireup="true" Inherits="Zap.BI.Portal.Controls.UserControls.ResourceControls.Kpis.KpiView" %>

<zapWeb:QueryParameterContainer runat="server" ID="filterPane" HasSlicer="False" />

<%--Inner Content--%>
<%--Expression Template Instance Editor Stack--%>
<zapWeb:TemplateInstanceStack runat="server" ID="TemplateInstanceStack" />

<%--Query Placeholders--%>
<div runat="server" id="divQueryPlaceholders" class="horizontalDesignPlaceholder"
    style="overflow: hidden;">
    <%-- Parallel level selector drop down --%>
    <zapWeb:ZapUpdatePanel ID="ParallelLevelDropDown" runat="server">
        <ContentTemplate>
            <div runat="server" id="divParallelLevelDropDown" />
        </ContentTemplate>
    </zapWeb:ZapUpdatePanel>

    <table style="width: 100%; border-collapse: collapse;">
        <tbody>
            <tr style="height: 31px">
                <td></td>
                <td style="padding-left: 90px;" runat="server" id="tdFilters">
                    <zapWeb:QueryPlaceholder ID="filtersPlaceholder" runat="server" AutoResize="true"
                        PlaceholderGuid="{F117E5FF-C6EF-4b32-9BD1-B2C43AC890C0}" Name="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Label_Filters %>"
                        Description="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Description_Filters %>" />
                </td>
            </tr>
            <tr style="height: 31px">
                <td></td>
                <td style="padding-left: 45px;" runat="server" id="tdBoundaries">
                    <zapWeb:QueryPlaceholder ID="boundariesPlaceholder" runat="server" AutoResize="true"
                        PlaceholderGuid="{B0D1E529-5348-45d7-9A7E-234F89E09A14}" Name="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Label_Boundaries %>"
                        Description="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Description_Boundaries %>" />
                </td>
            </tr>
            <tr>
                <td></td>
                <td style="padding-left: 45px">
                    <div class="anchorPlaceholderRow" style="height: 32px; display: none;">
                        <zapWeb:QueryPlaceholder ID="anchorPlaceholder" runat="server" PlaceholderGuid="{AC0AC342-2FEE-45ef-9600-9A0FC97679B3}"
                            Name="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Label_Anchor %>"
                            Description="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Description_Anchor %>" />
                    </div>
                </td>
            </tr>
            <tr style="height: 31px">
                <td runat="server" id="tdPlaceholderBin" style="width: 24px;">
                    <zapWeb:DesignPlaceholderBin ID="queryPlaceholderBin" runat="server" />
                </td>
                <td runat="server" id="tdPins">
                    <table style="width: 100%; border-collapse: collapse;">
                        <tbody>
                            <tr>
                                <td style="padding-right: 20px">
                                    <zapWeb:QueryPlaceholder ID="actualPlaceholder" runat="server" PlaceholderGuid="{AC7A1B47-F20D-4639-A259-6B996A3C01F4}"
                                        Name="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Label_Actual %>"
                                        Description="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Description_Actual %>" />
                                </td>
                                <td style="padding-right: 20px">
                                    <zapWeb:QueryPlaceholder ID="targetPlaceholder" runat="server" PlaceholderGuid="{7A6E74BE-ACBB-4a62-B976-BCC198B5CA67}"
                                        Name="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Label_Target %>"
                                        Description="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Description_Target %>" />
                                </td>
                                <td>
                                    <zapWeb:QueryPlaceholder ID="othersPlaceholder" runat="server" PlaceholderGuid="{07E12531-37FC-4c87-BAB0-C2D498CDA947}"
                                        Name="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Label_Needles %>"
                                        Description="<%$ Resources: Controls.UserControls.ResourceControls.Kpis.KpiText, Description_Needles %>" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</div>
<%--KPI Gauge--%>
<div class="resourceContentWrapper FillHeight">
    <table style="width: 100%; height: 100%;">
        <tr>
            <td runat="server" id="tdDisplay" class="DisplayTable" style="width: 100%; text-align: center"
                valign="middle">
                <asp:Image runat="server" ID="kpiImage" CssClass="KpiImage" />

            </td>
        </tr>
    </table>
    </div>