mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Converting Orchard.Setup
--HG-- branch : dev
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
<div>
|
||||
@model Orchard.Setup.ViewModels.SetupViewModel
|
||||
@model Orchard.Setup.ViewModels.SetupViewModel
|
||||
|
||||
<h1>@Html.TitleForPage(T("Get Started").ToString())</h1>
|
||||
<h1>@Html.TitleForPage(T("Get Started").ToString())</h1>
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
<text>
|
||||
@Html.ValidationSummary()
|
||||
<h2>@T("Please answer a few questions to configure your site.")</h2>
|
||||
<fieldset class="site">
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
Html.ValidationSummary();
|
||||
<h2>@T("Please answer a few questions to configure your site.")</h2>
|
||||
<fieldset class="site">
|
||||
<div>
|
||||
<label for="SiteName">@T("What is the name of your site?")</label>
|
||||
@Html.TextBoxFor(svm => svm.SiteName, new { autofocus = "autofocus" })
|
||||
@@ -24,9 +22,9 @@
|
||||
<label for="ConfirmAdminPassword">@T("Confirm the password:")</label>
|
||||
@Html.PasswordFor(svm => svm.ConfirmPassword)
|
||||
</div>
|
||||
</fieldset>
|
||||
@if (!Model.DatabaseIsPreconfigured) {
|
||||
<fieldset class="data">
|
||||
</fieldset>
|
||||
if (!Model.DatabaseIsPreconfigured) {
|
||||
<fieldset class="data">
|
||||
<legend>@T("How would you like to store your data?")</legend>
|
||||
@Html.ValidationMessage("DatabaseOptions", "Unable to setup data storage")
|
||||
<div>
|
||||
@@ -48,11 +46,9 @@
|
||||
@Html.EditorFor(svm => svm.DatabaseTablePrefix)
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
}
|
||||
<fieldset>
|
||||
<input class="button primaryAction" type="submit" value='@T("Finish Setup")' />
|
||||
</fieldset>
|
||||
</text>
|
||||
}
|
||||
</div>
|
||||
</fieldset>
|
||||
}
|
||||
<fieldset>
|
||||
<input class="button primaryAction" type="submit" value="@T("Finish Setup")" />
|
||||
</fieldset>
|
||||
}
|
||||
|
Reference in New Issue
Block a user