markus / KCOM_API_AutoStamping / AutoApprovalTest.aspx @ 08be599f
이력 | 보기 | 이력해설 | 다운로드 (4.2 KB)
1 | e1c892f7 | taeseongkim | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AutoApprovalTest.aspx.cs" Inherits="KCOM_API_AutoStamping.AutoApprovalTest" %> |
---|---|---|---|
2 | |||
3 | |||
4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
||
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
||
6 | <head runat="server"> |
||
7 | <title>All Approval Page</title> |
||
8 | 95e6fe93 | taeseongkim | <script src="js/alertify.min.js"></script> |
9 | <link rel="stylesheet" href="themes/alertify.core.css" /> |
||
10 | <link rel="stylesheet" href="themes/alertify.default.css" id="toggleCSS" /> |
||
11 | e1c892f7 | taeseongkim | </head> |
12 | <body> |
||
13 | <form id="form1" runat="server"> |
||
14 | 95e6fe93 | taeseongkim | <input type="hidden" id="hdnNode" runat="server" /> |
15 | <input type="hidden" id="hdnSiteid" runat="server" /> |
||
16 | <input type="hidden" id="hdnWebid" runat="server" /> |
||
17 | <input type="hidden" id="hdnpjtno" runat="server" /> |
||
18 | e1c892f7 | taeseongkim | <div> |
19 | 95e6fe93 | taeseongkim | <table> |
20 | <tr> |
||
21 | <td>Project No :</td> |
||
22 | <td> |
||
23 | <%-- <asp:TextBox ID="txtproject_no" runat="server"></asp:TextBox>--%> |
||
24 | <asp:DropDownList ID="PROJECT_LIST" runat="server" AutoPostBack="true"></asp:DropDownList> |
||
25 | </td> |
||
26 | <%--<td> |
||
27 | <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" |
||
28 | e1c892f7 | taeseongkim | ControlToValidate="txtproject_no" ErrorMessage="Project No required" ForeColor="Red"></asp:RequiredFieldValidator> |
29 | 669a91cf | taeseongkim | </td>--%> |
30 | 95e6fe93 | taeseongkim | </tr> |
31 | <tr> |
||
32 | <td>Slip No :</td> |
||
33 | <td> |
||
34 | <asp:TextBox ID="txtslip_no" runat="server"></asp:TextBox> |
||
35 | </td> |
||
36 | <td> |
||
37 | <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" |
||
38 | ControlToValidate="txtslip_no" ErrorMessage="Slip No required" ForeColor="Red"></asp:RequiredFieldValidator> |
||
39 | </td> |
||
40 | </tr> |
||
41 | <tr> |
||
42 | <td>User ID :</td> |
||
43 | <td> |
||
44 | <asp:TextBox ID="txtuser_id" AutoPostBack="true" runat="server"></asp:TextBox> |
||
45 | </td> |
||
46 | <td> |
||
47 | <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" |
||
48 | ControlToValidate="txtuser_id" ErrorMessage="User ID required" ForeColor="Red"></asp:RequiredFieldValidator> |
||
49 | </td> |
||
50 | </tr> |
||
51 | </table> |
||
52 | e1c892f7 | taeseongkim | </div> |
53 | <p> |
||
54 | 95e6fe93 | taeseongkim | <%-- <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> |
55 | <asp:UpdatePanel ID="up1" runat="server"> |
||
56 | <ContentTemplate>--%> |
||
57 | <asp:Button runat="server" ID="BtnHiddenYes" ClientIDMode="Static" Style="display: none;" /> |
||
58 | <asp:Button ID="Button2" runat="server" Text="All Approval" CausesValidation="true" OnClientClick=" jsConfirm(); return false;"/> |
||
59 | <%--<input id="Button1" type="button" runat="server" value="All Approval" onclick="Confirm(); return false;" />--%> |
||
60 | <%-- </ContentTemplate> |
||
61 | </asp:UpdatePanel>--%> |
||
62 | e1c892f7 | taeseongkim | </p> |
63 | </form> |
||
64 | 95e6fe93 | taeseongkim | <script> |
65 | |||
66 | var confirm_value = document.createElement("INPUT"); |
||
67 | confirm_value.type = "hidden"; |
||
68 | confirm_value.name = "confirm_value"; |
||
69 | |||
70 | function jsConfirm() { |
||
71 | // A confirm dialog |
||
72 | |||
73 | alertify.set({ buttonReverse: true }); |
||
74 | <%-- alertify.set({ |
||
75 | confirm : function () { |
||
76 | "<%if(!IsPostBack)Page.Validate();%>" |
||
77 | } |
||
78 | });--%> |
||
79 | |||
80 | alertify.confirm("VP에 Comment가 있어도 이를 무시하고 Approval stamp만 찍고 Merged PDF를 생성합니다.<br>그래도 작업하시겠습니까 ?<br>Even if there is a comment in the VP, ignore it and take only the approval stamp and create a Merged PDF.<br>Would you like to work anyway ? ", function (e) { |
||
81 | if (e) { |
||
82 | document.getElementById("BtnHiddenYes").click(); |
||
83 | confirm_value.value = "Yes"; |
||
84 | } else { |
||
85 | confirm_value.value = "No"; |
||
86 | } |
||
87 | }); |
||
88 | } |
||
89 | </script> |
||
90 | e1c892f7 | taeseongkim | </body> |
91 | 95e6fe93 | taeseongkim | </html> |