/
ivan
/
ModMas
Обзор
Документация
Войти
/
ivan
/
ModMas
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ModuleMaster/srdc/daily_plan.aspx
132 строки
5 KB
i.krivokon
Initial commit
13 мар 2026, 13:49
13 мар 2026, 13:49
00d9fb6
Код
Авторство
О чём код?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Daily_Plan.aspx.vb" Inherits="SRDC_Plan" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>SRDC outbound daily planning</title> <script src="./jquery-2.1.3.js"></script> <script src="./tableHeadFixer.js"></script> <style> body{ font-family: Tahoma; } #parent { width: 100px; height: 100px; } #schedule { width: 1800px; } table{ border: 1px solid gray; border-collapse : collapse ; background-color: gray; } table td { border: 1px solid gray; } </style> <script> $(document).ready(function() { $("#schedule").tableHeadFixer({ "head": true, "left": 1 }); }); </script> <script> function set_resolution() { document.getElementById("parent").style.height = window.screen.availHeight-10+'px'; document.getElementById("parent").style.width = window.screen.availWidth + 'px'; document.getElementById("schedule").style.width = window.screen.availWidth - 100 + 'px'; return false; } </script> </head> <body onload="set_resolution();" style="overflow: hidden;"> <form id="form1" runat="server"> <asp:Table ID="templateTable" runat="server" border="1px solid gray" Style="display: none;"> <asp:TableRow ID="templateRow" runat="server"> <asp:TableCell Text="d1_load_time" /> <asp:TableCell Text="d1_div" /> <asp:TableCell Text="d1_SO" /> <asp:TableCell Text="d1_do" /> <asp:TableCell Text="d1_sold_to_name" /> <asp:TableCell Text="d1_ship_to" /> <asp:TableCell Text="d1_arrive_time" /> <asp:TableCell Text="d1_volume" /> <asp:TableCell Text="d1_qty" /> <asp:TableCell Text="d1_amount" /> </asp:TableRow> </asp:Table> <div id="parent" > <asp:Table ID="schedule" runat="server" border="1" HorizontalAlign="Center" > <asp:TableRow TableSection="TableHeader" runat="server" ID="plan_calendar"> <asp:TableCell columnspan="1" RowSpan="2" HorizontalAlign="Center" Text="Loading Time" Font-Bold="True" /> <asp:TableCell columnspan="9" RowSpan="1" HorizontalAlign="Center" Text="Loading date: " Font-Bold="True"> <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" TextMode="Date"></asp:TextBox> </asp:TableCell> </asp:TableRow> <asp:TableRow TableSection="TableHeader"> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Division" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="SO" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="DO" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Customer" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Ship to" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Arrive Date/Time" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Volume" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Quantity" /> <asp:TableCell HorizontalAlign="center" Font-Bold="True" Text="Amount" /> </asp:TableRow> </asp:Table> </div> <%Response.Write("<style>") For Each str As String In class_array Response.Write(str) Next Response.Write("</style>") %> <!-- <asp:table id="Table1" runat="server" CellPadding="3" CellSpacing="0"> <asp:TableRow TableSection="TableHeader" BackColor="Pink"> <asp:TableCell Text="Header" /> </asp:TableRow> <asp:TableRow> <asp:TableCell Text="(0,0)"></asp:TableCell> <asp:TableCell Text="(0,1)"></asp:TableCell> <asp:TableCell Text="(0,2)"></asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell Text="(1,0)"></asp:TableCell> <asp:TableCell Text="(1,1)"></asp:TableCell> <asp:TableCell Text="(1,2)"></asp:TableCell> </asp:TableRow> <asp:TableRow TableSection="TableFooter" BackColor="Pink"> <asp:TableCell Text="Footer" ColumnSpan="3" /> </asp:TableRow> </asp:table> --> <asp:Timer ID="Timer1" runat="server" Interval="600000"> </asp:Timer> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> </form> </body> </html>