Skip to content

Commit

Permalink
update tool
Browse files Browse the repository at this point in the history
  • Loading branch information
ScutGame committed Jun 24, 2015
1 parent 2bb4087 commit 66232f4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
21 changes: 18 additions & 3 deletions Source/Tools/ContractTools/release/Default.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@
alert('你的浏览器不支持复制功能, 请手工复制');
}
}
function OnSearch() {
var txtSearch = document.getElementById("txtSearch").valueOf || '';
__doPostBack && __doPostBack("btnSerach", txtSearch);
}
function EnterPress(e) {
var e = e || window.event;
if(e.keyCode == 13) {
OnSearch();
}
}
</script>
</head>
<body>
Expand Down Expand Up @@ -67,12 +79,14 @@
<div class="toolbar">
<span>
<asp:HyperLink ID="hlTopEdit" runat="server" CssClass="edit" ToolTip="开启或关闭编辑">项目</asp:HyperLink>:</span>
<asp:DropDownList ID="ddlSolution" runat="server" Width="130px" AutoPostBack="True" OnSelectedIndexChanged="OnSolutionChanged"></asp:DropDownList>
<asp:DropDownList ID="ddlSolution" runat="server" Width="120px" AutoPostBack="True" OnSelectedIndexChanged="OnSolutionChanged"></asp:DropDownList>
<span>版本:</span>
<asp:DropDownList ID="ddVersion" runat="server" Width="80px" AutoPostBack="True" OnSelectedIndexChanged="OnVersionChanged"></asp:DropDownList>
<span>协议:</span>
<asp:DropDownList ID="ddlAgreement" runat="server" Width="130px" AutoPostBack="True" OnSelectedIndexChanged="OnAgreementChanged"></asp:DropDownList>
<asp:DropDownList ID="ddContract" runat="server" Width="250px" AutoPostBack="True" OnSelectedIndexChanged="OnContractChanged"></asp:DropDownList>
<asp:DropDownList ID="ddlAgreement" runat="server" Width="120px" AutoPostBack="True" OnSelectedIndexChanged="OnAgreementChanged"></asp:DropDownList>
<asp:DropDownList ID="ddContract" runat="server" Width="220px" AutoPostBack="True" OnSelectedIndexChanged="OnContractChanged"></asp:DropDownList>
<span>筛选:</span><input type="text" id="txtSearch" name="txtSearch" style="width: 120px" onkeypress="EnterPress(event)" onkeydown="EnterPress()"/>
<a class="btn-search" id="btnSerach" onclick="OnSearch()" ></a>
</div>
<% if (IsEdit){ %>
<div class="content">
Expand Down Expand Up @@ -274,6 +288,7 @@
<asp:ListItem Value="13">UInt</asp:ListItem>
<asp:ListItem Value="14">UShort</asp:ListItem>
<asp:ListItem Value="15">ULong</asp:ListItem>
<asp:ListItem Value="16">SigleRecord</asp:ListItem>
</asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/Tools/ContractTools/release/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ul{ list-style: none;}
.bottombar{display:block;width:100%;padding-top: 10px; height:35px; line-height:35px;background: #f0f0f0; border-top: 1px solid #a9a9a9; text-align: center;}
.bottombar span{ margin:0 15px;}
.bottombar span a,.bottombar span input[type="submit"]{ background: url(images/edit.png) no-repeat;padding-left: 18px;border: 1px solid #a9a9a9;cursor: pointer; }
.btn-search{background: url(images/search.png) no-repeat;padding-left: 18px;}
.btn-search{background: url(images/search.png) no-repeat;padding-left: 18px; cursor:pointer}

.grid{ width: 100%;color: #666666;}
.grid span{ padding: 0 5px; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ THE SOFTWARE.
//
// 您可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
// 方法是按如下所示使用“*”:
[assembly: AssemblyVersion("2.0.139")]
[assembly: AssemblyVersion("2.0.200")]

0 comments on commit 66232f4

Please sign in to comment.