Adds missing files back
This commit is contained in:
@@ -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>
|
||||||
Reference in New Issue
Block a user