Initial commit
This commit is contained in:
140
Administration/Upload.aspx
Normal file
140
Administration/Upload.aspx
Normal file
@@ -0,0 +1,140 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="True" CodeBehind="Upload.aspx.cs" Inherits="QW2021C.Administration.Upload" %>
|
||||
|
||||
<%@ Register Assembly="Syncfusion.EJ.Web, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>
|
||||
<%@ Register Assembly="Syncfusion.EJ, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %>
|
||||
|
||||
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="Server">
|
||||
<asp:Label runat="server"><h4>Stammdaten aktualisieren</h4></asp:Label>
|
||||
<br />
|
||||
<ej:Tab ID="Tab1" runat="server" ClientSideOnBeforeActive="beforeItemActive">
|
||||
<Items>
|
||||
<ej:TabItem ID="TabItem1" runat="server" Text="1. Hochladen">
|
||||
|
||||
<ContentSection>
|
||||
<div class="tab-title">
|
||||
<h4>Stammdaten laden</h4><br />Bitte die .GZ-Datei auswählen und hochladen
|
||||
</div>
|
||||
<br />
|
||||
<ej:UploadBox ID="UploadBox2" runat="server" SaveUrl="~/Administration/saveFiles.ashx" AutoUpload="true" OnComplete="Upload1_Complete"
|
||||
FileSize="12000000">
|
||||
</ej:UploadBox>
|
||||
<br />
|
||||
</ContentSection>
|
||||
|
||||
</ej:TabItem>
|
||||
<ej:TabItem ID="TabItem2" runat="server" Text="2. Entpacken">
|
||||
<ContentSection>
|
||||
<div class="tab-title">
|
||||
<h4>Datei entpacken</h4><br />Die hochgeladene Datei entpacken<br />
|
||||
</div>
|
||||
<br />
|
||||
<ej:Button ID="ButtonVerarbeiten1" Text="Datei entpacken" runat="server" Enabled="true"
|
||||
EnableRTL="true" Type="Button" OnClick="ButtonVerarbeiten1_Click" ClientSideOnClick="btnClick"></ej:Button>
|
||||
<ej:WaitingPopup ID="target" runat="server" ShowOnInit="false" >
|
||||
</ej:WaitingPopup>
|
||||
</ContentSection>
|
||||
</ej:TabItem>
|
||||
<ej:TabItem ID="TabItem3" runat="server" Text="3. Importieren">
|
||||
<ContentSection>
|
||||
<div class="tab-title">
|
||||
<h4>Daten importieren</h4><br />Import der Daten in die Datenbank vom QW-Tool<br />
|
||||
</div>
|
||||
<br />
|
||||
<ej:Button ID="ButtonVerarbeiten2" Text="Daten importieren" runat="server" Enabled="true" EnableRTL="true"
|
||||
OnClick="ButtonVerarbeiten2_Click" ClientSideOnClick="btnClick1" Type="Button"></ej:Button>
|
||||
<ej:WaitingPopup ID="WaitingPopup1" runat="server" ShowOnInit="false" >
|
||||
</ej:WaitingPopup>
|
||||
|
||||
</ContentSection>
|
||||
</ej:TabItem>
|
||||
<ej:TabItem ID="TabItem4" runat="server" Text="4. Zusammenfassung">
|
||||
<ContentSection>
|
||||
<div class="tab-title">
|
||||
<h4>Zusammenfassung</h4>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:100px">
|
||||
Vereine
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblvereine" Text=""></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px">
|
||||
Vereine
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblathleten" Text=""></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
</ContentSection>
|
||||
</ej:TabItem>
|
||||
</Items>
|
||||
</ej:Tab>
|
||||
<asp:HiddenField ID="HiddenField1" runat="server" />
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function beforeItemActive(args) {
|
||||
if (args.isInteraction == true)
|
||||
args.cancel = true;
|
||||
}
|
||||
|
||||
function btnClick(e) {
|
||||
|
||||
var popup = $("#<%=target.ClientID%>").data("ejWaitingPopup");
|
||||
|
||||
popup.show();
|
||||
|
||||
setTimeout(success, 550000);
|
||||
|
||||
}
|
||||
|
||||
function btnClick1(e) {
|
||||
|
||||
var popup = $("#<%=WaitingPopup1.ClientID%>").data("ejWaitingPopup");
|
||||
|
||||
popup.show();
|
||||
|
||||
setTimeout(success, 55000);
|
||||
|
||||
}
|
||||
function success() {
|
||||
|
||||
|
||||
$("#<%=target.ClientID%>").ejWaitingPopup("hide");
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<%-- <div id="ControlRegion">
|
||||
<div>
|
||||
<ej:WaitingPopup ID="target" runat="server" ShowOnInit="false" Target="#ControlRegion" Text="Loading…"></ej:WaitingPopup>
|
||||
<style type="text/css">
|
||||
#<%=target.ClientID% > {
|
||||
height: 320px;
|
||||
width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#<%=target.ClientID% > _WaitingPopup .e-image {
|
||||
display: block;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
#<%=target.ClientID% > _WaitingPopup .e-text {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
</div>--%>
|
||||
|
||||
|
||||
</asp:Content>
|
||||
|
||||
Reference in New Issue
Block a user