Adds missing files back

This commit is contained in:
Sebastiaan Janssen
2017-01-26 18:47:25 +01:00
parent f11ff8d1c8
commit 50f0bbe96e
2 changed files with 63 additions and 0 deletions
@@ -0,0 +1,31 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.UserControl" %>
<%@ Import Namespace="OurUmbraco.Documentation.Busineslogic.GithubSourcePull" %>
<script runat="server">
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
GetDocsButton.Click += GetDocsButton_Click;
}
protected string Status = "";
void GetDocsButton_Click(object sender, EventArgs e)
{
ZipDownloader.EnsureGitHubDocs(true);
Status = "Done!";
}
</script>
<div>
<asp:Button runat="server" ID="GetDocsButton" Text="Get Docs!!"/>
<p>
<%= Status %>
</p>
</div>
@@ -0,0 +1,32 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.UserControl" %>
<%@ Import Namespace="OurUmbraco.Release" %>
<script runat="server">
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
GetYouTrackButton.Click += GetYouTrackButton_Click;
}
protected string Status = "";
void GetYouTrackButton_Click(object sender, EventArgs e)
{
var import = new Import();
var result = import.SaveAllToFile();
Status = result;
}
</script>
<div>
<asp:Button runat="server" ID="GetYouTrackButton" Text="Get YouTrack Releases"/>
<p>
<%= Status %>
</p>
</div>