/
ivan
/
ModMas
Обзор
Документация
Войти
/
ivan
/
ModMas
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ModuleMaster/mi/kpi_summary.aspx
163 строки
9 KB
i.krivokon
Initial commit
13 мар 2026, 13:49
13 мар 2026, 13:49
00d9fb6
Код
Авторство
О чём код?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="KPI_summary.aspx.vb" Inherits="r" %> <%@ Register Src="~/UserControls/editableGridNew.ascx" TagPrefix="uc1" TagName="editableGridNew" %> <%@ Register Src="~/UserControls/alerter.ascx" TagPrefix="uc1" TagName="alerter" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>KPI summary report</title> <link href="../Styles/page.css" rel="stylesheet" /> <style> a { color: white; text-decoration:none; } .cellid a { color: white; text-decoration:none; } .headerID a { color: white; text-decoration:underline; } .main { background-color: white; font-size: 32px; } </style> </head> <body style="background-color: white"> <form id="form1" runat="server"> <%--<div class="center"> <asp:ImageButton ID="ibRefresh" runat="server" ImageUrl="~/Images/Refresh.png" class="vcenter" /> <asp:ImageButton ID="ibExcelDownload" runat="server" Height="27" Width="27" ImageUrl="~/Images/Microsoft%20Office%202003%20Excel.png" CssClass="vcenter" /> </div><br/>--%> <div class="center">Please select division: <asp:DropDownList ID="Plant" runat="server" AutoPostBack="True"> <asp:ListItem Selected="True">VD</asp:ListItem> <asp:ListItem>W/M</asp:ListItem> </asp:DropDownList> </div> <table border="0"> <tr> <th colspan="2" class="main"> <div class="center"> SERK-<%=division%> KPI Achievement rate <font color="<%=color%>"><%=dr("avg_d-1")%>%<%=trend%></font> (<%=dr("D-2")%> <%=dr("avg_d-2")%>%)<br /> <hr color="#33CCCC"/> </div> </th> </tr> <tr> <td valign="top"> <div class="center"> <asp:Chart ID="Summary" runat="server" Width="1100px" Height="900px" BackColor="white" BackImageAlignment="Center" BorderlineDashStyle="NotSet"> <Titles> <asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 16pt, style=Bold" Text="" ForeColor="Black" Docking="Bottom"> </asp:Title> </Titles> <Series runat="server"> <asp:Series Name="KPI_D-2" MarkerSize="10" MarkerStyle="Circle" Label="" BorderWidth="4" Font="Microsoft Sans Serif, 18pt" ChartType="Radar" Color="Gray" runat="server" LegendText="" XValueType="String" IsValueShownAsLabel="false"> <SmartLabelStyle Enabled="true" CalloutStyle="None" IsMarkerOverlappingAllowed="True" IsOverlappedHidden="True" AllowOutsidePlotArea="Partial" MaxMovingDistance="30" MinMovingDistance="10" /> </asp:Series> <asp:Series Name="KPI_D-1" MarkerSize="10" MarkerStyle="Circle" Label="" BorderWidth="4" Font="Microsoft Sans Serif, 18pt, style=Bold" ChartType="Radar" Color="#3333CC" runat="server" LegendText="" XValueType="String" IsValueShownAsLabel="True"> <SmartLabelStyle Enabled="True" CalloutStyle="None" IsMarkerOverlappingAllowed="True" AllowOutsidePlotArea="Partial" MaxMovingDistance="30" MinMovingDistance="10" CalloutLineAnchorCapStyle="None" CalloutLineDashStyle="NotSet" CalloutLineWidth="1" CalloutLineColor="Black" /> </asp:Series> </Series> <ChartAreas> <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="False" Area3DStyle-Inclination="10" Area3DStyle-Rotation="5" AlignmentOrientation="Horizontal" Area3DStyle-IsClustered="True" BackColor="White" Visible="True"> <AxisX IntervalType="Auto" Interval="1" LineColor="gray" IsLabelAutoFit="False"> <MajorGrid LineColor="gray" IntervalType="Auto" Interval="1" Enabled="True" /> <LabelStyle ForeColor="black" Font="Microsoft Sans Serif, 14pt" Angle="-45" /> </AxisX> <AxisY TextOrientation="Rotated270" LineColor="white" TitleForeColor="Green" IsLabelAutoFit="false" ArrowStyle="None" LineDashStyle="NotSet" Interval="20" Maximum="100" Enabled="Auto" IsMarginVisible="True" IsMarksNextToAxis="True" LineWidth="4" Minimum="20"> <MajorGrid LineColor="64,64,64,64" LineDashStyle="NotSet" Enabled="True" /> <MinorGrid LineColor="gray" LineDashStyle="NotSet" Enabled="False" /> <MajorTickMark Enabled="False" /> <MinorTickMark Enabled="False" /> <LabelStyle ForeColor="gray" Font="Microsoft Sans Serif, 14pt" IsEndLabelVisible="True" IsStaggered="False" TruncatedLabels="False" /> </AxisY> </asp:ChartArea> </ChartAreas> <Legends> <asp:Legend Name="Legend1" Docking="Right" Alignment="Far" Font="Trebuchet MS, 20pt" BackColor="white" IsDockedInsideChartArea="True" ItemColumnSeparator="Line" ForeColor="black" IsTextAutoFit="False"> </asp:Legend> </Legends> </asp:Chart> </div> </td> <td valign="top"> <div class="center"> <div class="main"><br /><b>ℹ Our Weaknesses :</b><br /> </div> </div> <asp:GridView ID="Weaknesses" runat="server" CellPadding="2" ForeColor="Black" AutoGenerateColumns="False" HorizontalAlign="Center"> <AlternatingRowStyle BackColor="white" ForeColor="black" /> <EditRowStyle BackColor="#2461BF" /> <EmptyDataRowStyle BackColor="Red" /> <FooterStyle BackColor="red" Font-Bold="True" ForeColor="White" Font-Size="20" /> <HeaderStyle BackColor="#66ccff" Font-Bold="True" ForeColor="black" Font-Size="18" /> <PagerSettings Mode="NumericFirstLast" PageButtonCount="5" /> <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> <RowStyle BackColor="white" HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="18" ForeColor="black" /> <SelectedRowStyle BackColor="#663300" Font-Bold="True" ForeColor="white" /> <SortedAscendingCellStyle BackColor="#F5F7FB" /> <SortedAscendingHeaderStyle BackColor="#6D95E1" /> <SortedDescendingCellStyle BackColor="#E9EBEF" /> <SortedDescendingHeaderStyle BackColor="#4870BE" /> <Columns> <asp:BoundField HeaderText="KPI" DataField="KPI-1" /> <asp:BoundField HeaderText="Target" DataField="T-1" /> <asp:BoundField HeaderText="Result" DataField="R-1" /> <asp:BoundField HeaderText="Achievement rate" DataField="AR-1" /> <asp:BoundField HeaderText="Achievement rate" DataField="AR-2" /> </Columns> </asp:GridView> </td> </tr> </table> <asp:SqlDataSource ID="Sql_linear" runat="server" ConnectionString="<%$ ConnectionStrings:SERKIntranetConnectionString %>"></asp:SqlDataSource> <asp:SqlDataSource ID="Sql_caption_datasource" runat="server" ConnectionString="<%$ ConnectionStrings:SERKIntranetConnectionString %>"></asp:SqlDataSource> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <%--<asp:Timer ID="Timer1" runat="server" Enabled="False"></asp:Timer>--%> </form> </body> </html>