-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.aspx
More file actions
executable file
·128 lines (115 loc) · 3.71 KB
/
data.aspx
File metadata and controls
executable file
·128 lines (115 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<%@ Page Language="C#" AutoEventWireup="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>CSASPNETAJAXWebwakeup</title>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="scripts/wakeupPacket.js"></script>
<style type="text/css">
body
{
margin: 0px;
background-color: black;
}
._tlklinked
{
width: 250px;
float: left;
margin: 5px 0 5px 0;
font-size: 12px;
color: Orange;
border-bottom: 1px solid gray;
white-space: normal;
word-break: break-all;
overflow: auto;
}
._tlklinked ._talker
{
font-size: 12px;
color: Black;
}
._tlklinked ._time
{
font-size: 10px;
color: Gray;
}
._tlklinked ._msg
{
font-size: 14px;
line-height: 20px;
color: Blue;
padding-left: 5px;
}
._tlkMe
{
width: 250px;
float: left;
margin: 5px 0 5px 0;
font-size: 12px;
color: Green;
border-bottom: 1px solid gray;
white-space: normal;
word-break: break-all;
overflow: auto;
}
._tlkMe ._talker
{
font-size: 12px;
color: Black;
}
._tlkMe ._time
{
font-size: 10px;
color: Gray;
}
._tlkMe ._msg
{
font-size: 14px;
line-height: 20px;
color: Fuchsia;
padding-left: 5px;
}
</style>
<script type="text/javascript">
function pageLoad(sender, e) {
// Get the current Packet list
UpdateLocalPacket();
// Get the current client list in this wakeup network
UpdatenetworkTalkerList();
}
</script>
</head>
<body>
<form id="form1" runat="server" defaultbutton="btnSendPacket">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="~/Services/Transition.svc" />
</Services>
</asp:ScriptManager>
<div style="width: 400px; border: 1px solid black">
<table>
<tr>
<td style="width: 280px;">
<div id="txtPacketList" style="width: 280px; height: 200px; border: 0; background-color: #ffffcc;
font-size: 12px; overflow: auto;">
</div>
</td>
<td valign="top" style="width: 120px;">
<asp:ListBox ID="lstclientList" Style="height: 200px; width: 90px; border: 0;" runat="server">
</asp:ListBox>
</td>
</tr>
<tr>
<td valign="middle">
<asp:TextBox ID="txtPacket" Style="width: 280px; height: 50px;" runat="server"></asp:TextBox>
</td>
<td>
<asp:Button ID="btnSendPacket" runat="server" OnClientClick="SendPacket($get('txtPacket'));return false;"
Text="Send" Style="width: 100px; height: 45px;" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>