提交代码
@@ -0,0 +1,46 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AuditFlowControl.ascx.cs" Inherits="FineUIPro.Web.Controls.AuditFlowControl" %>
|
||||
|
||||
<f:Panel ID="Panel1" runat="server" BodyPadding="0px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Panel ID="Panel3" Height="80px" runat="server" BodyPadding="0px" MarginTop="5px"
|
||||
ShowBorder="true" ShowHeader="false">
|
||||
<Items>
|
||||
<f:Form ID="Form3" ShowBorder="False" BodyPadding="5px" ShowHeader="False" runat="server">
|
||||
<Items>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtOpinions" runat="server" Label="我的意见" LabelAlign="Right" Height="70px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Items>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel ID="Panel5" Height="80px" runat="server" BodyPadding="0px"
|
||||
ShowBorder="true" ShowHeader="true">
|
||||
<Items>
|
||||
<f:Form ID="Form4" ShowBorder="False" BodyPadding="5px" ShowHeader="False" runat="server">
|
||||
<Items>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="rblIsAgree" runat="server" OnSelectedIndexChanged="rblIsAgree_SelectedIndexChanged"
|
||||
AutoPostBack="true" MarginLeft="5px">
|
||||
<f:RadioItem Value="True" Text="同意" Selected="true" />
|
||||
<f:RadioItem Value="False" Text="不同意" />
|
||||
</f:RadioButtonList>
|
||||
<f:DropDownList ID="drpType" runat="server" Label="办理类型" OnSelectedIndexChanged="drpType_SelectedIndexChanged"
|
||||
AutoPostBack="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpPerson" runat="server" Label="办理人员">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Items>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
|
||||
</f:Panel>
|
||||
@@ -0,0 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChartControl.ascx.cs" Inherits="FineUIPro.Web.Controls.ChartControl" %>
|
||||
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="char" %>
|
||||
<asp:Label runat="server" ID="lblTotal"></asp:Label>
|
||||
@@ -0,0 +1,358 @@
|
||||
<!-- saved from url=(0022)http://internet.e-mail -->
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
日期选择
|
||||
</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body onload="fload()" bgcolor="#CCCCCC">
|
||||
<script>
|
||||
var gdCtrl = new Object();
|
||||
var goSelectTag = new Array();
|
||||
var gcGray = "#808080";
|
||||
var gcToggle = "#C1E3CC";
|
||||
var gcToggle1 = "#FF8080";
|
||||
var gcBG = "#FFF9AE";
|
||||
var gcBG1 = "#0066CC";
|
||||
var previousObject = null;
|
||||
|
||||
|
||||
var gdCurDate = new Date();
|
||||
var giYear = gdCurDate.getFullYear();
|
||||
var giMonth = gdCurDate.getMonth() + 1;
|
||||
var giDay = gdCurDate.getDate();
|
||||
|
||||
var gCalMode = "";
|
||||
var gCalDefDate = "";
|
||||
|
||||
var CAL_MODE_NOBLANK = "2";
|
||||
|
||||
function fSetDate(iYear, iMonth, iDay) {
|
||||
//VicPopCal.style.visibility = "hidden";
|
||||
if ((iYear == 0) && (iMonth == 0) && (iDay == 0)) {
|
||||
gdCtrl.value = "";
|
||||
} else {
|
||||
iMonth = iMonth + 100 + "";
|
||||
iMonth = iMonth.substring(1);
|
||||
iDay = iDay + 100 + "";
|
||||
iDay = iDay.substring(1);
|
||||
gdCtrl.value = iYear + "-" + iMonth + "-" + iDay;
|
||||
}
|
||||
|
||||
for (i in goSelectTag)
|
||||
goSelectTag[i].style.visibility = "visible";
|
||||
goSelectTag.length = 0;
|
||||
|
||||
window.returnValue = gdCtrl.value;
|
||||
window.close();
|
||||
}
|
||||
|
||||
function HiddenDiv() {
|
||||
var i;
|
||||
VicPopCal.style.visibility = "hidden";
|
||||
for (i in goSelectTag)
|
||||
goSelectTag[i].style.visibility = "visible";
|
||||
goSelectTag.length = 0;
|
||||
|
||||
}
|
||||
function fSetSelected(aCell) {
|
||||
var iOffset = 0;
|
||||
var iYear = parseInt(tbSelYear.value);
|
||||
var iMonth = parseInt(tbSelMonth.value);
|
||||
|
||||
aCell.bgColor = gcBG;
|
||||
with (aCell.children["cellText"]) {
|
||||
var iDay = parseInt(innerText);
|
||||
if (color == gcGray)
|
||||
iOffset = (Victor < 10) ? -1 : 1;
|
||||
|
||||
/*** below temp patch by maxiang ***/
|
||||
if (color == gcGray) {
|
||||
iOffset = (iDay < 15) ? 1 : -1;
|
||||
}
|
||||
/*** above temp patch by maxiang ***/
|
||||
|
||||
iMonth += iOffset;
|
||||
if (iMonth < 1) {
|
||||
iYear--;
|
||||
iMonth = 12;
|
||||
} else if (iMonth > 12) {
|
||||
iYear++;
|
||||
iMonth = 1;
|
||||
}
|
||||
}
|
||||
fSetDate(iYear, iMonth, iDay);
|
||||
}
|
||||
|
||||
function Point(iX, iY) {
|
||||
this.x = iX;
|
||||
this.y = iY;
|
||||
}
|
||||
|
||||
function fBuildCal(iYear, iMonth) {
|
||||
|
||||
var aMonth = new Array();
|
||||
for (i = 1; i < 7; i++)
|
||||
aMonth[i] = new Array(7);
|
||||
|
||||
for (i = 1; i < 7; i++) {
|
||||
for (j = 0; j < 7; j++) {
|
||||
aMonth[i][j] = new Array(2);
|
||||
aMonth[i][j][0] = 0;
|
||||
aMonth[i][j][1] = 1;
|
||||
}
|
||||
}
|
||||
|
||||
var dCalDate = new Date(iYear, iMonth - 1, 1);
|
||||
|
||||
var iDayOfFirst = dCalDate.getDay();
|
||||
|
||||
var iDaysInMonth = new Date(iYear, iMonth, 0).getDate();
|
||||
|
||||
var iOffsetLast = new Date(iYear, iMonth - 1, 0).getDate() - iDayOfFirst + 1;
|
||||
|
||||
var iDate = 1;
|
||||
var iNext = 1;
|
||||
|
||||
for (d = 0; d < 7; d++) {
|
||||
aMonth[1][d][0] = (d < iDayOfFirst) ? -(iOffsetLast + d) : iDate++;
|
||||
if (isToday(iYear, iMonth, iDate - 1)) {
|
||||
aMonth[1][d][1] = 0;
|
||||
|
||||
}
|
||||
}
|
||||
for (w = 2; w < 7; w++) {
|
||||
for (d = 0; d < 7; d++) {
|
||||
aMonth[w][d][0] = (iDate <= iDaysInMonth) ? iDate++ : -(iNext++);
|
||||
|
||||
if (isToday(iYear, iMonth, iDate - 1)) {
|
||||
aMonth[w][d][1] = 0;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
return aMonth;
|
||||
}
|
||||
|
||||
function isToday(iYear, iMonth, iDate) {
|
||||
var gdCurDate1 = new Date();
|
||||
var giYear1 = gdCurDate.getFullYear();
|
||||
var giMonth1 = gdCurDate.getMonth() + 1;
|
||||
var giDay1 = gdCurDate.getDate();
|
||||
if (iYear == giYear1 && iMonth == giMonth1 && giDay1 == iDate) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function fDrawCal(iYear, iMonth, iCellHeight, sDateTextSize) {
|
||||
var WeekDay = new Array("日", "一", "二", "三", "四", "五", "六");
|
||||
var styleTD = " bgcolor='" + gcBG + "' bordercolor='" + gcBG + "' valign='middle' align='center' height='" + iCellHeight + "' style='font-size:12px; ";
|
||||
with (document) {
|
||||
write("<tr>");
|
||||
write("<td colspan=7 align=center><font color=#ff3333 size=2> 日 </font><font size=2 color=#000000>一 二 三 四 五 </font><font size=2 color=#ff3333> 六 </font></td>");
|
||||
write("</tr>");
|
||||
|
||||
for (w = 1; w < 7; w++) {
|
||||
write("<tr>");
|
||||
for (d = 0; d < 7; d++) {
|
||||
|
||||
write("<td " + styleTD + "cursor:hand;' onMouseOver='this.bgColor=gcToggle' onMouseOut='this.bgColor=gcBG' onclick='fSetSelected(this)' id=cellTd>");
|
||||
write("<font id=cellText ></font>");
|
||||
write("</td>")
|
||||
}
|
||||
write("</tr>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function fUpdateCal(iYear, iMonth) {
|
||||
myMonth = fBuildCal(iYear, iMonth);
|
||||
var i = 0;
|
||||
for (w = 0; w < 6; w++) {
|
||||
for (d = 0; d < 7; d++) {
|
||||
with (cellText[(7 * w) + d]) {
|
||||
Victor = i++;
|
||||
if (myMonth[w + 1][d][0] < 0) {
|
||||
color = gcGray;
|
||||
innerText = -myMonth[w + 1][d][0];
|
||||
} else {
|
||||
if (d == 0) {
|
||||
color = "#996633";
|
||||
} else if (d == 6) {
|
||||
color = "#996633";
|
||||
} else {
|
||||
color = "#996633";
|
||||
}
|
||||
// End of above maxiang
|
||||
innerText = myMonth[w + 1][d][0];
|
||||
}
|
||||
if (myMonth[w + 1][d][1] == 0 && myMonth[w + 1][d][0] > 0) {
|
||||
color = "red";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
function fSetYearMon(iYear, iMon) {
|
||||
tbSelMonth.options[iMon - 1].selected = true;
|
||||
for (i = 0; i < tbSelYear.length; i++)
|
||||
if (tbSelYear.options[i].value == iYear)
|
||||
tbSelYear.options[i].selected = true;
|
||||
fUpdateCal(iYear, iMon);
|
||||
}
|
||||
|
||||
function fPrevMonth() {
|
||||
var iMon = tbSelMonth.value;
|
||||
var iYear = tbSelYear.value;
|
||||
if (iMon == 1 && iYear == 1990) {
|
||||
return;
|
||||
}
|
||||
if (--iMon < 1) {
|
||||
iMon = 12;
|
||||
iYear--;
|
||||
}
|
||||
|
||||
fSetYearMon(iYear, iMon);
|
||||
}
|
||||
|
||||
function fNextMonth() {
|
||||
var iMon = tbSelMonth.value;
|
||||
var iYear = tbSelYear.value;
|
||||
if (iMon == 12 && iYear == 2049) {
|
||||
return;
|
||||
}
|
||||
if (++iMon > 12) {
|
||||
iMon = 1;
|
||||
iYear++;
|
||||
}
|
||||
|
||||
fSetYearMon(iYear, iMon);
|
||||
}
|
||||
|
||||
function fToggleTags() {
|
||||
with (document.all.tags("SELECT")) {
|
||||
for (i = 0; i < length; i++)
|
||||
if ((item(i).Victor != "Won") && fTagInBound(item(i))) {
|
||||
item(i).style.visibility = "hidden";
|
||||
goSelectTag[goSelectTag.length] = item(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function fTagInBound(aTag) {
|
||||
with (VicPopCal.style) {
|
||||
var l = parseInt(left);
|
||||
var t = parseInt(top);
|
||||
var r = l + parseInt(width);
|
||||
var b = t + parseInt(height);
|
||||
var ptLT = fGetXY(aTag);
|
||||
return !((ptLT.x > r) || (ptLT.x + aTag.offsetWidth < l) || (ptLT.y > b) || (ptLT.y + aTag.offsetHeight < t));
|
||||
}
|
||||
}
|
||||
|
||||
function fGetXY(aTag) {
|
||||
var oTmp = aTag;
|
||||
var pt = new Point(0, 0);
|
||||
do {
|
||||
pt.x += oTmp.offsetLeft;
|
||||
pt.y += oTmp.offsetTop;
|
||||
oTmp = oTmp.offsetParent;
|
||||
} while (oTmp.tagName != "BODY");
|
||||
return pt;
|
||||
}
|
||||
|
||||
|
||||
function fPopCalendar(popCtrl, dateCtrl, mode, defDate) {
|
||||
|
||||
gCalMode = mode;
|
||||
gCalDefDate = defDate;
|
||||
|
||||
if (popCtrl == previousObject) {
|
||||
if (VicPopCal.style.visibility == "visible") {
|
||||
//HiddenDiv();
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
previousObject = popCtrl;
|
||||
gdCtrl = dateCtrl;
|
||||
fSetYearMon(giYear, giMonth);
|
||||
var point = fGetXY(popCtrl);
|
||||
|
||||
if (gCalMode == CAL_MODE_NOBLANK) {
|
||||
document.all.CAL_B_BLANK.style.visibility = "hidden";
|
||||
} else {
|
||||
document.all.CAL_B_BLANK.style.visibility = "visible";
|
||||
}
|
||||
|
||||
with (VicPopCal.style) {
|
||||
left = point.x;
|
||||
top = point.y + popCtrl.offsetHeight;
|
||||
width = VicPopCal.offsetWidth;
|
||||
height = VicPopCal.offsetHeight;
|
||||
fToggleTags(point);
|
||||
visibility = 'visible';
|
||||
}
|
||||
}
|
||||
|
||||
var gMonths = new Array("1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月");
|
||||
|
||||
with (document) {
|
||||
write("<Div id='VicPopCal' style='OVERFLOW:hidden;POSITION:absolute;VISIBILITY:hidden;border:0px ridge;width:100%;height:100%;top:0;left:5px;z-index:100;overflow:hidden'>");
|
||||
write("<table border='0'>");
|
||||
write("<TR>");
|
||||
write("<td valign='middle' align='center'><input type='button' name='PrevMonth' value='<' style='height:20;width:20;FONT:bold;background-color:#83B899;color:#ffffff' onClick='fPrevMonth()'>");
|
||||
write(" <SELECT name='tbSelYear' onChange='fUpdateCal(tbSelYear.value, tbSelMonth.value)' Victor='Won'>");
|
||||
for (i = 1990; i < 2050; i++)
|
||||
write("<OPTION value='" + i + "'>" + i + "年</OPTION>");
|
||||
write("</SELECT>");
|
||||
write(" <select name='tbSelMonth' onChange='fUpdateCal(tbSelYear.value, tbSelMonth.value)' Victor='Won'>");
|
||||
for (i = 0; i < 12; i++)
|
||||
write("<option value='" + (i + 1) + "'>" + gMonths[i] + "</option>");
|
||||
write("</SELECT>");
|
||||
write(" <input type='button' name='PrevMonth' value='>' style='height:20;width:20;FONT:bold;background-color:#83B899;color:#ffffff' onclick='fNextMonth()'>");
|
||||
write("</td>");
|
||||
write("</TR><TR>");
|
||||
write("<td align='center'>");
|
||||
write("<DIV style='background-color:#83B899'><table width='100%'border='0'>");
|
||||
fDrawCal(giYear, giMonth, 20, '50');
|
||||
write("</table></DIV>");
|
||||
write("</td>");
|
||||
write("</TR><TR><TD align='center'>");
|
||||
write("<TABLE width='100%'><TR><TD align='center' width=50%>");
|
||||
write("<B ID=\"CAL_B_BLANK\" style='color:" + gcBG1 + "; visibility:visible; cursor:hand; font-size:12px' onclick='fSetDate(0,0,0)' onMouseOver='this.style.color=gcToggle1' onMouseOut='this.style.color=gcBG1'>[清空]</B>");
|
||||
write("</td><td algin='center' width=50%>");
|
||||
write("<B style='color:" + gcBG1 + ";cursor:hand; font-size:12px' onclick='fSetDate(giYear,giMonth,giDay)' onMouseOver='this.style.color=gcToggle1' onMouseOut='this.style.color=gcBG1'>[" + giYear + "-" + giMonth + "-" + giDay + "]</B>");
|
||||
write("</td></tr></table>");
|
||||
write("</TD></TR>");
|
||||
write("</TABLE></Div>");
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function fload() {
|
||||
fPopCalendar(document.getElementById("txt1"), document.getElementById("txt1"));
|
||||
}
|
||||
|
||||
function fkeydown()
|
||||
{
|
||||
if(event.keyCode==27){
|
||||
event.returnValue = null;
|
||||
window.returnValue = null;
|
||||
window.close();
|
||||
}
|
||||
}
|
||||
|
||||
document.onkeydown=fkeydown;
|
||||
</script>
|
||||
|
||||
<input type=text id="txt1" runat="server" style="display:none">
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ClientJs.ascx.cs" Inherits="Web.Controls.ClientJs.ClientJs" %>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
function fPopUpCalendarDlg(ctrlobj) //日期速查
|
||||
{
|
||||
showx = event.screenX - event.offsetX - 4 ; // + deltaX;
|
||||
showy = event.screenY - event.offsetY + 18; // + deltaY;
|
||||
newWINwidth = 210 + 4 + 18;
|
||||
retval = window.showModalDialog("../Controls/ClientJs/CalendarDlg.htm", "", "dialogWidth:190px; dialogHeight:210px; dialogLeft:" + showx + "px; dialogTop:" + showy + "px; status:no; directories:yes;help:no;scrollbars:no;Resizable=no; ");
|
||||
if( retval != null ){
|
||||
ctrlobj.value = retval;
|
||||
}else{
|
||||
//alert("canceled");
|
||||
}
|
||||
ctrlobj.blur();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="GridNavgator.ascx.cs" Inherits="Web.Controls.GridNavgator" %>
|
||||
<table style="FONT-SIZE:9pt" id="Table1" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td style="WIDTH: 11px" align="left"></td>
|
||||
<td style="WIDTH: 95px" align="left">页次:<asp:Label id="Label2" runat="server" Font-Bold="True">1</asp:Label>/<asp:Label id="Label3" runat="server" Font-Bold="True">1</asp:Label><asp:Label ID=ye runat='server'></asp:Label></td>
|
||||
<td style="WIDTH: 45px"><asp:LinkButton id="LinkButton1" CommandName="Page" CommandArgument="First" runat="server">首页</asp:LinkButton></td>
|
||||
<td style="WIDTH: 50px"><asp:LinkButton CssClass="GridNavaLink" id="LinkButton2" CommandName="Page" CommandArgument="Prev" runat="server">上一页</asp:LinkButton></td>
|
||||
<td style="WIDTH: 50px"><asp:LinkButton CssClass="GridNavaLink" id="LinkButton3" CommandName="Page" CommandArgument="Next" runat="server">下一页</asp:LinkButton></td>
|
||||
<td style="WIDTH: 45px"><asp:LinkButton CssClass="GridNavaLink" id="LinkButton4" CommandName="Page" CommandArgument="Last" runat="server">尾页</asp:LinkButton></td>
|
||||
<td style="WIDTH: 85px" id="pagelines" runat="server"><strong><asp:Label id="Label1" Font-Bold="True" runat="server">1</asp:Label></strong>条信息/页</td>
|
||||
<td style="WIDTH: 55px" align="right"><asp:Label ID="GOTO" runat="server">转到:</asp:Label></td>
|
||||
<td style="WIDTH: 20px" align="left"><asp:TextBox id="TextBox1" runat="server" Width="30px"></asp:TextBox></td>
|
||||
<td style="WIDTH: 20px" align="left"><asp:Label ID="ye2" runat="server">页</asp:Label></td>
|
||||
<td style="WIDTH: 15px"><asp:Button id="Button1" CommandName="Page" CommandArgument="1" runat="server"
|
||||
Text="Go" onclick="Button1_Click"></asp:Button></td>
|
||||
<%--<td style="width:40%"></td> --%>
|
||||
</tr>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
function SetNavigate() {
|
||||
var gv=<%=GridView.ClientID %>;
|
||||
var ye=<%=ye.ClientID %>;
|
||||
var ye2=<%=ye2.ClientID %>;
|
||||
var firstpage=<%=LinkButton1.ClientID %>;
|
||||
var prevpage=<%=LinkButton2.ClientID %>;
|
||||
var nextpage=<%=LinkButton3.ClientID %>;
|
||||
var lastpage=<%=LinkButton4.ClientID %>;
|
||||
var inputye=document.all.<%=TextBox1.ClientID %>;
|
||||
var pagelines =document.all.<%=pagelines.ClientID %>;
|
||||
var GOTO =document.all.<%=GOTO.ClientID %>;
|
||||
|
||||
// if (document.documentElement.offsetWidth<500)
|
||||
// {
|
||||
// ye.style.display='none';
|
||||
// ye2.style.display=ye.style.display;
|
||||
// firstpage.style.display=ye.style.display;
|
||||
// lastpage.style.display=ye.style.display;
|
||||
// pagelines.style.display=ye.style.display;
|
||||
// prevpage.innerText='上页';
|
||||
// nextpage.innerText='下页';
|
||||
// inputye.style.width='12px';
|
||||
// GOTO.innerText='到:';
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// ye.style.display='block';
|
||||
// ye2.style.display=ye.style.display;
|
||||
// firstpage.style.display=ye.style.display;
|
||||
// lastpage.style.display=ye.style.display;
|
||||
// pagelines.style.display=ye.style.display;
|
||||
// prevpage.innerText='上一页';
|
||||
// nextpage.innerText='下一页';
|
||||
// inputye.style.width='30px';
|
||||
// GOTO.innerText='转到:';
|
||||
// }
|
||||
}
|
||||
</script>
|
||||
<script for="window" event="onload" type="text/javascript">
|
||||
SetNavigate();
|
||||
</script>
|
||||
@@ -0,0 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChartControl.ascx.cs" Inherits="FineUIPro.Web.UserControls.ChartControl" %>
|
||||
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="char" %>
|
||||
<f:Label ID="lblTotal" runat="server"></f:Label>
|
||||
@@ -0,0 +1,49 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
|
||||
<title>My97DatePicker</title>
|
||||
<script type="text/javascript" src="config.js"></script>
|
||||
<script>
|
||||
if(parent==window)
|
||||
location.href = 'http://www.my97.net';
|
||||
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
|
||||
if ($pdp.eCont) {
|
||||
$dp = {};
|
||||
for (var p in $pdp) {
|
||||
$dp[p] = $pdp[p];
|
||||
}
|
||||
}
|
||||
else
|
||||
$dp = $pdp;
|
||||
|
||||
$dp.getLangIndex = function(name){
|
||||
var arr = langList;
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (arr[i].name == name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
$dp.getLang = function(name){
|
||||
var index = $dp.getLangIndex(name);
|
||||
if (index == -1) {
|
||||
index = 0;
|
||||
}
|
||||
return langList[index];
|
||||
}
|
||||
|
||||
$dp.realLang = $dp.getLang($dp.lang);
|
||||
document.write("<script src='lang/" + $dp.realLang.name + ".js' charset='" + $dp.realLang.charset + "'><\/script>");
|
||||
|
||||
for (var i = 0; i < skinList.length; i++) {
|
||||
document.write('<link rel="stylesheet" type="text/css" href="skin/' + skinList[i].name + '/datepicker.css" title="' + skinList[i].name + '" charset="' + skinList[i].charset + '" disabled="true"/>');
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="calendar.js"></script>
|
||||
</head>
|
||||
<body leftmargin="0" topmargin="0" onload="$c.autoSize()" tabindex=0>
|
||||
</body>
|
||||
</html>
|
||||
<script>new My97DP();</script>
|
||||
@@ -0,0 +1,12 @@
|
||||
var langList =
|
||||
[
|
||||
{name:'en', charset:'UTF-8'},
|
||||
{name:'zh-cn', charset:'UTF-8'},
|
||||
{name:'zh-tw', charset:'UTF-8'}
|
||||
];
|
||||
|
||||
var skinList =
|
||||
[
|
||||
{name:'default', charset:'UTF-8'},
|
||||
{name:'whyGreen', charset:'UTF-8'}
|
||||
];
|
||||
@@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "Invalid date or the date out of range,redo or not?",
|
||||
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
|
||||
clearStr: "Clear",
|
||||
todayStr: "Today",
|
||||
okStr: "OK",
|
||||
updateStr: "OK",
|
||||
timeStr: "Time",
|
||||
quickStr: "Quick Selection",
|
||||
err_1: 'MinDate Cannot be bigger than MaxDate!'
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?",
|
||||
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
|
||||
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
|
||||
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
|
||||
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
|
||||
clearStr: "\u6E05\u7A7A",
|
||||
todayStr: "\u4ECA\u5929",
|
||||
okStr: "\u786E\u5B9A",
|
||||
updateStr: "\u786E\u5B9A",
|
||||
timeStr: "\u65F6\u95F4",
|
||||
quickStr: "\u5FEB\u901F\u9009\u62E9",
|
||||
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!'
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?",
|
||||
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
|
||||
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
|
||||
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
|
||||
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
|
||||
clearStr: "\u6E05\u7A7A",
|
||||
todayStr: "\u4ECA\u5929",
|
||||
okStr: "\u78BA\u5B9A",
|
||||
updateStr: "\u78BA\u5B9A",
|
||||
timeStr: "\u6642\u9593",
|
||||
quickStr: "\u5FEB\u901F\u9078\u64C7",
|
||||
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!'
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
.Wdate{
|
||||
border:#999 1px solid;
|
||||
height:20px;
|
||||
background:#fff url(datePicker.gif) no-repeat right;
|
||||
}
|
||||
|
||||
.WdateFmtErr{
|
||||
font-weight:bold;
|
||||
color:red;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,246 @@
|
||||
/*
|
||||
* My97 DatePicker 4.7
|
||||
*/
|
||||
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#FFFFFF;
|
||||
border:#bbb 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
.WdateDiv .NavImg a{
|
||||
display:block;
|
||||
cursor:pointer;
|
||||
height:16px;
|
||||
width:16px;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgll a{
|
||||
float:left;
|
||||
background:transparent url(img.gif) no-repeat scroll 0 0;
|
||||
}
|
||||
.WdateDiv .NavImgl a{
|
||||
float:left;
|
||||
background:transparent url(img.gif) no-repeat scroll -16px 0;
|
||||
}
|
||||
.WdateDiv .NavImgr a{
|
||||
float:right;
|
||||
background:transparent url(img.gif) no-repeat scroll -32px 0;
|
||||
}
|
||||
.WdateDiv .NavImgrr a{
|
||||
float:right;
|
||||
background:transparent url(img.gif) no-repeat scroll -48px 0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
margin-bottom:2px;
|
||||
padding:1px;
|
||||
}
|
||||
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
height:20px;
|
||||
border:0px;
|
||||
width:50px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
height:20px;
|
||||
color:blue;
|
||||
border:#ccc 1px solid;
|
||||
width:50px;
|
||||
}
|
||||
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#ccc 1px solid;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
|
||||
}
|
||||
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv .MTitle{
|
||||
background-color:#BDEBEE;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#c5d9e8 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
border:#c5d9e8 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#FF2F2F;
|
||||
}
|
||||
|
||||
.WdateDiv .WwdayOn{
|
||||
cursor:pointer;
|
||||
color:#000;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
.WdateDiv .Wtoday{
|
||||
cursor:pointer;
|
||||
color:blue;
|
||||
}
|
||||
.WdateDiv .Wselday{
|
||||
background-color:#A9E4E9;
|
||||
}
|
||||
.WdateDiv .WspecialDay{
|
||||
background-color:#66F4DF;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDay{
|
||||
cursor:pointer;
|
||||
color:#6A6AFF;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime input{
|
||||
width:18px;
|
||||
height:20px;
|
||||
text-align:center;
|
||||
border:#ccc 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeDown{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -48px -16px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpQS {
|
||||
float:left;
|
||||
margin-right:3px;
|
||||
margin-top:3px;
|
||||
background:url(img.gif) no-repeat 0px -16px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.WdateDiv #dpControl {
|
||||
text-align:right;
|
||||
}
|
||||
.WdateDiv .dpButton{
|
||||
height:20px;
|
||||
width:45px;
|
||||
border:#ccc 1px solid;
|
||||
margin-top:2px;
|
||||
margin-right:1px;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 307 B |
@@ -0,0 +1,256 @@
|
||||
/*
|
||||
* My97 DatePicker 4.7 Skin:whyGreen
|
||||
*/
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#fff;
|
||||
border:#C5E1E4 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
.WdateDiv .NavImg a{
|
||||
cursor:pointer;
|
||||
display:block;
|
||||
width:16px;
|
||||
height:16px;
|
||||
margin-top:1px;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgll a{
|
||||
float:left;
|
||||
background:url(img.gif) no-repeat;
|
||||
}
|
||||
.WdateDiv .NavImgl a{
|
||||
float:left;
|
||||
background:url(img.gif) no-repeat -16px 0px;
|
||||
}
|
||||
.WdateDiv .NavImgr a{
|
||||
float:right;
|
||||
background:url(img.gif) no-repeat -32px 0px;
|
||||
}
|
||||
.WdateDiv .NavImgrr a{
|
||||
float:right;
|
||||
background:url(img.gif) no-repeat -48px 0px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
padding:1px;
|
||||
border:#c5d9e8 1px solid;
|
||||
background:url(bg.jpg);
|
||||
margin-bottom:2px;
|
||||
}
|
||||
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:0px;
|
||||
height:20px;
|
||||
width:50px;
|
||||
color:#034c50;
|
||||
background-color:transparent;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:#939393 1px solid;
|
||||
font-weight:bold;
|
||||
color:#034c50;
|
||||
height:20px;
|
||||
width:50px;
|
||||
}
|
||||
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#A3C6C8 1px solid;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
color:#11777C;
|
||||
}
|
||||
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
}
|
||||
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv .MTitle{
|
||||
color:#13777e;
|
||||
background-color:#bdebee;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
color:#13777e;
|
||||
background-color:#edfbfb;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9 ;
|
||||
}
|
||||
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#ab1e1e;
|
||||
}
|
||||
|
||||
.WdateDiv .WwdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9;
|
||||
}
|
||||
.WdateDiv .Wtoday{
|
||||
cursor:pointer;
|
||||
color:blue;
|
||||
}
|
||||
.WdateDiv .Wselday{
|
||||
background-color:#A7E2E7;
|
||||
}
|
||||
.WdateDiv .WspecialDay{
|
||||
background-color:#66F4DF;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDay{
|
||||
cursor:pointer;
|
||||
color:#0099CC;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
color:#497F7F;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime input{
|
||||
height:20px;
|
||||
width:18px;
|
||||
text-align:center;
|
||||
color:#333;
|
||||
border:#61CAD0 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeDown{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -48px -16px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpQS {
|
||||
float:left;
|
||||
margin-right:3px;
|
||||
margin-top:3px;
|
||||
background:url(img.gif) no-repeat 0px -16px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.WdateDiv #dpControl {
|
||||
text-align:right;
|
||||
margin-top:3px;
|
||||
}
|
||||
.WdateDiv .dpButton{
|
||||
height:20px;
|
||||
width:45px;
|
||||
margin-top:2px;
|
||||
border:#38B1B9 1px solid;
|
||||
background-color:#CFEBEE;
|
||||
color:#08575B;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "Invalid date or the date out of range,redo or not?",
|
||||
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
|
||||
clearStr: "Clear",
|
||||
todayStr: "Today",
|
||||
okStr: "OK",
|
||||
updateStr: "OK",
|
||||
timeStr: "Time",
|
||||
quickStr: "Quick Selection",
|
||||
err_1: 'MinDate Cannot be bigger than MaxDate!'
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "不合法的日期格式或者日期超出限定范围,需要撤销吗?",
|
||||
aWeekStr: ["周","日","一","二","三","四","五","六"],
|
||||
aLongWeekStr:["周","星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
|
||||
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
|
||||
aLongMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
|
||||
clearStr: "清空",
|
||||
todayStr: "今天",
|
||||
okStr: "确定",
|
||||
updateStr: "确定",
|
||||
timeStr: "时间",
|
||||
quickStr: "快速选择",
|
||||
err_1: '最小日期不能大于最大日期!'
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "不合法的日期格式或者日期超出限定範圍,需要撤銷嗎?",
|
||||
aWeekStr: ["周","日","一","二","三","四","五","六"],
|
||||
aLongWeekStr:["周","星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
|
||||
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
|
||||
aLongMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
|
||||
clearStr: "清空",
|
||||
todayStr: "今天",
|
||||
okStr: "確定",
|
||||
updateStr: "確定",
|
||||
timeStr: "時間",
|
||||
quickStr: "快速選擇",
|
||||
err_1: '最小日期不能大於最大日期!'
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
.Wdate{
|
||||
border:#999 1px solid;
|
||||
height:20px;
|
||||
background:#fff url(datePicker.gif) no-repeat right;
|
||||
}
|
||||
|
||||
.WdateFmtErr{
|
||||
font-weight:bold;
|
||||
color:red;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,267 @@
|
||||
/*
|
||||
* My97 DatePicker 4.7
|
||||
* 皮肤名称:default
|
||||
*/
|
||||
|
||||
/* 日期选择容器 DIV */
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#FFFFFF;
|
||||
border:#bbb 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
/* 双月日历的宽度 */
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
/****************************
|
||||
* 导航图标 全部是A标签
|
||||
***************************/
|
||||
.WdateDiv .NavImg a{
|
||||
display:block;
|
||||
cursor:pointer;
|
||||
height:16px;
|
||||
width:16px;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgll a{
|
||||
float:left;
|
||||
background:transparent url(img.gif) no-repeat scroll 0 0;
|
||||
}
|
||||
.WdateDiv .NavImgl a{
|
||||
float:left;
|
||||
background:transparent url(img.gif) no-repeat scroll -16px 0;
|
||||
}
|
||||
.WdateDiv .NavImgr a{
|
||||
float:right;
|
||||
background:transparent url(img.gif) no-repeat scroll -32px 0;
|
||||
}
|
||||
.WdateDiv .NavImgrr a{
|
||||
float:right;
|
||||
background:transparent url(img.gif) no-repeat scroll -48px 0;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 年份月份相关
|
||||
***************************/
|
||||
/* 年份月份栏 DIV */
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
margin-bottom:2px;
|
||||
padding:1px;
|
||||
}
|
||||
/* 年份月份输入框 INPUT */
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
height:20px;
|
||||
border:0px;
|
||||
width:50px;
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 年份月份输入框获得焦点时的样式 INPUT */
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
height:20px;
|
||||
color:blue;
|
||||
border:#ccc 1px solid;
|
||||
width:50px;
|
||||
}
|
||||
/* 菜单选择框 DIV */
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#ccc 1px solid;
|
||||
display:none;
|
||||
}
|
||||
/* 菜单的样式 TD */
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
}
|
||||
/* 菜单的mouseover样式 TD */
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
/* 菜单无效时的样式 TD */
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
/* 年选择框的偏移 DIV */
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
|
||||
}
|
||||
/* 月选择框的偏移 DIV */
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
/* 时选择框的位置 DIV */
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 分选择框的位置 DIV */
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 秒选择框的位置 DIV */
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 周相关
|
||||
***************************/
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
/****************************
|
||||
* 星期,日期相关
|
||||
***************************/
|
||||
/* 星期栏 TR */
|
||||
.WdateDiv .MTitle{
|
||||
background-color:#BDEBEE;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#c5d9e8 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
/* 日期栏表格 TABLE */
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
border:#c5d9e8 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
/* 日期格的样式 TD */
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 日期格的mouseover样式 TD */
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
/* 周末日期格的样式 TD */
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#FF2F2F;
|
||||
}
|
||||
/* 周末日期格的mouseover样式 TD */
|
||||
.WdateDiv .WwdayOn{
|
||||
cursor:pointer;
|
||||
color:#000;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
.WdateDiv .Wtoday{
|
||||
cursor:pointer;
|
||||
color:blue;
|
||||
}
|
||||
.WdateDiv .Wselday{
|
||||
background-color:#A9E4E9;
|
||||
}
|
||||
.WdateDiv .WspecialDay{
|
||||
background-color:#66F4DF;
|
||||
}
|
||||
/* 其他月份的日期 */
|
||||
.WdateDiv .WotherDay{
|
||||
cursor:pointer;
|
||||
color:#6A6AFF;
|
||||
}
|
||||
/* 其他月份的日期mouseover样式 */
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
/* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 时间相关
|
||||
***************************/
|
||||
/* 时间栏 DIV */
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
/* 时间文字 SPAN */
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
}
|
||||
/* 时间输入框 INPUT */
|
||||
.WdateDiv #dpTime input{
|
||||
width:18px;
|
||||
height:20px;
|
||||
text-align:center;
|
||||
border:#ccc 1px solid;
|
||||
}
|
||||
/* 时间 时 INPUT */
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
/* 时间 分和间隔符 ':' INPUT */
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间 秒 INPUT */
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间右边的向上按钮 BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
/* 时间右边的向下按钮 BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeDown{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -48px -16px;
|
||||
}
|
||||
/****************************
|
||||
* 其他
|
||||
***************************/
|
||||
.WdateDiv #dpQS {
|
||||
float:left;
|
||||
margin-right:3px;
|
||||
margin-top:3px;
|
||||
background:url(img.gif) no-repeat 0px -16px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.WdateDiv #dpControl {
|
||||
text-align:right;
|
||||
}
|
||||
.WdateDiv .dpButton{
|
||||
height:20px;
|
||||
width:45px;
|
||||
border:#ccc 1px solid;
|
||||
margin-top:2px;
|
||||
margin-right:1px;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 307 B |
@@ -0,0 +1,277 @@
|
||||
/*
|
||||
* My97 DatePicker 4.7
|
||||
* 皮肤名称:whyGreen
|
||||
*/
|
||||
|
||||
/* 日期选择容器 DIV */
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#fff;
|
||||
border:#C5E1E4 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
/* 双月日历的宽度 */
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
/****************************
|
||||
* 导航图标 全部是A标签
|
||||
***************************/
|
||||
.WdateDiv .NavImg a{
|
||||
cursor:pointer;
|
||||
display:block;
|
||||
width:16px;
|
||||
height:16px;
|
||||
margin-top:1px;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgll a{
|
||||
float:left;
|
||||
background:url(img.gif) no-repeat;
|
||||
}
|
||||
.WdateDiv .NavImgl a{
|
||||
float:left;
|
||||
background:url(img.gif) no-repeat -16px 0px;
|
||||
}
|
||||
.WdateDiv .NavImgr a{
|
||||
float:right;
|
||||
background:url(img.gif) no-repeat -32px 0px;
|
||||
}
|
||||
.WdateDiv .NavImgrr a{
|
||||
float:right;
|
||||
background:url(img.gif) no-repeat -48px 0px;
|
||||
}
|
||||
/****************************
|
||||
* 年份月份相关
|
||||
***************************/
|
||||
/* 年份月份栏 DIV */
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
padding:1px;
|
||||
border:#c5d9e8 1px solid;
|
||||
background:url(bg.jpg);
|
||||
margin-bottom:2px;
|
||||
}
|
||||
/* 年份月份输入框 INPUT */
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:0px;
|
||||
height:20px;
|
||||
width:50px;
|
||||
color:#034c50;
|
||||
background-color:transparent;
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 年份月份输入框获得焦点时的样式 INPUT */
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:#939393 1px solid;
|
||||
font-weight:bold;
|
||||
color:#034c50;
|
||||
height:20px;
|
||||
width:50px;
|
||||
}
|
||||
/* 菜单选择框 DIV */
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#A3C6C8 1px solid;
|
||||
display:none;
|
||||
}
|
||||
/* 菜单的样式 TD */
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
color:#11777C;
|
||||
}
|
||||
/* 菜单的mouseover样式 TD */
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
/* 菜单无效时的样式 TD */
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
/* 年选择框的偏移 DIV */
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
}
|
||||
/* 月选择框的偏移 DIV */
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
/* 时选择框的位置 DIV */
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 分选择框的位置 DIV */
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 秒选择框的位置 DIV */
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 周相关
|
||||
***************************/
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
/****************************
|
||||
* 星期,日期相关
|
||||
***************************/
|
||||
/* 星期栏 TR */
|
||||
.WdateDiv .MTitle{
|
||||
color:#13777e;
|
||||
background-color:#bdebee;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
/* 日期栏表格 TABLE */
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
color:#13777e;
|
||||
background-color:#edfbfb;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
/* 日期格的样式 TD */
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 日期格的mouseover样式 TD */
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9 ;
|
||||
}
|
||||
/* 周末日期格的样式 TD */
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#ab1e1e;
|
||||
}
|
||||
/* 周末日期格的mouseover样式 TD */
|
||||
.WdateDiv .WwdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9;
|
||||
}
|
||||
.WdateDiv .Wtoday{
|
||||
cursor:pointer;
|
||||
color:blue;
|
||||
}
|
||||
.WdateDiv .Wselday{
|
||||
background-color:#A7E2E7;
|
||||
}
|
||||
.WdateDiv .WspecialDay{
|
||||
background-color:#66F4DF;
|
||||
}
|
||||
/* 其他月份的日期 */
|
||||
.WdateDiv .WotherDay{
|
||||
cursor:pointer;
|
||||
color:#0099CC;
|
||||
}
|
||||
/* 其他月份的日期mouseover样式 */
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
/* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 时间相关
|
||||
***************************/
|
||||
/* 时间栏 DIV */
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
/* 时间文字 SPAN */
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
color:#497F7F;
|
||||
}
|
||||
/* 时间输入框 INPUT */
|
||||
.WdateDiv #dpTime input{
|
||||
height:20px;
|
||||
width:18px;
|
||||
text-align:center;
|
||||
color:#333;
|
||||
border:#61CAD0 1px solid;
|
||||
}
|
||||
/* 时间 时 INPUT */
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
/* 时间 分和间隔符 ':' INPUT */
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间 秒 INPUT */
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间右边的向上按钮 BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
/* 时间右边的向下按钮 BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeDown{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -48px -16px;
|
||||
}
|
||||
/****************************
|
||||
* 其他
|
||||
***************************/
|
||||
.WdateDiv #dpQS {
|
||||
float:left;
|
||||
margin-right:3px;
|
||||
margin-top:3px;
|
||||
background:url(img.gif) no-repeat 0px -16px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.WdateDiv #dpControl {
|
||||
text-align:right;
|
||||
margin-top:3px;
|
||||
}
|
||||
.WdateDiv .dpButton{
|
||||
height:20px;
|
||||
width:45px;
|
||||
margin-top:2px;
|
||||
border:#38B1B9 1px solid;
|
||||
background-color:#CFEBEE;
|
||||
color:#08575B;
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,40 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProgressBox.ascx.cs" Inherits="FineUIPro.Web.Controls.ProgressBox" %>
|
||||
|
||||
<script src="../res/extjs/ext.js" type="text/javascript"></script>
|
||||
<script src="../res/extjs/lang/zh_CN.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var yesShowDe = new Number(0);
|
||||
var urls = "<%=this.PageUrl %>?getValue=1 "; //ajaxguagedemo.aspx?guage=1";
|
||||
var tID;
|
||||
function returnResponse() {
|
||||
var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
xmlHttp.open("GET", urls, true);
|
||||
xmlHttp.onreadystatechange = function () {
|
||||
if (xmlHttp.readyState == 4) {
|
||||
temp = xmlHttp.responseText;
|
||||
//alert(temp);
|
||||
var maxInt = temp.toString() == "" ? 1 : new Number(temp.toString().split(",")[1]);
|
||||
var valueInt = temp.toString() == "" ? 0 : new Number(temp.toString().split(",")[0]);
|
||||
if (valueInt < maxInt) {
|
||||
if (yesShowDe == 0) {
|
||||
Ext.MessageBox.progress("请等待", "数据处理进度...");
|
||||
yesShowDe = 1;
|
||||
}
|
||||
|
||||
Ext.MessageBox.updateProgress(valueInt / maxInt,
|
||||
'正在处理进度' + Number(valueInt / maxInt * 100).toFixed(2).toString() + '%,' + valueInt.toString() + '/' + maxInt.toString());
|
||||
//returnResponse();
|
||||
tID = setTimeout("returnResponse();", 50);
|
||||
}
|
||||
else {
|
||||
Ext.MessageBox.hide();
|
||||
clearTimeout(tID);
|
||||
yesShowDe = 0;
|
||||
Ext.MessageBox.alert("提示", "处理成功!"); //提示信息,新加的,可无
|
||||
}
|
||||
}
|
||||
}
|
||||
xmlHttp.send(urls);
|
||||
}
|
||||
</script>
|
||||