username@email.com
2025-05-12 ae6e40362a745caef9ead36f81f38313fb8c2c66
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
<%@ Page language="c#" AutoEventWireup="false" Inherits="Brettle.Web.NeatUpload.ProgressPage" %>
<%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload" %>
<%--
NeatUpload - an HttpModule and User Controls for uploading large files
Copyright (C) 2005  Dean Brettle
 
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
 
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
--%>
<html>
    <head>
        <title>Upload Progress</title>
        <link rel="stylesheet" type="text/css" title="default" href="default.css" />        
        <style type="text/css">
<!--
        body, form, table, tr, td {
            margin: 0px;
            border: 0px none;
            padding: 0px;
        }
 
        #progressDisplayCenterer {
            vertical-align: middle;
            width: 100%;
            height: 100%;
        }
        
        #progressDisplay {
            vertical-align: middle;
            width: 100%;
        }
        
        #barTd {
            width: 100%;
        }
        
        #statusDiv {
            border-width: 1px;
            border-style: solid;
            padding: 0px;
            position: relative;
            width: 100%;
            text-align: center;
            z-index: 1; 
        }
        
        #barDiv,#barDetailsDiv {
            border: 0px none ; 
            margin: 0px; 
            padding: 0px; 
            position: absolute; 
            top: 0pt; 
            left: 0pt; 
            z-index: -1; 
            height: 100%;
            width: 75%;
        }
-->
        </style>
    </head>
    <body>
        <form id="dummyForm" runat="server">
        <table id="progressDisplayCenterer">
        <tr>
        <td>
        <table id="progressDisplay" class="ProgressDisplay">
        <tr>
        <td>
            <span id="label" runat="server" class="Label">½ø&#160;¶È:</span>
        </td>
        <td id="barTd" >
            <div id="statusDiv" runat="server" class="StatusMessage">&#160;
                <Upload:DetailsSpan id="normalInProgress" runat="server" WhenStatus="NormalInProgress" style="font-weight: normal; white-space: nowrap;">
                    <%# FormatCount(BytesRead) %>/<%# FormatCount(BytesTotal) %> <%# CountUnits %>
                    (<%# String.Format("{0:0%}", FractionComplete) %>) ËÙ¶È <%# FormatRate(BytesPerSec) %>
                    - <%# FormatTimeSpan(TimeRemaining) %> Ê£Óàʱ¼ä
                </Upload:DetailsSpan>
                <Upload:DetailsSpan id="chunkedInProgress" runat="server" WhenStatus="ChunkedInProgress" style="font-weight: normal; white-space: nowrap;">
                    <%# FormatCount(BytesRead) %> <%# CountUnits %>
                    ËÙ¶È <%# FormatRate(BytesPerSec) %>
                    - <%# FormatTimeSpan(TimeElapsed) %> elapsed
                </Upload:DetailsSpan>
                <Upload:DetailsSpan id="completed" runat="server" WhenStatus="Completed">
                    Íê³É: <%# FormatCount(BytesRead) %> <%# CountUnits %>
                    ËÙ¶È <%# FormatRate(BytesPerSec) %>
                    Ê±¼ä <%# FormatTimeSpan(TimeElapsed) %>
                </Upload:DetailsSpan>
                <Upload:DetailsSpan id="cancelled" runat="server" WhenStatus="Cancelled">
                    È¡ÏûÉÏ´«!
                </Upload:DetailsSpan>
                <Upload:DetailsSpan id="rejected" runat="server" WhenStatus="Rejected">
                    ³¬¹ý×î´óÏÞÖÆÉÏ´«Îļþ´óС: <%# Rejection != null ? Rejection.Message : "" %>
                </Upload:DetailsSpan>
                <Upload:DetailsSpan id="error" runat="server" WhenStatus="Failed">
                    ´íÎóÌáʾ: <%# Failure != null ? Failure.Message : "" %>
                </Upload:DetailsSpan>
                <Upload:DetailsDiv id="barDetailsDiv" runat="server" UseHtml4="true"
                     Width='<%# Unit.Percentage(Math.Floor(100*FractionComplete)) %>' class="ProgressBar"></Upload:DetailsDiv>    
            </div>
        </td>
        <td>
            <asp:HyperLink id="cancel" runat="server" Visible='<%# CancelVisible %>' NavigateUrl='<%# CancelUrl %>' title="Cancel Upload" class="ImageButton" ><img id="cancelImage" runat="server" src="cancel.png" alt="È¡ÏûÉÏ´«" /></asp:HyperLink>
            <asp:HyperLink id="refresh" runat="server" Visible='<%# StartRefreshVisible %>' NavigateUrl='<%# StartRefreshUrl %>' title="Refresh" class="ImageButton" ><img id="refreshImage" runat="server" src="refresh.png" alt="Ë¢ÐÂ" /></asp:HyperLink>
            <asp:HyperLink id="stopRefresh" runat="server" Visible='<%# StopRefreshVisible %>' NavigateUrl='<%# StopRefreshUrl %>' title="Stop Refreshing" class="ImageButton"><img id="stopRefreshImage" runat="server" src="stop_refresh.png" alt="Stop Refreshing" /></asp:HyperLink>
        </td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        </form>
    </body>
</html>