Advertisement
Guest User

Untitled

a guest
Aug 28th, 2017
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 14.51 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="PressUPDOWN_web.Index" %>
  2.  
  3. <%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>
  4.  
  5. <!DOCTYPE html>
  6.  
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head runat="server">
  9.     <title>PRESS UPDOWN</title>  
  10.  
  11.     <style type="text/css">
  12.     .modal
  13.     {
  14.         position: fixed;
  15.         top: 0;
  16.         left: 0;
  17.         background-color: black;
  18.         z-index: 99;
  19.         opacity: 0.8;
  20.         filter: alpha(opacity=80);
  21.         -moz-opacity: 0.8;
  22.         min-height: 100%;
  23.         width: 100%;
  24.     }
  25.     .loading
  26.     {
  27.         font-family: Arial;
  28.         font-size: 20pt;
  29.         border: 8px solid dimgray;
  30.         width: 300px;
  31.         height: 200px;
  32.         display: none;
  33.         position: fixed;
  34.         background-color: #fff;
  35.         z-index: 999;
  36.     }
  37. </style>
  38.     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  39. <script type="text/javascript">
  40.     function ShowProgress() {
  41.         setTimeout(function () {
  42.             var modal = $('<div />');
  43.             modal.addClass("modal");
  44.             $('body').append(modal);
  45.             var loading = $(".loading");
  46.             loading.show();
  47.             var top = Math.max($(window).height() / 2 - loading[0].offsetHeight / 2, 0);
  48.             var left = Math.max($(window).width() / 2 - loading[0].offsetWidth / 2, 0);
  49.             loading.css({ top: top, left: left });
  50.         }, 200);
  51.     }
  52.     $('form').live("submit", function () {
  53.         ShowProgress();
  54.     });
  55. </script>
  56. </head>
  57. <body>
  58.     <form id="form1" runat="server">
  59.     <div>    
  60.       <!---  <asp:Timer id="Timer1" runat="server"
  61.   Interval="1000"
  62.   OnTick="Timer1_Tick"/>
  63.             <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>   -->
  64.          <div style="margin-left: auto; margin-right: auto; text-align: left;">
  65.              <div style="border:1px solid #808080;background-color:#f1f1f1;text-align: center;padding: 15px 0;margin-bottom: 30px;">
  66.                   <asp:Label ID="Label5" runat="server" BackColor=""  Font-Bold="true" Font-Size="X-Large" ForeColor="Black">Press</asp:Label>  
  67.                   <asp:Label ID="Label2" runat="server"  Font-Bold="true" Font-Size="X-Large" ForeColor="DimGray"> UPDOWN</asp:Label>            
  68.                  <br/>
  69.                  <asp:Label ID="l1" runat="server" ForeColor="Black">(Support: help@vmgindustry.by, maksim.kustreev@vmgindustry.by)</asp:Label>
  70.              </div>            
  71.          </div>  
  72.          <div style="margin-left: auto; margin-right: auto; text-align: left;">    
  73.         <asp:Chart ID="Chart1" runat="server" Palette="Excel" Width="1920px" Height="300px">
  74.              <Titles>        
  75.             </Titles>
  76.             <series>                
  77.             </series>
  78.             <chartareas>  
  79.                    <asp:ChartArea Name="1"  Area3DStyle-Enable3D="false">                        
  80.                         <Position Height="8" Width="100" X="0" Y="0" />
  81.                     </asp:ChartArea>  
  82.  
  83.                     <asp:ChartArea Name="2"  Area3DStyle-Enable3D="false">                          
  84.                         <Position Height="8" Width="100" X="0" Y="66" />
  85.                     </asp:ChartArea>  
  86.  
  87.                     <asp:ChartArea Name="3"  Area3DStyle-Enable3D="false">
  88.                           <Position Height="8" Width="100" X="0" Y="99" />
  89.                     </asp:ChartArea>  
  90.  
  91.                     <asp:ChartArea Name="4"  Area3DStyle-Enable3D="false">
  92.                         <Position Height="8" Width="100" X="66" Y="0" />
  93.                     </asp:ChartArea>  
  94.  
  95.                     <asp:ChartArea Name="5"  Area3DStyle-Enable3D="false">
  96.                         <Position Height="8" Width="100" X="66" Y="66" />
  97.                     </asp:ChartArea>  
  98.  
  99.                     <asp:ChartArea Name="6"  Area3DStyle-Enable3D="false">
  100.                         <Position Height="8" Width="100" X="66" Y="99" />
  101.                     </asp:ChartArea>      
  102.                
  103.                      <asp:ChartArea Name="7"  Area3DStyle-Enable3D="false">
  104.                             <Position Height="8" Width="100" X="99" Y="0" />
  105.                         </asp:ChartArea>
  106.  
  107.                      <asp:ChartArea Name="8"  Area3DStyle-Enable3D="false">
  108.                             <Position Height="8" Width="100" X="99" Y="66" />
  109.                         </asp:ChartArea>
  110.             </chartareas>
  111.             <Legends>        
  112.             </Legends>        
  113.         </asp:Chart>
  114.              <div>                
  115.              </div>            
  116.              <div style="display:flex;padding: 5px 5px;border-bottom:2px solid #808080;border-top:2px solid #808080;margin: 0 0;">      
  117.                  <div style="display:inline;">
  118.                     <div style="height: 100%;display: flex;justify-content: center;align-items: center;">
  119.                  <div style="display: flex;align-items: center;justify-content: center;">
  120.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  121.                          <p id="n1" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  122.                          <img id="im1" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  123.                          <p id="p1" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server"></p>
  124.                      </div>
  125.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  126.                          <p id="n2" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server"/>
  127.                          <img id="im2" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  128.                          <p id="p2" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  129.                      </div>
  130.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  131.                          <p  id="n3" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  132.                          <img id="im3" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  133.                          <p id="p3" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  134.                      </div>
  135.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  136.                          <p  id="n4" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  137.                          <img id="im4" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  138.                          <p id="p4" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  139.                      </div>
  140.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  141.                          <p id="n5" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  142.                          <img id="im5" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  143.                          <p id="p5" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  144.                      </div>
  145.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  146.                          <p id="n6" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  147.                          <img id="im6" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  148.                          <p id="p6" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  149.                      </div><div style="display:inline-block;padding:0 10px;text-align: center;">
  150.                          <p id="n7" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server"/>
  151.                          <img id="im7" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  152.                          <p id="p7" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server"/>
  153.                      </div><div style="display:inline-block;padding:0 10px;text-align: center;">
  154.                          <p id="n8" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  155.                          <img id="im8" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  156.                          <p id="p8" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  157.                      </div>
  158.                  </div>
  159.                  <div style="display: flex;align-items: center;justify-content: center;">
  160.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  161.                          <p id="n9" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  162.                          <img id="im9" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  163.                          <p id="p9" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  164.                      </div>
  165.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  166.                          <p id="n10" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  167.                          <img id="im10" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  168.                          <p id="p10" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  169.                      </div>
  170.                     <div style="display:inline-block;padding:0 10px;text-align: center;">
  171.                          <p id="n11" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  172.                          <img id="im11" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  173.                          <p id="p11" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  174.                      </div>
  175.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  176.                          <p id="n12" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  177.                          <img id="im12" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  178.                          <p id="p12" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  179.                      </div>
  180.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  181.                          <p id="n13" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  182.                          <img id="im13" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  183.                          <p id="p13" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  184.                      </div>
  185.                      <div style="display:inline-block;padding:0 10px;text-align: center;">
  186.                          <p id="n14" style="margin:10px 0;text-align: center;font-weight:bold;text-transform:uppercase;" runat="server" />
  187.                          <img id="im14" src="~/Resources/press.png" runat="server" style="width:100px;height:auto;"/>
  188.                          <p id="p14" style="margin:10px 0;text-align: center;font-weight:bold;" runat="server" />
  189.                      </div>
  190.                  </div>
  191.                         </div>                    
  192.                    </div>              
  193.                     <div style="display:inline;">
  194.                     <div style="height: 100%;display: flex;justify-content: center;align-items: center;">
  195.                     <asp:Calendar ID="calendar1" Width="118px" runat="server" OnSelectionChanged="calendar1_SelectionChanged" Height="16px" />                  
  196.                     <asp:Button ID="genButton" Visible="true" runat="server" Text="Выбрать дату" OnClick="genButton_Click" Width="164px" />
  197.                     </div>
  198.                     </div>
  199.                                
  200.              </div>                
  201.              <asp:Chart ID="Chart2" runat="server" Palette="Excel" Width="1920px" Height="300px">
  202.              <Titles>        
  203.             </Titles>
  204.             <series>                
  205.             </series>
  206.             <chartareas>                                      
  207.                    <asp:ChartArea Name="9"  Area3DStyle-Enable3D="false">                        
  208.                         <Position Height="8" Width="100" X="0" Y="0" />
  209.                     </asp:ChartArea>  
  210.  
  211.                     <asp:ChartArea Name="10"  Area3DStyle-Enable3D="false">                          
  212.                         <Position Height="8" Width="100" X="0" Y="6.5" />
  213.                     </asp:ChartArea>  
  214.  
  215.                     <asp:ChartArea Name="11"  Area3DStyle-Enable3D="false">
  216.                           <Position Height="8" Width="100" X="0" Y="13" />
  217.                     </asp:ChartArea>  
  218.  
  219.                     <asp:ChartArea Name="12"  Area3DStyle-Enable3D="false">
  220.                         <Position Height="8" Width="100" X="0" Y="19.5" />
  221.                     </asp:ChartArea>  
  222.  
  223.                     <asp:ChartArea Name="13"  Area3DStyle-Enable3D="false">
  224.                         <Position Height="8" Width="100" X="0" Y="26" />
  225.                     </asp:ChartArea>  
  226.  
  227.                     <asp:ChartArea Name="14"  Area3DStyle-Enable3D="false">
  228.                         <Position Height="8" Width="100" X="0" Y="32.5" />
  229.                     </asp:ChartArea>                  
  230.             </chartareas>
  231.             <Legends>        
  232.             </Legends>        
  233.         </asp:Chart>          
  234.              </div>
  235.     </div>
  236.     </form>
  237.     <div class="loading" align="center">
  238.         <br />
  239.         <br />
  240.     Загружаются данные за сутки, подождите!
  241.         <br />
  242.     <br />  
  243. </div>
  244. </body>
  245. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement