initial source commit
This commit is contained in:
@@ -0,0 +1,726 @@
|
||||
#pragma warning disable 1591
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.17929
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Disco.Web.Views.InitialConfig
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.Helpers;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Mvc.Ajax;
|
||||
using System.Web.Mvc.Html;
|
||||
using System.Web.Routing;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.WebPages;
|
||||
using Disco.BI.Extensions;
|
||||
using Disco.Models.Repository;
|
||||
using Disco.Web;
|
||||
using Disco.Web.Extensions;
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
|
||||
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/InitialConfig/Complete.cshtml")]
|
||||
public class Complete : System.Web.Mvc.WebViewPage<Disco.Web.Models.InitialConfig.CompleteModel>
|
||||
{
|
||||
public Complete()
|
||||
{
|
||||
}
|
||||
public override void Execute()
|
||||
{
|
||||
|
||||
#line 2 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
ViewBag.Title = null;
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n<h1>");
|
||||
|
||||
|
||||
#line 5 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(CommonHelpers.Breadcrumbs(Html.ToBreadcrumb("Initial Configuration", MVC.InitialConfig.Index(), "Complete")));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</h1>\r\n<div");
|
||||
|
||||
WriteLiteral(" id=\"initialConfig_Complete\"");
|
||||
|
||||
WriteLiteral(">\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"form\"");
|
||||
|
||||
WriteLiteral(" style=\"width: 650px\"");
|
||||
|
||||
WriteLiteral(">\r\n <h2>Verification Results</h2>\r\n <table>\r\n <tr>\r\n " +
|
||||
" <td>\r\n <h3><span");
|
||||
|
||||
WriteAttribute("class", Tuple.Create(" class=\"", 412), Tuple.Create("\"", 486)
|
||||
, Tuple.Create(Tuple.Create("", 420), Tuple.Create("icon", 420), true)
|
||||
|
||||
#line 12 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
, Tuple.Create(Tuple.Create(" ", 424), Tuple.Create<System.Object, System.Int32>(Model.RegistryDatabaseResult == null ? "success" : "error"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
, 425), false)
|
||||
);
|
||||
|
||||
WriteLiteral("></span>Database</h3>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"testResult\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 14 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 14 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
if (Model.RegistryDatabaseResult == null)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
|
||||
WriteLiteral("The database connection string was correctly configured and saved.");
|
||||
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 18 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
|
||||
WriteLiteral("There was an error saving the database connection string configuration.");
|
||||
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
WriteLiteral(" <br />\r\n");
|
||||
|
||||
WriteLiteral(" <div");
|
||||
|
||||
WriteLiteral(" class=\"exception\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 24 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 24 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
var ex = Model.RegistryDatabaseResult;
|
||||
do
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <div>\r\n " +
|
||||
" <h4>[");
|
||||
|
||||
|
||||
#line 28 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(ex.GetType().Name);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("]</h4>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"code\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 30 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(ex.Message);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n " +
|
||||
" </div> \r\n");
|
||||
|
||||
|
||||
#line 33 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
if (ex.InnerException == null) { break; }
|
||||
else { ex = ex.InnerException; }
|
||||
} while (true);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 38 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n </td>\r\n </tr>\r\n " +
|
||||
" <tr>\r\n <td>\r\n <h3><span");
|
||||
|
||||
WriteAttribute("class", Tuple.Create(" class=\"", 2040), Tuple.Create("\"", 2118)
|
||||
, Tuple.Create(Tuple.Create("", 2048), Tuple.Create("icon", 2048), true)
|
||||
|
||||
#line 45 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
, Tuple.Create(Tuple.Create(" ", 2052), Tuple.Create<System.Object, System.Int32>(Model.DiscoDnsTestResult.Item2 == null ? "success" : "warning"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
, 2053), false)
|
||||
);
|
||||
|
||||
WriteLiteral("></span>Disco DNS Entry</h3>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"testResult\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 47 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 47 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
if (Model.DiscoDnsTestResult.Item1 != null)
|
||||
{
|
||||
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <div>The following \'disco\' DNS entry was found:</div>" +
|
||||
"\r\n");
|
||||
|
||||
WriteLiteral(" <div");
|
||||
|
||||
WriteLiteral(" class=\"code\"");
|
||||
|
||||
WriteLiteral(">\r\n <strong>");
|
||||
|
||||
|
||||
#line 53 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(Model.DiscoDnsTestResult.Item1.HostName);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</strong>\r\n");
|
||||
|
||||
|
||||
#line 54 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 54 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
if (Model.DiscoDnsTestResult.Item1.Aliases.Length > 0)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <div>\r\n " +
|
||||
" Aliases:\r\n <ul>\r\n");
|
||||
|
||||
|
||||
#line 60 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 60 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
foreach (var a in Model.DiscoDnsTestResult.Item1.Aliases)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <li>");
|
||||
|
||||
|
||||
#line 62 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(a);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</li>\r\n");
|
||||
|
||||
|
||||
#line 63 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" </ul>\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 66 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
if (Model.DiscoDnsTestResult.Item1.AddressList.Length > 0)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <div>\r\n " +
|
||||
" IP Addresses:\r\n <ul>\r\n");
|
||||
|
||||
|
||||
#line 72 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 72 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
foreach (var a in Model.DiscoDnsTestResult.Item1.AddressList)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <li>");
|
||||
|
||||
|
||||
#line 74 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(a.ToString());
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("</li>\r\n");
|
||||
|
||||
|
||||
#line 75 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" </ul>\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 78 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 81 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
|
||||
WriteLiteral("There was an error determining a DNS entry for Disco.");
|
||||
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
WriteLiteral(" <br />\r\n");
|
||||
|
||||
WriteLiteral(" <div");
|
||||
|
||||
WriteLiteral(" class=\"exception\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 87 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 87 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
var ex = Model.DiscoDnsTestResult.Item2;
|
||||
do
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <div>\r\n " +
|
||||
" <h4>[");
|
||||
|
||||
|
||||
#line 91 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(ex.GetType().Name);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("]</h4>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"code\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 93 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(ex.Message);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n " +
|
||||
" </div> \r\n");
|
||||
|
||||
|
||||
#line 96 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
if (ex.InnerException == null) { break; }
|
||||
else { ex = ex.InnerException; }
|
||||
} while (true);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 101 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n </td>\r\n </tr>\r\n " +
|
||||
" <tr>\r\n <td>\r\n <h3><span");
|
||||
|
||||
WriteAttribute("class", Tuple.Create(" class=\"", 4945), Tuple.Create("\"", 5021)
|
||||
, Tuple.Create(Tuple.Create("", 4953), Tuple.Create("icon", 4953), true)
|
||||
|
||||
#line 108 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
, Tuple.Create(Tuple.Create(" ", 4957), Tuple.Create<System.Object, System.Int32>(Model.DiscoIctComAuWebResult == null ? "success" : "warning"
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
, 4958), false)
|
||||
);
|
||||
|
||||
WriteLiteral("></span>Connectivity to <a");
|
||||
|
||||
WriteLiteral(" href=\"http://discoict.com.au\"");
|
||||
|
||||
WriteLiteral(" target=\"_blank\"");
|
||||
|
||||
WriteLiteral(">http://discoict.com.au</a></h3>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"testResult\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 110 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 110 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
if (Model.DiscoIctComAuWebResult == null)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
|
||||
WriteLiteral("A connection was successfully established to <a");
|
||||
|
||||
WriteLiteral(" href=\"http://discoict.com.au\"");
|
||||
|
||||
WriteLiteral(" target=\"_blank\"");
|
||||
|
||||
WriteLiteral(">http://discoict.com.au</a>.");
|
||||
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 114 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" ");
|
||||
|
||||
WriteLiteral("There was an error establishing a connection to <a");
|
||||
|
||||
WriteLiteral(" href=\"http://discoict.com.au\"");
|
||||
|
||||
WriteLiteral(" target=\"_blank\"");
|
||||
|
||||
WriteLiteral(">http://discoict.com.au</a>. This may be caused by missing proxy settings - after" +
|
||||
" starting Disco check these settings in the \'System\' configuration area.");
|
||||
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
WriteLiteral(" <br />\r\n");
|
||||
|
||||
WriteLiteral(" <div");
|
||||
|
||||
WriteLiteral(" class=\"exception\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 120 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 120 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
var ex = Model.DiscoIctComAuWebResult;
|
||||
do
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <div>\r\n " +
|
||||
" <h4>[");
|
||||
|
||||
|
||||
#line 124 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(ex.GetType().Name);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("]</h4>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"code\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 126 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
Write(ex.Message);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n " +
|
||||
" </div> \r\n");
|
||||
|
||||
|
||||
#line 129 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
if (ex.InnerException == null) { break; }
|
||||
else { ex = ex.InnerException; }
|
||||
} while (true);
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 134 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n </td>\r\n </tr>\r\n " +
|
||||
" <tr>\r\n <td>\r\n <h3><span");
|
||||
|
||||
WriteLiteral(" class=\"icon information\"");
|
||||
|
||||
WriteLiteral("></span>Unblock ICMP (Ping) for the Disco server</h3>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"testResult\"");
|
||||
|
||||
WriteLiteral(@">
|
||||
The Disco Client Bootstrapper requires the Disco server to respond to ICMP Echo requests (Ping) to function correctly. Please insure any firewall rules are updated accordingly.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<h3><span");
|
||||
|
||||
WriteLiteral(" class=\"icon information\"");
|
||||
|
||||
WriteLiteral("></span>Configure a regularly scheduled Backup</h3>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"testResult\"");
|
||||
|
||||
WriteLiteral(">\r\n Please ensure both the SQL Database and File Store are" +
|
||||
" backed up regularly.\r\n </div>\r\n </td>\r\n " +
|
||||
" </tr>\r\n </table>\r\n </div>\r\n <div");
|
||||
|
||||
WriteLiteral(" class=\"actionBar\"");
|
||||
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 158 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 158 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
|
||||
if (Model.LaunchAllowed)
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <a");
|
||||
|
||||
WriteAttribute("href", Tuple.Create(" href=\"", 7791), Tuple.Create("\"", 7846)
|
||||
|
||||
#line 161 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
, Tuple.Create(Tuple.Create("", 7798), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.InitialConfig.RestartWebApp())
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
, 7798), false)
|
||||
);
|
||||
|
||||
WriteLiteral(" class=\"button\"");
|
||||
|
||||
WriteLiteral(">Start Disco</a>\r\n");
|
||||
|
||||
|
||||
#line 162 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <a");
|
||||
|
||||
WriteLiteral(" id=\"tryAgain\"");
|
||||
|
||||
WriteAttribute("href", Tuple.Create(" href=\"", 7956), Tuple.Create("\"", 8006)
|
||||
|
||||
#line 165 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
, Tuple.Create(Tuple.Create("", 7963), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.InitialConfig.Complete())
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
, 7963), false)
|
||||
);
|
||||
|
||||
WriteLiteral(" class=\"button\"");
|
||||
|
||||
WriteLiteral(">Try Again</a>\r\n");
|
||||
|
||||
|
||||
#line 166 "..\..\Views\InitialConfig\Complete.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n </div>\r\n</div>\r\n<div");
|
||||
|
||||
WriteLiteral(" id=\"dialogWait\"");
|
||||
|
||||
WriteLiteral(" title=\"Please Wait\"");
|
||||
|
||||
WriteLiteral(">\r\n <h2><span");
|
||||
|
||||
WriteLiteral(" class=\"ajaxLoading\"");
|
||||
|
||||
WriteLiteral(@"></span>Re-running Verification Tests</h2>
|
||||
<div>Please wait while the verification tests are performed.</div>
|
||||
</div>
|
||||
<script>
|
||||
(function () {
|
||||
$(function () {
|
||||
$('#initialConfig_Complete').find('div.exception').each(function () {
|
||||
var $this = $(this);
|
||||
$('<a>').text('[Show Error Details]').attr('href', '#').insertBefore($this).click(function () {
|
||||
$(this).hide();
|
||||
$this.slideDown();
|
||||
return false;
|
||||
});
|
||||
$this.hide();
|
||||
});
|
||||
$('#tryAgain').click(function () {
|
||||
$('#dialogWait').dialog('open');
|
||||
});
|
||||
$('#dialogWait').dialog({
|
||||
autoOpen: false,
|
||||
draggable: false,
|
||||
modal: true,
|
||||
resizable: false,
|
||||
width: 400,
|
||||
height: 150,
|
||||
closeOnEscape: false
|
||||
}).closest('.ui-dialog').find('.ui-dialog-titlebar-close').hide();
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
Reference in New Issue
Block a user