Try your search with a different keyword or use * as a wildcard.
@model InstallModel
@{
Layout = null;
}
@ILS.GetResource("Title")
@if (ILS.GetCurrentLanguage().IsRightToLeft)
{
}
else
{
}
@ILS.GetResource("Tooltip2")
@ILS.GetResource("Documentation1")
@ILS.GetResource("Documentation2").
function showThrobber(message) {
$('.throbber-header').html(message);
window.setTimeout(function () {
$(".throbber").show();
}, 1000);
}
$(function() {
$('#installation-form').submit(function () {
if ($('#installation-form').valid()) {
$("html, body").animate({ scrollTop: 0 }, 400);
showThrobber('@Html.Raw(JavaScriptEncoder.Default.Encode(ILS.GetResource("Installing")))');
$('button[type=submit]', this).attr('disabled', 'disabled');
}
});
});
$(function() {
$('#restart-form').submit(function () {
$("html, body").animate({ scrollTop: 0 }, 400);
showThrobber('@Html.Raw(JavaScriptEncoder.Default.Encode(ILS.GetResource("RestartProgress")))');
$('button[type=submit]', this).attr('disabled', 'disabled');
});
});
$(function() {
$('#@Html.IdFor(x => x.ConnectionStringRaw)').click(toggleSqlConnectionInfo);
$("input:checkbox[name=UseCustomCollation]").click(toggleCollation);
toggleSqlConnectionInfo();
toggleCollation();
});
$(function() {
$('#@Html.IdFor(m => m.DataProvider)').on('change', function() {
var integratedSecurityProviders = ['@((int)DataProviderType.SqlServer)']
if(!integratedSecurityProviders.includes($(this).val())) {
$('#@Html.IdFor(x => x.IntegratedSecurity)').prop('checked', false);
$('#@Html.IdFor(x => x.IntegratedSecurity)').prop('disabled', true)
toggleSqlAuthenticationType();
} else {
$('#@Html.IdFor(x => x.IntegratedSecurity)').prop('disabled', false)
}
});
});
function toggleSqlConnectionInfo() {
var connectionStringRaw = $("#@Html.IdFor(x => x.ConnectionStringRaw)").is(':checked');
if (connectionStringRaw) {
$('#sqlDatabaseInfo').hide();
$('#sqlDatabaseConnectionString').show();
} else {
$('#sqlDatabaseInfo').show();
$('#sqlDatabaseConnectionString').hide();
}
}
function toggleCollation() {
var connectionStringRaw = $("#@Html.IdFor(x => x.UseCustomCollation)").is(':checked');
var collationInput = $("#@Html.IdFor(x => x.Collation)")
if (connectionStringRaw) {
collationInput.show();
} else {
collationInput.hide();
}
}
@if (!string.IsNullOrEmpty(Model.RestartUrl))
{
<text>
$(function() {
showThrobber('@Html.Raw(JavaScriptEncoder.Default.Encode(ILS.GetResource("RestartProgress")))');
$.ajax({
type: "GET",
url: "@Url.RouteUrl("InstallationRestartApplication")",
complete: function() {
window.setTimeout(function () {
window.location.replace('@Model.RestartUrl');
}, @NopCommonDefaults.RestartTimeout);
}
});
});
</text>
}
@ILS.GetResource("StoreInformation")
@ILS.GetResource("AdminEmail")
@ILS.GetResource("AdminPassword")
@ILS.GetResource("ConfirmPassword")
@if (Model.InstallRegionalResources)
{
@ILS.GetResource("Country")
}
@if (!Model.DisableSampleDataOption)
{
@ILS.GetResource("CreateSampleData")
}
@ILS.GetResource("SubscribeNewsletters")
@ILS.GetResource("DatabaseInformation")
@ILS.GetResource("Database")
@ILS.GetResource("CreateDatabaseIfDoesNotExist")
@ILS.GetResource("RawConnectionString")
@await Html.PartialAsync("_Install.ConnectionString", Model)
@ILS.GetResource("ConnectionString")
@ILS.GetResource("Example"):
Data Source=sqlServerName;Initial Catalog=dbName;Persist Security Info=True;User
ID=userName;Password=password
Find more info here
@ILS.GetResource("CustomCollation")
@ILS.GetResource("Install")
@ILS.GetResource("RestartInstallation")
Wait...