chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="組織圖處理.aspx.cs" Inherits="Education.Forms.組織.組織圖處理" %>
|
||||
|
||||
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="weblib" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label9" runat="server" Text="組織類別"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<weblib:SQLDropDownList ID="ddl組織類別" runat="server" AddEmptyItem="False" LookupConfigName="組織類別" DataTextField="組織類別名稱" DataValueField="組織類別ID">
|
||||
</weblib:SQLDropDownList>
|
||||
</td>
|
||||
<td>
|
||||
<asp:LinkButton ID="btnSelect組織類別" runat="server" CssClass="button blue80" OnClick="btnSelect組織類別_Click">確定</asp:LinkButton>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<asp:Panel runat="server" ID="pnl組織圖" Visible="false">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="captionCenter" colspan="2">
|
||||
<asp:Label ID="Label10" runat="server" Text="組織圖"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top; width: 400px;">
|
||||
<div style="height: 500px; overflow-y: auto; border: 1px solid black;">
|
||||
<asp:TreeView ID="TV" runat="server" ImageSet="Arrows" SkipLinkText="" OnSelectedNodeChanged="TV_SelectedNodeChanged">
|
||||
<HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
|
||||
<NodeStyle HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
|
||||
<ParentNodeStyle Font-Bold="False" />
|
||||
<SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px" VerticalPadding="0px" />
|
||||
</asp:TreeView>
|
||||
</div>
|
||||
</td>
|
||||
<td style="vertical-align: top;">
|
||||
<asp:LinkButton ID="btnAddRoot" runat="server" CssClass="button blue80" OnClick="btnAddRoot_Click">加入根</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnAdd" runat="server" CssClass="button blue80" OnClick="btnAdd_Click">加入同層</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnAddDown" runat="server" CssClass="button blue80" OnClick="btnAddDown_Click">加入下層</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnUpdate" runat="server" CssClass="button green80" OnClick="btnUpdate_Click">修改</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnDelete" runat="server" CssClass="button red80" OnClick="btnDelete_Click">刪除</asp:LinkButton>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="caption" style="width: 70px;">
|
||||
<asp:Label ID="Label11" runat="server" Text="組織名稱"></asp:Label>
|
||||
</td>
|
||||
<td style="width: 300px">
|
||||
<asp:TextBox ID="txtNodeText" runat="server" CssClass="inputFull"></asp:TextBox>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="width: 70px;">
|
||||
<asp:Label ID="Label15" runat="server" Text="部門主管"></asp:Label>
|
||||
</td>
|
||||
<td style="width: 300px">
|
||||
<weblib:WDropDownList ID="ddl主管" runat="server" DataSourceID="ds主管" DataTextField="人員姓名" DataValueField="人員ID">
|
||||
</weblib:WDropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<asp:Label ID="lbError" runat="server" Text="" CssClass="ErrorMessage"></asp:Label>
|
||||
<asp:ObjectDataSource ID="ds主管" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="Select組織人員" TypeName="Education.DAC_組織人員">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="TV" Name="組織ID" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top; width: 400px;" colspan="2">
|
||||
<asp:LinkButton ID="btnUp" runat="server" CssClass="button gray60" OnClick="btnUp_Click">往上</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnDown" runat="server" CssClass="button gray60" OnClick="btnDown_Click">往下</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnUpLevel" runat="server" CssClass="button gray60" OnClick="btnUpLevel_Click">往上層</asp:LinkButton>
|
||||
<asp:LinkButton ID="btnDownLevel" runat="server" CssClass="button gray60" OnClick="btnDownLevel_Click">往下層</asp:LinkButton>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Panel>
|
||||
</asp:Content>
|
||||
Reference in New Issue
Block a user