mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Updated html on Export screen.
--HG-- branch : 1.x
This commit is contained in:
@@ -5,43 +5,43 @@
|
||||
@using(Html.BeginFormAntiForgeryPost()) {
|
||||
Html.ValidationSummary();
|
||||
<fieldset>
|
||||
<legend>@T("Choose the types to include in the export file:")</legend><br />
|
||||
<div>
|
||||
@T("Content Types")
|
||||
<legend>@T("Choose the types to include in the export file:")</legend>
|
||||
<ol>
|
||||
@{var contentTypeIndex = 0;}
|
||||
@foreach (var contentTypeEntry in Model.ContentTypes) {
|
||||
<br />
|
||||
<li>
|
||||
<input type="hidden" value="@Model.ContentTypes[contentTypeIndex].ContentTypeName" name="@Html.NameOf(m => m.ContentTypes[contentTypeIndex].ContentTypeName)"/>
|
||||
<input type="checkbox" value="true" name="@Html.NameOf(m => m.ContentTypes[contentTypeIndex].IsChecked)"/>
|
||||
<label class="forcheckbox">@Model.ContentTypes[contentTypeIndex].ContentTypeName</label>
|
||||
<label class="forcheckbox">@Model.ContentTypes[contentTypeIndex].ContentTypeName</label></li>
|
||||
contentTypeIndex = contentTypeIndex + 1;
|
||||
}
|
||||
</div>
|
||||
<br /><hr /><br />
|
||||
<legend>@T("Choose what to save for these types:")</legend><br />
|
||||
</ol>
|
||||
</fieldset>
|
||||
<hr />
|
||||
<fieldset>
|
||||
<legend>@T("Choose what to save for these types:")</legend>
|
||||
<div>
|
||||
@Html.EditorFor(m => m.Metadata)
|
||||
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.Metadata)">@T("Metadata")</label>
|
||||
<p>@T("Metadata is the definition of your content types: what parts and fields they have, with what settings.")</p><br />
|
||||
<span class="hint">@T("Metadata is the definition of your content types: what parts and fields they have, with what settings.")</span>
|
||||
</div>
|
||||
<div>
|
||||
@Html.EditorFor(m => m.Data)
|
||||
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.Data)">@T("Data")</label>
|
||||
<p>@T("Data is the actual content of your site.")</p>
|
||||
<p>@T("Version History")</p>
|
||||
<span class="hint">@T("Data is the actual content of your site.")</span>
|
||||
</div>
|
||||
<div>
|
||||
<p>@T("Version History")</p>
|
||||
@Html.RadioButtonFor(m => m.DataImportChoice, "Published", new { id = "Published", Checked = "Checked" })
|
||||
<label for="@Html.FieldIdFor(m => m.DataImportChoice)" class="forcheckbox">@T("Only Published Versions")</label>
|
||||
</div>
|
||||
<div>
|
||||
<br />
|
||||
@Html.RadioButtonFor(m => m.DataImportChoice, "Draft", new { id = "Draft" })
|
||||
<label for="@Html.FieldIdFor(m => m.DataImportChoice)" class="forcheckbox">@T("Only Drafts")</label>
|
||||
</div><br />
|
||||
</div>
|
||||
<div>
|
||||
@Html.EditorFor(m => m.SiteSettings)
|
||||
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.SiteSettings)">@T("Site Settings")</label><br />
|
||||
<p>@T("Please verify that you are not exporting confidential information, such as passwords or application keys.")</p><br />
|
||||
<span class="hint">@T("Please verify that you are not exporting confidential information, such as passwords or application keys.")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
<button type="submit" class="primaryAction">@T("Export")</button>
|
||||
|
||||
@@ -143,6 +143,8 @@ h4 img, h5 img, h6 img {
|
||||
|
||||
strong {font-weight:600;}
|
||||
.smallText {font-size:1em; line-height:1.4em;}
|
||||
|
||||
hr {border:0; height:1px; color:#e4e5e6; background-color:#e4e5e6;}
|
||||
|
||||
#header, #footer {
|
||||
width:100%;
|
||||
@@ -1026,8 +1028,8 @@ html.dyn #submit-pager, html.dyn .apply-bulk-actions-auto { display:none; }
|
||||
.checkbox-and-label {
|
||||
white-space:nowrap;
|
||||
}
|
||||
/* Settings */
|
||||
.orchard-media fieldset div, .settings fieldset div, .settings .button {
|
||||
/* Settings and Import/Export */
|
||||
.orchard-media fieldset div, .settings fieldset div, .settings .button, .orchard-importexport fieldset div {
|
||||
margin:.5em 0;
|
||||
}
|
||||
.settings legend {
|
||||
|
||||
Reference in New Issue
Block a user