mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-01 17:25:05 +08:00
Implementing a consistent usage of 'text', 'text small', 'text medium' and 'text large'.
Yes, it's the little things in life.
This commit is contained in:
parent
3a4341b1b1
commit
6085d8cb15
@ -1 +1 @@
|
||||
@Html.TextBox("Text", (string)Model.Text, new { @class = "text text-small" })
|
||||
@Html.TextBox("Text", (string)Model.Text, new { @class = "text small" })
|
@ -1 +1 @@
|
||||
@Html.TextBox("Text", (string)Model.Text, new { @class = "text textMedium" })
|
||||
@Html.TextBox("Text", (string)Model.Text, new { @class = "text medium" })
|
@ -22,7 +22,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Settings.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Settings.Hint, new { @class = "textMedium", rows = "5" })
|
||||
@Html.TextAreaFor(m => m.Settings.Hint, new { @class = "text medium", rows = "5" })
|
||||
<span class="hint">@T("The help text is written under the field when authors are editing the content item.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Settings.Hint)
|
||||
</fieldset>
|
@ -6,6 +6,6 @@
|
||||
</span>
|
||||
<span>
|
||||
@Html.LabelFor(m => m.Weight, T("Weight"))
|
||||
@Html.TextBoxFor(m => m.Weight, new { @class = "text text-small" })
|
||||
@Html.TextBoxFor(m => m.Weight, new { @class = "text small" })
|
||||
</span>
|
||||
</fieldset>
|
@ -30,7 +30,7 @@
|
||||
<fieldset class="with-checkbox">
|
||||
<span>
|
||||
@Html.LabelFor(m => m.Part.PageSize, T("Page size"))
|
||||
@Html.TextBoxFor(m => m.Part.PageSize, new { @class = "text text-small" })
|
||||
@Html.TextBoxFor(m => m.Part.PageSize, new { @class = "text small" })
|
||||
</span>
|
||||
<span class="checkbox-and-label">
|
||||
@Html.CheckBoxFor(m => m.Part.Paginated)
|
||||
|
@ -10,7 +10,7 @@
|
||||
<fieldset>
|
||||
<span>
|
||||
@Html.LabelFor(m => m.Part.Record.PageSize, T("Maximum number of items to display"))
|
||||
@Html.TextBoxFor(m => m.Part.Record.PageSize, new { @class = "text text-small" })
|
||||
@Html.TextBoxFor(m => m.Part.Record.PageSize, new { @class = "text small" })
|
||||
</span>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@ -107,7 +107,7 @@
|
||||
<div>
|
||||
<h2>@menuPartEntry.Text</h2>
|
||||
<span class="navigation-type">(@menuPartEntry.ContentItem.TypeDefinition.DisplayName)</span>
|
||||
<span class="navigation-position"><input type="text" class="text-box" name="@Html.NameOf(m => m.MenuItemEntries[i].Position)" value="@menuPartEntry.Position" /></span>
|
||||
<span class="navigation-position"><input type="text" class="text" name="@Html.NameOf(m => m.MenuItemEntries[i].Position)" value="@menuPartEntry.Position" /></span>
|
||||
<span class="navigation-actions">
|
||||
<input type="hidden" name="@Html.NameOf(m => m.MenuItemEntries[i].MenuItemId)" value="@menuPartEntry.MenuItemId" />
|
||||
@Html.ItemEditLink(T("Edit").Text, menuPartEntry.ContentItem, new { returnUrl = Request.RawUrl })@T(" | ")
|
||||
|
@ -3,6 +3,6 @@
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Url)">@T("Url")</label>
|
||||
@Html.TextBoxFor(m => m.Url, new { @class = "large text" })
|
||||
@Html.TextBoxFor(m => m.Url, new { @class = "text large" })
|
||||
<span class="hint">@T("A valid url, i.e. ~/my-page, http://orchardproject.net, /content/file.pdf, ...")</span>
|
||||
</fieldset>
|
||||
|
@ -14,13 +14,13 @@
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.StartLevel)">@T("Start Level")</label>
|
||||
@Html.TextBoxFor(m => m.StartLevel, new { @class = "text text-small" })
|
||||
@Html.TextBoxFor(m => m.StartLevel, new { @class = "text small" })
|
||||
<span class="hint">@T("The level the menu should start at.")</span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.StopLevel)">@T("Levels to display")</label>
|
||||
@Html.TextBoxFor(m => m.StopLevel, new { @class = "text text-small" })
|
||||
@Html.TextBoxFor(m => m.StopLevel, new { @class = "text small" })
|
||||
<span class="hint">@T("The number of levels to display, \"0\" meaning all levels.")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -8,9 +8,9 @@
|
||||
<label for="OnAdminMenu" class="forcheckbox">@T("Show on admin menu")</label>
|
||||
<div data-controllerid="OnAdminMenu" class="">
|
||||
<label for="AdminMenuText">@T("Menu text")</label>
|
||||
@Html.TextBoxFor(m => m.AdminMenuText, new { @class = "text-box single-line" })
|
||||
@Html.TextBoxFor(m => m.AdminMenuText, new { @class = "text single-line" })
|
||||
|
||||
<label for="AdminMenuPosition">@T("Position")</label>
|
||||
@Html.TextBoxFor(m => m.AdminMenuPosition, new { @class = "text-box single-line" })
|
||||
@Html.TextBoxFor(m => m.AdminMenuPosition, new { @class = "text single-line" })
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<span class="hint">@T("Select which menu you want the content item to be displayed on.")</span>
|
||||
|
||||
<label for="MenuText">@T("Menu text")</label>
|
||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "text-box single-line" })
|
||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "text single-line" })
|
||||
<span class="hint">@T("The text that should appear in the menu.")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
@ -27,7 +27,7 @@ else {
|
||||
|
||||
<fieldset>
|
||||
<label for="MenuText">@T("Menu text")</label>
|
||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "textMedium", autofocus = "autofocus" })
|
||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "text medium", autofocus = "autofocus" })
|
||||
<span class="hint">@T("The text that should appear in the menu.")</span>
|
||||
@Html.HiddenFor(m => m.OnMenu, true)
|
||||
@Html.HiddenFor(m => m.CurrentMenuId, Request["menuId"])
|
||||
|
@ -3,6 +3,6 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.ShapeType, T("Type of the shape to display"))
|
||||
@Html.TextBoxFor(m => m.ShapeType, new { @class = "text textMedium" })
|
||||
@Html.TextBoxFor(m => m.ShapeType, new { @class = "text medium" })
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.BaseUrl)">@T("Base url ")</label>
|
||||
@Html.TextBoxFor(m => m.BaseUrl, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.BaseUrl, new { @class = "text medium" })
|
||||
<span class="hint">@T("Enter the fully qualified base url of your website.")</span>
|
||||
<span class="hint">@T("e.g., http://localhost:30320/orchardlocal, http://www.yourdomain.com")</span>
|
||||
</div>
|
||||
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="DefaultPageSize">@T("Default number of items per page")</label>
|
||||
@Html.TextBoxFor(m => m.PageSize, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.PageSize, new { @class = "text small" })
|
||||
<span class="hint">@T("Determines the default number of items that are shown per page.")</span>
|
||||
</div>
|
||||
</fieldset>
|
@ -2,6 +2,6 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Title, T("Title"))
|
||||
@Html.TextBoxFor(m => m.Title, new { @class = "large text", autofocus = "autofocus" })
|
||||
@Html.TextBoxFor(m => m.Title, new { @class = "text large", autofocus = "autofocus" })
|
||||
<span class="hint">@T("You must provide a title for this content item")</span>
|
||||
</fieldset>
|
||||
|
@ -8,13 +8,13 @@
|
||||
<legend>@T("Create Alias")</legend>
|
||||
<div>
|
||||
<label for="aliasPath">@T("Alias Path")</label>
|
||||
@Html.TextBox("aliasPath", (object)ViewBag.Path, new { @class = "large text" })
|
||||
@Html.TextBox("aliasPath", (object)ViewBag.Path, new { @class = "text large" })
|
||||
@Html.ValidationMessage("aliasPath")
|
||||
<span class="hint">@T("The path of the alias e.g., my-blog/my-post")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="routePath">@T("Route Path")</label>
|
||||
@Html.TextBox("routePath", (object)ViewBag.Route, new { @class = "textMedium" })
|
||||
@Html.TextBox("routePath", (object)ViewBag.Route, new { @class = "text medium" })
|
||||
@Html.ValidationMessage("routePath")
|
||||
<span class="hint">@T("The actual route Orchard should call when the path is requested e.g., Blogs/Blog/Item?blogId=18")</span>
|
||||
</div>
|
||||
|
@ -8,13 +8,13 @@
|
||||
<legend>@T("Edit alias")</legend>
|
||||
<div>
|
||||
<label for="aliasPath">@T("Alias Path")</label>
|
||||
@Html.TextBox("aliasPath", null, new { @class = "large text" })
|
||||
@Html.TextBox("aliasPath", null, new { @class = "text large" })
|
||||
@Html.ValidationMessage("aliasPath")
|
||||
<span class="hint">@T("The path of the alias e.g., my-blog/my-post")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="routePath">@T("Route Path")</label>
|
||||
@Html.TextBox("routePath", null, new { @class = "textMedium" })
|
||||
@Html.TextBox("routePath", null, new { @class = "text medium" })
|
||||
@Html.ValidationMessage("routePath")
|
||||
<span class="hint">@T("The actual route Orchard should call when the path is requested e.g., Blogs/Blog/Item?blogId=18")</span>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<fieldset>
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.Limit, new { @class = "text-small"})
|
||||
@Html.TextBoxFor(m => m.Limit, new { @class = "text small"})
|
||||
<span class="hint">@T("The number of allowed submissions.")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.ApiKey)">@T("Api key")</label>
|
||||
@Html.TextBoxFor(m => m.ApiKey, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.ApiKey, new { @class = "text medium" })
|
||||
@Html.ValidationMessage("ApiKey", "*")
|
||||
<span class="hint">@T("API key for <a href=\"http://akismet.com/personal/\">Akismet</a> service.")</span>
|
||||
</div>
|
||||
|
@ -3,18 +3,18 @@
|
||||
<fieldset>
|
||||
<legend>@T("ReCaptcha")</legend>
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.PublicKey, new { @class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.PublicKey, new { @class = "text medium"})
|
||||
<span class="hint">@T("Your public key.")</span>
|
||||
</div>
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.PrivateKey, new { @class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.PrivateKey, new { @class = "text medium"})
|
||||
<span class="hint">@T("Your private key.")</span>
|
||||
</div>
|
||||
|
||||
@T("Get custom keys:") <a href="http://www.google.com/recaptcha">http://www.google.com/recaptcha</a>
|
||||
|
||||
<div>
|
||||
@Html.EditorFor(m => m.TrustAuthenticatedUsers, new { @class = "textMedium"})
|
||||
@Html.EditorFor(m => m.TrustAuthenticatedUsers, new { @class = "text medium"})
|
||||
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.TrustAuthenticatedUsers)">@T("Hide for authenticated users")</label>
|
||||
<span class="hint">@T("Enable to hide reCaptcha when the user is authenticated.")</span>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.ApiKey)">@T("Api key")</label>
|
||||
@Html.TextBoxFor(m => m.ApiKey, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.ApiKey, new { @class = "text medium" })
|
||||
@Html.ValidationMessage("ApiKey", "*")
|
||||
<span class="hint">@T("API key for <a href=\"http://antispam.typepad.com/info/get-api-key.html\">TypePad AntiSpam</a> service.")</span>
|
||||
</div>
|
||||
|
@ -39,9 +39,9 @@
|
||||
@for (int index = 0; index < Model.Patterns.Count; index++) {
|
||||
<tr>
|
||||
<td>@Html.RadioButtonFor(m => m.DefaultPatternIndex, index, new { @class = "radio" })</td>
|
||||
<td>@Html.TextBoxFor(m => m.Patterns[index].Name, new { @class = "text-box"})</td>
|
||||
<td>@Html.TextBoxFor(m => m.Patterns[index].Pattern, new { @class = "tokenized text-box" })</td>
|
||||
<td>@Html.TextBoxFor(m => m.Patterns[index].Description, new { @class = "text-box" })</td>
|
||||
<td>@Html.TextBoxFor(m => m.Patterns[index].Name, new { @class = "text"})</td>
|
||||
<td>@Html.TextBoxFor(m => m.Patterns[index].Pattern, new { @class = "tokenized text" })</td>
|
||||
<td>@Html.TextBoxFor(m => m.Patterns[index].Description, new { @class = "text" })</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Count, T("Count"))
|
||||
@Html.TextBoxFor(m => m.Count, new { @class = "text-small"})
|
||||
@Html.TextBoxFor(m => m.Count, new { @class = "text small"})
|
||||
<span class="hint">@T("Number of posts to display. Zero for all.")</span>
|
||||
</div>
|
||||
</fieldset>
|
@ -6,12 +6,12 @@
|
||||
<ol>
|
||||
<li>
|
||||
@Html.LabelFor(m => m.Author, T("Name"))
|
||||
@Html.TextBoxFor(m => m.Author, new { @class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.Author, new { @class = "text medium"})
|
||||
<span class="hint">@T("The author's name.")</span>
|
||||
</li>
|
||||
<li>
|
||||
@Html.LabelFor(m => m.Email, T("Email"))
|
||||
@Html.TextBoxFor(m => m.Email, new { @class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.Email, new { @class = "text medium"})
|
||||
<span class="hint">@T("The email address the author has provided with the comment.")</span>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -14,7 +14,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when authors are selecting content items.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</fieldset>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<span class="hint">@T("Select which menu you want the content item to be added on.")</span>
|
||||
|
||||
<label for="MenuText">@T("Menu text")</label>
|
||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "text-box single-line" })
|
||||
@Html.TextBoxFor(m => m.MenuText, new { @class = "text single-line" })
|
||||
<span class="hint">@T("The text that should appear in the menu.")</span>
|
||||
</div>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="DisplayName">@T("Display Name")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayName, new {@class = "textMedium", autofocus = "autofocus"})
|
||||
@Html.TextBoxFor(m => m.DisplayName, new {@class = "text medium", autofocus = "autofocus"})
|
||||
<span class="hint">@T("Name of the field as it will be displayed in screens.")</span>
|
||||
<label for="Name">@T("Technical Name")</label>
|
||||
@Html.TextBoxFor(m => m.Name, new {@class = "text"})
|
||||
|
@ -6,7 +6,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="DisplayName">@T("Display Name")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayName, new {@class = "textMedium", autofocus = "autofocus"})
|
||||
@Html.TextBoxFor(m => m.DisplayName, new {@class = "text medium", autofocus = "autofocus"})
|
||||
<span class="hint">@T("Name of the type as it will be displayed in screens.")</span>
|
||||
<label for="Name">@T("Content Type Id")</label>
|
||||
@Html.TextBoxFor(m => m.Name, new {@class = "text"})
|
||||
|
@ -6,7 +6,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="Name">@T("Name")</label>
|
||||
@Html.TextBoxFor(m => m.Name, new {@class = "textMedium", autofocus = "autofocus"})
|
||||
@Html.TextBoxFor(m => m.Name, new {@class = "text medium", autofocus = "autofocus"})
|
||||
<span class="hint">@T("Use no spaces or special characters. For example, \"MyCustomPart\"")</span>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@ -15,7 +15,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="DisplayName">@T("Display Name")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayName, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.DisplayName, new { @class = "text medium" })
|
||||
<span class="hint">@T("Content Type Id: {0}", Model.Name)</span>
|
||||
@* todo: if we continue to go down the midrodata route, some helpers would be nice *@
|
||||
<meta itemprop="DisplayName" content="@Model.DisplayName" />
|
||||
|
@ -10,7 +10,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="DisplayName">@T("Display Name")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayName, new {@class = "textMedium", autofocus = "autofocus"})
|
||||
@Html.TextBoxFor(m => m.DisplayName, new {@class = "text medium", autofocus = "autofocus"})
|
||||
<span class="hint">@T("Name of the field as it will be displayed in screens.")</span>
|
||||
|
||||
@Html.HiddenFor(m => m.Name)
|
||||
|
@ -10,7 +10,7 @@
|
||||
<fieldset>
|
||||
<label for="Name">@T("Name")</label>
|
||||
@* has unintended consequences (renaming the part) - changing the name creates a new part of that name *@
|
||||
@Html.TextBoxFor(m => m.Name, new {@class = "textMedium", disabled = "disabled"})
|
||||
@Html.TextBoxFor(m => m.Name, new {@class = "text medium", disabled = "disabled"})
|
||||
@Html.HiddenFor(m => m.Name)
|
||||
</fieldset>
|
||||
<div class="manage-part">
|
||||
|
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<fieldset class="bulk-actions">
|
||||
<label for="search-box">@T("Filter:")</label>
|
||||
<input id="search-box" class="text-box" type="text" />
|
||||
<input id="search-box" class="text" type="text" />
|
||||
</fieldset>
|
||||
<ul class="contentItems">
|
||||
@foreach (var type in Model.Types) {
|
||||
|
@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<fieldset class="bulk-actions">
|
||||
<label for="search-box">@T("Filter:")</label>
|
||||
<input id="search-box" class="text-box" type="text" />
|
||||
<input id="search-box" class="text" type="text" />
|
||||
</fieldset>
|
||||
<ul class="contentItems">
|
||||
@foreach (var type in Model.Parts) {
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Stereotype)">@T("Stereotype")</label>
|
||||
@Html.TextBoxFor(m => m.Stereotype, new { @class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.Stereotype, new { @class = "text medium"})
|
||||
@Html.ValidationMessageFor(m => m.Stereotype)
|
||||
<span class="hint">@T("(Optional) The stereotype of the content type. e.g., Widget, MenuItem, ...")</span>
|
||||
</fieldset>
|
@ -52,7 +52,7 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when the user is selecting a value.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</div>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" })
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" })
|
||||
<span class="hint">@T("The help text is written under the field when the user is entering a value.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<fieldset>
|
||||
<label class="forpicker" for="@Html.FieldIdFor(m => m.Options)">@T("Options")</label>
|
||||
<div class="editor-field">
|
||||
@Html.TextAreaFor(m => m.Options, new { @class = "textMedium", rows = "5" })
|
||||
@Html.TextAreaFor(m => m.Options, new { @class = "text medium", rows = "5" })
|
||||
@Html.ValidationMessageFor(m => m.Options)
|
||||
<span class="hint">@T("Enter an option per line.")</span>
|
||||
</div>
|
||||
@ -24,7 +24,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when users are selecting an option.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</fieldset>
|
||||
|
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
<div class="editor-field" data-controllerid="@(Html.FieldIdFor(m => m.Type) + "-text")">
|
||||
<label class="forpicker" for="@Html.FieldIdFor(m => m.Pattern)">@T("Pattern")</label>
|
||||
@Html.TextBoxFor(m => m.Pattern, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Pattern, new { @class = "text medium" })
|
||||
@Html.ValidationMessageFor(m => m.Pattern)
|
||||
<span class="hint">@T("Declaring what pattern should be used for validating a field’s value, in the form of a regular expression. (optional)")</span>
|
||||
</div>
|
||||
@ -64,7 +64,7 @@
|
||||
<fieldset>
|
||||
<div class="editor-field">
|
||||
<label class="forpicker" for="@Html.FieldIdFor(m => m.MaxLength)">@T("Maximum length")</label>
|
||||
@Html.TextBoxFor(m => m.MaxLength, new { @class = "small text" })
|
||||
@Html.TextBoxFor(m => m.MaxLength, new { @class = "text small" })
|
||||
@Html.ValidationMessageFor(m => m.MaxLength)
|
||||
<span class="hint">@T("The maximum number of chars allowed. (optional)")</span>
|
||||
</div>
|
||||
@ -72,7 +72,7 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" })
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" })
|
||||
<span class="hint">@T("The help text is written under the field when the user is entering a value.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@
|
||||
<span class="hint">@T("Define how the title field should behave in the editor.")</span>
|
||||
</div>
|
||||
<div class="editor-field" data-controllerid="@(Html.FieldIdFor(m => m.LinkTextMode) + "-static")">
|
||||
@Html.TextBoxFor(m => m.StaticText, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.StaticText, new { @class = "text medium" })
|
||||
<span class="hint">@T("The title to display for the link")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</div>
|
||||
@ -39,7 +39,7 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<fieldset>
|
||||
<div class="editor-field">
|
||||
<label class="forpicker" for="@Html.FieldIdFor(m => m.Scale)">@T("Scale")</label>
|
||||
@Html.TextBoxFor(m => m.Scale, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Scale, new { @class = "text small" })
|
||||
@Html.ValidationMessageFor(m => m.Scale)
|
||||
<span class="hint">@T("The number of digits to the right of the decimal. Put 0 for integers.")</span>
|
||||
</div>
|
||||
@ -18,7 +18,7 @@
|
||||
<fieldset>
|
||||
<div class="editor-field">
|
||||
<label class="forpicker" for="@Html.FieldIdFor(m => m.Minimum)">@T("Minimum")</label>
|
||||
@Html.TextBoxFor(m => m.Minimum, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Minimum, new { @class = "text small" })
|
||||
@Html.ValidationMessageFor(m => m.Minimum)
|
||||
<span class="hint">@T("The minimum value allowed. (optional)")</span>
|
||||
</div>
|
||||
@ -26,7 +26,7 @@
|
||||
<fieldset>
|
||||
<div class="editor-field">
|
||||
<label class="forpicker" for="@Html.FieldIdFor(m => m.Maximum)">@T("Maximum")</label>
|
||||
@Html.TextBoxFor(m => m.Maximum, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Maximum, new { @class = "text small" })
|
||||
@Html.ValidationMessageFor(m => m.Maximum)
|
||||
<span class="hint">@T("The maximum value allowed. (optional)")</span>
|
||||
</div>
|
||||
@ -34,7 +34,7 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when the user is entering a value.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
}
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Value)" @if(settings.Required) { <text>class="required"</text> }>@Model.DisplayName</label>
|
||||
<input type="@settings.Type.ToString().ToLower()" id="@Html.FieldIdFor(m => m.Value)" name="@Html.FieldNameFor(m => m.Value)"@if(!String.IsNullOrWhiteSpace(settings.Title)) {<text> title="@settings.Title"</text>} value="@Model.Value"@if(settings.Required) {<text> required="required"</text> }@if(settings.AutoFocus) {<text> autofocus="autofocus"</text> }@if(settings.AutoComplete) {<text> autocomplete="on"</text> }@if(!string.IsNullOrWhiteSpace(settings.Placeholder)) {<text> placeholder="@settings.Placeholder"</text>}@if(!string.IsNullOrEmpty(settings.Pattern)) {<text> pattern="@settings.Pattern"</text>}@if(!string.IsNullOrEmpty(settings.EditorCssClass)) {<text> class="@settings.EditorCssClass"</text>} else {<text> class="textMedium"</text>} @if(settings.MaxLength > 1) {<text> maxlength="@settings.MaxLength.ToString()"</text>} />
|
||||
<input type="@settings.Type.ToString().ToLower()" id="@Html.FieldIdFor(m => m.Value)" name="@Html.FieldNameFor(m => m.Value)"@if(!String.IsNullOrWhiteSpace(settings.Title)) {<text> title="@settings.Title"</text>} value="@Model.Value"@if(settings.Required) {<text> required="required"</text> }@if(settings.AutoFocus) {<text> autofocus="autofocus"</text> }@if(settings.AutoComplete) {<text> autocomplete="on"</text> }@if(!string.IsNullOrWhiteSpace(settings.Placeholder)) {<text> placeholder="@settings.Placeholder"</text>}@if(!string.IsNullOrEmpty(settings.Pattern)) {<text> pattern="@settings.Pattern"</text>}@if(!string.IsNullOrEmpty(settings.EditorCssClass)) {<text> class="@settings.EditorCssClass"</text>} else {<text> class="text medium"</text>} @if(settings.MaxLength > 1) {<text> maxlength="@settings.MaxLength.ToString()"</text>} />
|
||||
@Html.ValidationMessageFor(m => m.Value)
|
||||
@if (HasText(settings.Hint)) {
|
||||
<span class="hint">@settings.Hint</span>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<label for="@Html.FieldIdFor(m => m.Value)" @if(settings.Required) { <text>class="required"</text> }>@T("Url")</label>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
@Html.TextBoxFor(m => m.Value, new { @class = "large text" })
|
||||
@Html.TextBoxFor(m => m.Value, new { @class = "text large" })
|
||||
<span class="hint">@T("A valid url, i.e. http://orchardproject.net, /content/file.pdf, ...")</span>
|
||||
</div>
|
||||
@if (settings.LinkTextMode == LinkTextMode.Optional || settings.LinkTextMode == LinkTextMode.Required) {
|
||||
@ -32,7 +32,7 @@
|
||||
<label for="@Html.FieldIdFor(m => m.Text)" @if(settings.LinkTextMode == LinkTextMode.Required) { <text>class="required"</text> }>@T("Text")</label>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
@Html.TextBoxFor(m => m.Text, new {@class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.Text, new {@class = "text medium"})
|
||||
<span class="hint">@T("The text of the link. If left empty, the url will be used instead.")</span>
|
||||
</div>
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Value)" @if(Model.Settings.Required) { <text>class="required"</text> }>@Model.Field.DisplayName</label>
|
||||
@Html.TextBoxFor(m => m.Value, new { @class = "text-small", type = "text", min = (Model.Settings.Minimum.HasValue) ? Model.Settings.Minimum.Value : 0, max = (Model.Settings.Maximum.HasValue) ? Model.Settings.Maximum.Value : 1000000, step = Math.Pow(10, 0 - Model.Settings.Scale).ToString(CultureInfo.InvariantCulture) })
|
||||
@Html.TextBoxFor(m => m.Value, new { @class = "text small", type = "text", min = (Model.Settings.Minimum.HasValue) ? Model.Settings.Minimum.Value : 0, max = (Model.Settings.Maximum.HasValue) ? Model.Settings.Maximum.Value : 1000000, step = Math.Pow(10, 0 - Model.Settings.Scale).ToString(CultureInfo.InvariantCulture) })
|
||||
@Html.ValidationMessageFor(m => m.Value)
|
||||
@if (HasText(Model.Settings.Hint)) {
|
||||
<span class="hint">@Model.Settings.Hint</span>
|
||||
|
@ -220,7 +220,7 @@ namespace Orchard.Forms.Shapes {
|
||||
|
||||
[Shape]
|
||||
public IHtmlString Textbox(dynamic Display, dynamic Shape) {
|
||||
Shape.Classes.Add("text-box");
|
||||
Shape.Classes.Add("text");
|
||||
return DisplayShapeAsInput(Display, Shape, "text");
|
||||
}
|
||||
|
||||
@ -230,7 +230,7 @@ namespace Orchard.Forms.Shapes {
|
||||
dynamic Display,
|
||||
dynamic Shape, string Name, string Value, int Size = 0, int Rows = 0) {
|
||||
var select = (TagBuilder)_tagBuilderFactory.Create(Shape, "textarea");
|
||||
select.AddCssClass("text-box");
|
||||
select.AddCssClass("text");
|
||||
|
||||
if (Name != null) {
|
||||
select.MergeAttribute("name", Name, false);
|
||||
|
@ -203,10 +203,10 @@ input.text, input.textMedium, input.text-box {
|
||||
line-height:1.2em;
|
||||
}
|
||||
/*Are we using the two classes below?*/
|
||||
input.text-small {
|
||||
input.text-small, input.text.small {
|
||||
width:4em;
|
||||
}
|
||||
input.textMedium {
|
||||
input.textMedium, input.text.medium {
|
||||
width:26em;
|
||||
}
|
||||
select {
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
@using(Html.BeginFormAntiForgeryPost()) {
|
||||
<fieldset>
|
||||
@Html.TextBox("id", Model, new { @class= "textMedium"})
|
||||
@Html.TextBox("id", Model, new { @class= "text medium"})
|
||||
<span class="hint">@T("The technical name of the index to create. Must contain letters and numbers only.")</span>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@ -19,7 +19,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="Name">@T("Folder Name")</label>
|
||||
<input id="Name" class="textMedium" name="Name" type="text" />
|
||||
<input id="Name" class="text medium" name="Name" type="text" />
|
||||
<input type="hidden" id="MediaPath" name="MediaPath" value="@Model.MediaPath" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
<div>
|
||||
<label for="embedPath">@T("Embed:")</label>
|
||||
<input id="embedPath" class="textMedium" name="embedPath" type="text" readonly="readonly" value="@embedHTML" />
|
||||
<input id="embedPath" class="text medium" name="embedPath" type="text" readonly="readonly" value="@embedHTML" />
|
||||
<span class="hint">@T("Copy this html to add this media file to your site.")</span>
|
||||
</div>
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
<div>
|
||||
<label for="Name">@T("Name")</label>
|
||||
<input id="Name" name="Name" type="hidden" value="@Model.Name"/>
|
||||
<input id="NewName" class="textMedium" name="NewName" type="text" value="@Model.Name"/>
|
||||
<input id="NewName" class="text medium" name="NewName" type="text" value="@Model.Name"/>
|
||||
</div>
|
||||
<div>
|
||||
<input type="hidden" id="LastUpdated" name="LastUpdated" value="@Model.LastUpdated"/>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<fieldset>
|
||||
<label for="Name">@T("Folder Name:")</label>
|
||||
<input id="MediaPath" name="MediaPath" type="hidden" value="@Model.MediaPath" />
|
||||
<input id="Name" class="textMedium" name="Name" type="text" value="@Model.Name" />
|
||||
<input id="Name" class="text medium" name="Name" type="text" value="@Model.Name" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<button class="primaryAction" type="submit" name="submit.Save" value="@T("Save")">@T("Save")</button>
|
||||
|
@ -4,6 +4,6 @@
|
||||
<legend>@T("Media")</legend>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.UploadAllowedFileTypeWhitelist, T("Upload allowed file types (list of extensions separated by spaces)"))
|
||||
@Html.TextBoxFor(m => m.UploadAllowedFileTypeWhitelist, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.UploadAllowedFileTypeWhitelist, new { @class = "text medium" })
|
||||
</div>
|
||||
</fieldset>
|
@ -14,14 +14,14 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text-medium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when authors are selecting media items.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.DisplayedContentTypes)">@T("Content Types and Parts")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayedContentTypes, new { @class = "text-medium" })
|
||||
@Html.TextBoxFor(m => m.DisplayedContentTypes, new { @class = "text medium" })
|
||||
<span class="hint">@T("A comma separated value of all the content types or content parts to display.")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Caption, T("Caption"))
|
||||
@Html.TextAreaFor(m => m.Caption, new { @class = "large text"})
|
||||
@Html.TextAreaFor(m => m.Caption, new { @class = "text large"})
|
||||
<span class="hint">@T("The caption describes the image in a general context.")</span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.AlternateText, T("Alternate Text"))
|
||||
@Html.TextBoxFor(m => m.AlternateText, new { @class = "large text"})
|
||||
@Html.TextBoxFor(m => m.AlternateText, new { @class = "text large"})
|
||||
<span class="hint">@T("The alternate text is used when the media can't be rendered in a browser.")</span>
|
||||
</fieldset>
|
@ -3,7 +3,7 @@
|
||||
<fieldset>
|
||||
<legend>@T("Web Search")</legend>
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.ApiKey, new { @class = "textMedium"})
|
||||
@Html.TextBoxFor(m => m.ApiKey, new { @class = "text medium"})
|
||||
<span class="hint">@T("Your private key.")</span>
|
||||
</div>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="Name">@T("Folder Name")</label>
|
||||
<input id="Name" class="textMedium" name="Name" type="text" autofocus="autofocus"/>
|
||||
<input id="Name" class="text medium" name="Name" type="text" autofocus="autofocus"/>
|
||||
@Html.HiddenFor(m => m.FolderPath)
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@ -17,7 +17,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="Name">@T("Folder Name")</label>
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "textMedium", autofocus = "autofocus"})
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "text medium", autofocus = "autofocus"})
|
||||
@Html.HiddenFor(m => m.FolderPath)
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@ -108,13 +108,16 @@ fieldset { padding:0; margin: 0; border: 0px solid #dbdbdb; }
|
||||
#orchardmediapicker label.forcheckbox { display: inline; margin: 10px 0 0 4px; }
|
||||
#orchardmediapicker .actions { margin:12px 0 0 0; clear:both; text-align:left; }
|
||||
|
||||
#orchardmediapicker .text-box {width:90%;}
|
||||
#orchardmediapicker .text-box,
|
||||
#orchardmediapicker .text {
|
||||
width:90%;
|
||||
}
|
||||
|
||||
#orchardmediapicker input[type=checkbox] { clear: both; }
|
||||
|
||||
.image-width, .image-height {float:left; width:90px;}
|
||||
|
||||
#orchardmediapicker .image-width .text-box, #orchardmediapicker .image-height .text-box, #orchardmediapicker #folderName {width:60%;}
|
||||
#orchardmediapicker .image-width .text, #orchardmediapicker .image-height .text, #orchardmediapicker #folderName {width:60%;}
|
||||
|
||||
|
||||
.clearboth {
|
||||
|
@ -27,7 +27,7 @@
|
||||
</p>
|
||||
<fieldset>
|
||||
<input id="__requesttoken" type="hidden" value="@Html.AntiForgeryTokenValueOrchard()" />
|
||||
<input class="text-box" id="folderName" type="text" />
|
||||
<input class="text" id="folderName" type="text" />
|
||||
<input class="button disabled" type="button" id="createFolder" value="@T("Create Folder")" />
|
||||
</fieldset>
|
||||
</div>
|
||||
@ -80,22 +80,22 @@
|
||||
<ol>
|
||||
<li>
|
||||
<label for="lib-src">@T("URL")</label>
|
||||
<input class="text-box" type="text" id="lib-src" />
|
||||
<input class="text" type="text" id="lib-src" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="lib-alt">@T("Alternative Text")</label>
|
||||
<input class="text-box" type="text" id="lib-alt" />
|
||||
<input class="text" type="text" id="lib-alt" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="lib-class">@T("Class")</label>
|
||||
<input class="text-box" type="text" id="lib-class" />
|
||||
<input class="text" type="text" id="lib-class" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="lib-style">@T("Style")</label>
|
||||
<input class="text-box" type="text" id="lib-style" />
|
||||
<input class="text" type="text" id="lib-style" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
@ -117,11 +117,11 @@
|
||||
<li class="group">
|
||||
<div class="image-width">
|
||||
<label for="lib-width">@T("Width")</label>
|
||||
<input class="text-box" type="text" id="lib-width" /> x
|
||||
<input class="text" type="text" id="lib-width" /> x
|
||||
</div>
|
||||
<div class="image-height">
|
||||
<label for="lib-height">@T("Height")</label>
|
||||
<input class="text-box" type="text" id="lib-height" />
|
||||
<input class="text" type="text" id="lib-height" />
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="img-src">@T("URL for the image resource")</label>
|
||||
<input class="text-box" type="text" id="img-src" />
|
||||
<input class="text" type="text" id="img-src" />
|
||||
</div>
|
||||
<div>
|
||||
@using(Html.BeginFormAntiForgeryPost(uploadAction, FormMethod.Post, new { id = "img-uploadform", enctype = "multipart/form-data", onsubmit="jQuery.mediaPicker.uploadMedia(this)"})) {
|
||||
@ -34,17 +34,17 @@
|
||||
<ol>
|
||||
<li>
|
||||
<label for="img-alt">@T("Alternative Text")</label>
|
||||
<input class="text-box" type="text" id="img-alt" />
|
||||
<input class="text" type="text" id="img-alt" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="img-class">@T("Class")</label>
|
||||
<input class="text-box" type="text" id="img-class" />
|
||||
<input class="text" type="text" id="img-class" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="img-style">@T("Style")</label>
|
||||
<input class="text-box" type="text" id="img-style" />
|
||||
<input class="text" type="text" id="img-style" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
@ -66,11 +66,11 @@
|
||||
<li class="group">
|
||||
<div class="image-width">
|
||||
<label for="img-width">@T("Width")</label>
|
||||
<input class="text-box" type="text" id="img-width" /> x
|
||||
<input class="text" type="text" id="img-width" /> x
|
||||
</div>
|
||||
<div class="image-height">
|
||||
<label for="img-height">@T("Height")</label>
|
||||
<input class="text-box" type="text" id="img-height" />
|
||||
<input class="text" type="text" id="img-height" />
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@ -85,4 +85,4 @@
|
||||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div data-controllerid="ext-@Html.FieldIdFor(m => m)">
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.AllowedExtensions, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.AllowedExtensions, new { @class = "text medium" })
|
||||
<span class="hint">@T("You can define a set of extensions the user will be able to pick, separated by spaces, e.g. jpg png gif")</span>
|
||||
<span class="hint">@T("Leave it empty if you don't want to apply any restriction.")</span>
|
||||
</div>
|
||||
@ -27,7 +27,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when authors are selecting media items.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</fieldset>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div data-controllerid="ext-@Html.FieldIdFor(m => m)">
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.AllowedExtensions, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.AllowedExtensions, new { @class = "text medium" })
|
||||
<span class="hint">@T("You can define a set of extensions the user will be able to pick, separated by spaces, e.g. jpg png gif")</span>
|
||||
<span class="hint">@T("Leave it empty if you don't want to apply any restriction.")</span>
|
||||
</div>
|
||||
@ -28,21 +28,21 @@
|
||||
<span class="hint">@T("Custom parameters can be used if your own views.")</span>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Custom1)">@T("Custom1")</label>
|
||||
@Html.TextBoxFor(m => m.Custom1, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Custom1, new { @class = "text medium" })
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Custom2)">@T("Custom2")</label>
|
||||
@Html.TextBoxFor(m => m.Custom2, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Custom2, new { @class = "text medium" })
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Custom3)">@T("Custom3")</label>
|
||||
@Html.TextBoxFor(m => m.Custom3, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Custom3, new { @class = "text medium" })
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when authors are selecting a media.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</fieldset>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Url)" @if(settings.Required) { <text>class="required"</text> }>@Model.DisplayName</label>
|
||||
@Html.TextBoxFor(m => m.Url, new { @class = "textMedium", @readonly = "readonly" }) <span id="btn-@Html.FieldIdFor(m => m.Url)" class="button">@T("Browse")</span>
|
||||
@Html.TextBoxFor(m => m.Url, new { @class = "text medium", @readonly = "readonly" }) <span id="btn-@Html.FieldIdFor(m => m.Url)" class="button">@T("Browse")</span>
|
||||
|
||||
@if(!settings.Required) {
|
||||
<span id="clear-@Html.FieldIdFor(m => m.Url)" class="button">@T("Clear")</span>
|
||||
|
@ -76,7 +76,7 @@ namespace Orchard.MediaProcessing.Providers.Filters {
|
||||
Title: T("Quality"),
|
||||
Value: 90,
|
||||
Description: T("JPeg compression quality, from 0 to 100."),
|
||||
Classes: new[] { "text-small" })
|
||||
Classes: new[] { "text small" })
|
||||
);
|
||||
|
||||
f._Format.Add(new SelectListItem { Value = "jpg", Text = T("Jpeg").Text });
|
||||
|
@ -109,13 +109,13 @@ namespace Orchard.MediaProcessing.Providers.Filters {
|
||||
Title: T("Width"),
|
||||
Value: 0,
|
||||
Description: T("The width in pixels."),
|
||||
Classes: new[] {"text-small"}),
|
||||
Classes: new[] {"text small"}),
|
||||
_Height: Shape.Textbox(
|
||||
Id: "height", Name: "Height",
|
||||
Title: T("Height"),
|
||||
Value: 0,
|
||||
Description: T("The height in pixels."),
|
||||
Classes: new[] {"text-small"}),
|
||||
Classes: new[] {"text small"}),
|
||||
_Mode: Shape.SelectList(
|
||||
Id: "mode", Name: "Mode",
|
||||
Title: T("Mode"),
|
||||
@ -133,7 +133,7 @@ namespace Orchard.MediaProcessing.Providers.Filters {
|
||||
Title: T("Pad Color"),
|
||||
Value: "#ffffff",
|
||||
Description: T("The background color to use to pad the image. Named color or hex value."),
|
||||
Classes: new[] {"text-small"})
|
||||
Classes: new[] {"text small"})
|
||||
);
|
||||
|
||||
f._Mode.Add(new SelectListItem { Value = "max", Text = T("Max").Text });
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text medium" })
|
||||
<span class="hint">@T("You may optionally give a description to this filter, to be used in the dashboard screens.")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
<div class="bulk-actions-wrapper">
|
||||
<fieldset class="bulk-actions">
|
||||
<label for="search-box">@T("Filter:")</label>
|
||||
<input id="search-box" class="text-box" type="text" />
|
||||
<input id="search-box" class="text" type="text" />
|
||||
</fieldset>
|
||||
<fieldset class="bulk-actions">
|
||||
<label for="publishActions">@T("Actions:")</label>
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost(Url.Action("Index", "Admin"))) {
|
||||
<fieldset class="search-actions">
|
||||
<input type="text" id="searchText" class="text-box single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
<input type="text" id="searchText" class="text single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
|
||||
<button type="submit">@T("Search").ToString()</button>
|
||||
</fieldset>
|
||||
|
@ -12,12 +12,12 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.RequestUrlHost)">@T("Host")</label>
|
||||
@Html.TextBoxFor(m => m.RequestUrlHost, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.RequestUrlHost, new { @class = "text medium" })
|
||||
<span class="hint">@T("Example: If host is \"orchardproject.net\", the tenant site URL is \"http://orchardproject.net/\"")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.RequestUrlPrefix)">@T("URL prefix")</label>
|
||||
@Html.TextBoxFor(m => m.RequestUrlPrefix, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.RequestUrlPrefix, new { @class = "text medium" })
|
||||
<span class="hint">@T("(Optional) Example: If prefix is \"site1\", the tenant URL prefix is \"http://orchardproject.net/site1\"")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -11,12 +11,12 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.RequestUrlHost)">@T("Host")</label>
|
||||
@Html.TextBoxFor(m => m.RequestUrlHost, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.RequestUrlHost, new { @class = "text medium" })
|
||||
<span class="hint">@T("Example: If host is \"orchardproject.net\", the tenant site URL is \"http://orchardproject.net/\"")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.RequestUrlPrefix)">@T("URL prefix")</label>
|
||||
@Html.TextBoxFor(m => m.RequestUrlPrefix, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.RequestUrlPrefix, new { @class = "text medium" })
|
||||
<span class="hint">@T("(Optional) Example: If prefix is \"site1\", the tenant URL prefix is \"http://orchardproject.net/site1\"")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
@ -40,7 +40,7 @@
|
||||
<label for="sqlDatabaseOption" class="forcheckbox">@T("Use an existing SQL Server (or SQL Express) database")</label>
|
||||
<span data-controllerid="sqlDatabaseOption">
|
||||
<label for="DatabaseConnectionString">@T("Connection string")</label>
|
||||
@Html.TextBoxFor(svm => svm.DatabaseConnectionString, new { @class = "large text" })
|
||||
@Html.TextBoxFor(svm => svm.DatabaseConnectionString, new { @class = "text large" })
|
||||
<span class="hint">@T("Example:")<br />@T("Data Source=sqlServerName;Initial Catalog=dbName;Persist Security Info=True;User ID=userName;Password=password")</span>
|
||||
</span>
|
||||
<span data-controllerid="sqlDatabaseOption">
|
||||
|
@ -15,31 +15,31 @@
|
||||
|
||||
<fieldset>
|
||||
<label>@T("Default Cache Duration")</label>
|
||||
@Html.TextBoxFor(m => m.DefaultCacheDuration, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.DefaultCacheDuration, new { @class = "text small" })
|
||||
<span class="hint">@T("Number of seconds the pages should be kept in cache on the server.")</span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<label>@T("Max Age")</label>
|
||||
@Html.TextBoxFor(m => m.DefaultMaxAge, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.DefaultMaxAge, new { @class = "text small" })
|
||||
<span class="hint">@T("When defined, a cache-control header with a max-age property will be added. Use this in order to enable kernel cache on IIS.")</span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<label>@T("Vary Query String Parameters")</label>
|
||||
@Html.TextBoxFor(m => m.VaryQueryStringParameters, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.VaryQueryStringParameters, new { @class = "text medium" })
|
||||
<span class="hint">@T("When defined, using comma separated values, sets caching to vary via specified query string parameters")</span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<label>@T("Vary Request Headers")</label>
|
||||
@Html.TextBoxFor(m => m.VaryRequestHeaders, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.VaryRequestHeaders, new { @class = "text medium" })
|
||||
<span class="hint">@T("When defined, using comma separated values, sets caching to vary via specified request headers.")</span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<label>@T("Ignored urls")</label>
|
||||
@Html.TextAreaFor(m => m.IgnoredUrls, new { @class = "textMedium" })
|
||||
@Html.TextAreaFor(m => m.IgnoredUrls, new { @class = "text medium" })
|
||||
<span class="hint">@T("This must be a set of relative paths, e.g., /, /About. Please ensure that you enter only one path per line.")</span>
|
||||
<span class="hint">@T("You can add comments by starting the line with #.")</span>
|
||||
</fieldset>
|
||||
@ -71,7 +71,7 @@
|
||||
<td>@routeConfiguration.Url</td>
|
||||
<td style="width:60px;">@routeConfiguration.Priority</td>
|
||||
<td style="width:500px;">
|
||||
@Html.TextBoxFor(m => m.RouteConfigurations[index].Duration, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.RouteConfigurations[index].Duration, new { @class = "text small" })
|
||||
<span class="hint">@T("Leave empty to use default duration, 0 to disable caching on this route.")</span>
|
||||
</td>
|
||||
@Html.HiddenFor(m => m.RouteConfigurations[index].RouteKey)
|
||||
|
@ -6,7 +6,7 @@
|
||||
@Html.ValidationSummary()
|
||||
<fieldset>
|
||||
<label for="Url">@T("Feed Url")</label>
|
||||
<input id="Url" class="textMedium" name="Url" type="text" value="@Model.Url"/>
|
||||
<input id="Url" class="text medium" name="Url" type="text" value="@Model.Url"/>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<button class="primaryAction" type="submit">@T("Add Feed")</button>
|
||||
|
@ -31,7 +31,7 @@
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="search-actions">
|
||||
<input type="text" id="searchText" class="text-box single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
<input type="text" id="searchText" class="text single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
|
||||
<button type="submit">@T("Search")</button>
|
||||
</fieldset>
|
||||
|
@ -31,7 +31,7 @@
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="search-actions">
|
||||
<input type="text" id="searchText" class="text-box single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
<input type="text" id="searchText" class="text single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
|
||||
<button type="submit">@T("Search")</button>
|
||||
</fieldset>
|
||||
|
@ -34,7 +34,7 @@ namespace Orchard.Projections.FilterEditors.Forms {
|
||||
_Value: Shape.TextBox(
|
||||
Id: "value", Name: "Value",
|
||||
Title: T("Value"),
|
||||
Classes: new[] { "textMedium", "tokenized" },
|
||||
Classes: new[] { "text medium", "tokenized" },
|
||||
Description: T("Enter the value the string should be.")
|
||||
)
|
||||
);
|
||||
|
@ -48,49 +48,49 @@ namespace Orchard.Projections.Providers.Layouts {
|
||||
Id: "grid-tag", Name: "GridTag",
|
||||
Title: T("Grid tag"),
|
||||
Description: T("The tag of the grid. Leave empty for no tag. (e.g., table)"),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_GridId: Shape.TextBox(
|
||||
Id: "grid-id", Name: "GridId",
|
||||
Title: T("Grid id"),
|
||||
Description: T("The id to provide on the grid element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_GridClass: Shape.TextBox(
|
||||
Id: "grid-class", Name: "GridClass",
|
||||
Title: T("Grid class"),
|
||||
Description: T("The class to provide on the grid element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_RowTag: Shape.TextBox(
|
||||
Id: "row-tag", Name: "RowTag",
|
||||
Title: T("Row tag"),
|
||||
Description: T("The tag of a row. Leave empty for no tag. (e.g., tr)"),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_RowClass: Shape.TextBox(
|
||||
Id: "row-class", Name: "RowClass",
|
||||
Title: T("Row class"),
|
||||
Description: T("The class to provide on each row."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_CellTag: Shape.TextBox(
|
||||
Id: "cell-tag", Name: "CellTag",
|
||||
Title: T("Cell tag"),
|
||||
Description: T("The tag of a cell. Leave empty for no tag. (e.g., td)"),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_CellClass: Shape.TextBox(
|
||||
Id: "cell-class", Name: "CellClass",
|
||||
Title: T("Cell class"),
|
||||
Description: T("The class to provide on each cell."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_EmptyCell: Shape.TextBox(
|
||||
Id: "empty-cell", Name: "EmptyCell",
|
||||
Title: T("Empty Cell"),
|
||||
Description: T("The HTML to render as empty cells to fill a row. (e.g., <td> </td>"),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -40,19 +40,19 @@ namespace Orchard.Projections.Providers.Layouts {
|
||||
Id: "list-id", Name: "ListId",
|
||||
Title: T("List id"),
|
||||
Description: T("The id to provide on the list element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_ListClass: Shape.TextBox(
|
||||
Id: "list-class", Name: "ListClass",
|
||||
Title: T("List class"),
|
||||
Description: T("The class to provide on the list element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_ItemClass: Shape.TextBox(
|
||||
Id: "item-class", Name: "ItemClass",
|
||||
Title: T("Item class"),
|
||||
Description: T("The class to provide on each list item."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -27,49 +27,49 @@ namespace Orchard.Projections.Providers.Layouts {
|
||||
Id: "container-tag", Name: "ContainerTag",
|
||||
Title: T("Container tag"),
|
||||
Description: T("The tag of the container. Leave empty for no container."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_ContainerId: Shape.TextBox(
|
||||
Id: "container-id", Name: "ContainerId",
|
||||
Title: T("Container id"),
|
||||
Description: T("The id to provide on the container element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_ContainerClass: Shape.TextBox(
|
||||
Id: "container-class", Name: "ContainerClass",
|
||||
Title: T("Container class"),
|
||||
Description: T("The class to provide on the container element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_ItemTag: Shape.TextBox(
|
||||
Id: "item-tag", Name: "ItemTag",
|
||||
Title: T("Item tag"),
|
||||
Description: T("The tag of each item. Leave empty for no tag."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_ItemClass: Shape.TextBox(
|
||||
Id: "item-class", Name: "ItemClass",
|
||||
Title: T("Item class"),
|
||||
Description: T("The class to provide on each item."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_Prepend: Shape.TextBox(
|
||||
Id: "prepend", Name: "Prepend",
|
||||
Title: T("Prepend"),
|
||||
Description: T("Some HTML to insert before the first element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_Separator: Shape.TextBox(
|
||||
Id: "separator", Name: "Separator",
|
||||
Title: T("Separator"),
|
||||
Description: T("Some HTML to insert between two items."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
),
|
||||
_Append: Shape.TextBox(
|
||||
Id: "append", Name: "Append",
|
||||
Title: T("Append"),
|
||||
Description: T("Some HTML to insert after the last element."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -27,7 +27,7 @@ namespace Orchard.Projections.Providers.Layouts {
|
||||
Id: "shape-type", Name: "ShapeType",
|
||||
Title: T("Shape type"),
|
||||
Description: T("The type of the shape which is used for rendering content items."),
|
||||
Classes: new[] { "textMedium", "tokenized" }
|
||||
Classes: new[] { "text medium", "tokenized" }
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -15,13 +15,13 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.FullName, T("Content Part Record"))
|
||||
@Html.TextBoxFor(m => m.FullName, new { @class = "textMedium text", @readonly = "readonly" })
|
||||
@Html.TextBoxFor(m => m.FullName, new { @class = "text medium", @readonly = "readonly" })
|
||||
<span class="hint">@T("The content part to add to the providers.")</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Member, T("Member"))
|
||||
@Html.TextBoxFor(m => m.Member, new { @class = "small-text text", @readonly = "readonly" })
|
||||
@Html.TextBoxFor(m => m.Member, new { @class = "text small", @readonly = "readonly" })
|
||||
<span class="hint">@T("The name of the member.")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
@ -29,13 +29,13 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Display, T("Display"))
|
||||
@Html.TextBoxFor(m => m.Display, new { @class = "textMedium text" })
|
||||
@Html.TextBoxFor(m => m.Display, new { @class = "text medium" })
|
||||
<span class="hint">@T("Text to display in lists for this property.")</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "large text" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text large" })
|
||||
<span class="hint">@T("Description to display in lists for this property.")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -25,13 +25,13 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Items, T("Items to display"))
|
||||
@Html.TextBoxFor(m => m.Items, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Items, new { @class = "text small" })
|
||||
<span class="hint">@T("The number of items to display. Enter 0 for no limit.")</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Skip, T("Offset"))
|
||||
@Html.TextBoxFor(m => m.Skip, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Skip, new { @class = "text small" })
|
||||
<span class="hint">@T("The number of items to skip (e.g., if 2 is entered, the first 2 items won't be diplayed).")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -34,25 +34,25 @@
|
||||
<fieldset>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Items, T("Items to display"))
|
||||
@Html.TextBoxFor(m => m.Items, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Items, new { @class = "text small" })
|
||||
<span class="hint">@T("The number of items to display. Enter 0 for no limit. When using pagination, this is the number of items per page.")</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@Html.LabelFor(m => m.Skip, T("Offset"))
|
||||
@Html.TextBoxFor(m => m.Skip, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Skip, new { @class = "text small" })
|
||||
<span class="hint">@T("The number of items to skip (e.g., if 2 is entered, the first 2 items won't be diplayed).")</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@Html.LabelFor(m => m.MaxItems, T("Maximum items"))
|
||||
@Html.TextBoxFor(m => m.MaxItems, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.MaxItems, new { @class = "text small" })
|
||||
<span class="hint">@T("Maximum number of items which can be queried at once. Use 0 for unlimited. This is only used as a failsafe when the number of items comes from a user-provided source such as the query string.")</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@Html.LabelFor(m => m.PagerSuffix, T("Suffix"))
|
||||
@Html.TextBoxFor(m => m.PagerSuffix, new { @class = "text-box" })
|
||||
@Html.TextBoxFor(m => m.PagerSuffix, new { @class = "text" })
|
||||
<span class="hint">@T("Optional. Provide a suffix to use when multiple pagers are displayed on the same page, e.g., when using multiple Projection Widgets, or to define alternates.")</span>
|
||||
</div>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text medium" })
|
||||
<span class="hint">@T("You may optionally give a description to this filter, to be used in the dashboard screens.")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text medium" })
|
||||
<span class="hint">@T("You may optionally give a description to this layout, to be used in the dashboard screens.")</span>
|
||||
</fieldset>
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
<div class="options">
|
||||
<span data-controllerid="display-content-radio">
|
||||
<label for="DatabaseConnectionString">@T("Display Type")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayType, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.DisplayType, new { @class = "text medium" })
|
||||
<span class="hint">@T("The display type determines how the content item should be formatted. e.g., Summary, SummaryAdmin, Detail, ...")</span>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text medium" })
|
||||
<span class="hint">@T("You may optionally give a description to this layout, to be used in the dashboard screens.")</span>
|
||||
</fieldset>
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
<div class="options">
|
||||
<span data-controllerid="display-content-radio">
|
||||
<label for="DatabaseConnectionString">@T("Display Type")</label>
|
||||
@Html.TextBoxFor(m => m.DisplayType, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.DisplayType, new { @class = "text medium" })
|
||||
<span class="hint">@T("The display type determines how the content item should be formatted. e.g., Summary, SummaryAdmin, Detail, ...")</span>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -17,7 +17,7 @@
|
||||
@* Field settings *@
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text medium" })
|
||||
<span class="hint">@T("You may optionally give a description to this property, to be used in the dashboard screens.")</span>
|
||||
</fieldset>
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
<label class="forcheckbox" for="@Html.FieldIdFor(m => m.CreateLabel)">@T("Create a label")</label>
|
||||
<div data-controllerid="@Html.FieldIdFor(m => m.CreateLabel)">
|
||||
<div>
|
||||
@Html.TextBoxFor(m => m.Label, new { @class = "textMedium tokenized" })
|
||||
@Html.TextBoxFor(m => m.Label, new { @class = "text medium tokenized" })
|
||||
<span class="hint">@T("The text to display as a label for this property.")</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -66,12 +66,12 @@
|
||||
<div data-controllerid="@Html.FieldIdFor(m => m.CustomizePropertyHtml)">
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.CustomPropertyTag)">@T("HTML element")</label>
|
||||
@Html.TextBoxFor(m => m.CustomPropertyTag, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.CustomPropertyTag, new { @class = "text small" })
|
||||
<span class="hint">@T("The HTML element to wrap around this property (e.g., h1, p, etc.). Use - to prevent a tag from being rendered.")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.CustomPropertyCss)">@T("Css class")</label>
|
||||
@Html.TextBoxFor(m => m.CustomPropertyCss, new { @class = "textMedium tokenized" })
|
||||
@Html.TextBoxFor(m => m.CustomPropertyCss, new { @class = "text medium tokenized" })
|
||||
<span class="hint">@T("The Css class to apply to this element.")</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -82,12 +82,12 @@
|
||||
<div data-controllerid="@Html.FieldIdFor(m => m.CustomizeLabelHtml)">
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.CustomLabelTag)">@T("HTML element")</label>
|
||||
@Html.TextBoxFor(m => m.CustomLabelTag, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.CustomLabelTag, new { @class = "text small" })
|
||||
<span class="hint">@T("The HTML element to wrap around this label (e.g., h1, p, etc.). Use - to prevent a tag from being rendered.")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.CustomLabelCss)">@T("Css class")</label>
|
||||
@Html.TextBoxFor(m => m.CustomLabelCss, new { @class = "textMedium tokenized" })
|
||||
@Html.TextBoxFor(m => m.CustomLabelCss, new { @class = "text medium tokenized" })
|
||||
<span class="hint">@T("The Css class to apply to this element.")</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -98,12 +98,12 @@
|
||||
<div data-controllerid="@Html.FieldIdFor(m => m.CustomizeWrapperHtml)">
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.CustomWrapperTag)">@T("HTML element")</label>
|
||||
@Html.TextBoxFor(m => m.CustomWrapperTag, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.CustomWrapperTag, new { @class = "text small" })
|
||||
<span class="hint">@T("The HTML element to wrap around this wrapper (e.g., h1, p, etc.). Use - to prevent a tag from being rendered.")</span>
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.CustomWrapperCss)">@T("Css class")</label>
|
||||
@Html.TextBoxFor(m => m.CustomWrapperCss, new { @class = "textMedium tokenized" })
|
||||
@Html.TextBoxFor(m => m.CustomWrapperCss, new { @class = "text medium tokenized" })
|
||||
<span class="hint">@T("The Css class to apply to this element.")</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -117,7 +117,7 @@
|
||||
<div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.NoResultText)">@T("No results text")</label>
|
||||
@Html.TextBoxFor(m => m.NoResultText, new { @class = "textMedium tokenized" })
|
||||
@Html.TextBoxFor(m => m.NoResultText, new { @class = "text medium tokenized" })
|
||||
<span class="hint">@T("Text to display when the property is empty.")</span>
|
||||
</div>
|
||||
|
||||
@ -149,7 +149,7 @@
|
||||
<div data-controllerid="@Html.FieldIdFor(m => m.RewriteOutput)">
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.RewriteText)">@T("Rewrite text")</label>
|
||||
@Html.TextBoxFor(m => m.RewriteText, new { @class = "large text tokenized" })
|
||||
@Html.TextBoxFor(m => m.RewriteText, new { @class = "text large tokenized" })
|
||||
<span class="hint">@T("The text to write for this field. It may include HTML. {Text} can be used to inject the current property text.")</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -163,7 +163,7 @@
|
||||
<div data-controllerid="@Html.FieldIdFor(m => m.TrimLength)">
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.MaxLength)">@T("Maximum length")</label>
|
||||
@Html.TextBoxFor(m => m.MaxLength, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.MaxLength, new { @class = "text small" })
|
||||
<span class="hint">@T("The maximum number of characters this property can be.")</span>
|
||||
</div>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Description, T("Description"))
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m => m.Description, new { @class = "text medium" })
|
||||
<span class="hint">@T("You may optionally give a description to this sort criterion, to be used in the dashboard screens.")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -37,7 +37,7 @@ namespace Orchard.Roles.Forms {
|
||||
Id: "actions", Name: "Actions",
|
||||
Title: T("Available actions."),
|
||||
Description: T("A comma separated list of actions."),
|
||||
Classes: new[] {"textMedium"})
|
||||
Classes: new[] { "text medium" })
|
||||
);
|
||||
|
||||
f._Parts.Add(new SelectListItem { Value = "", Text = T("Any").Text });
|
||||
|
@ -28,7 +28,7 @@ namespace Orchard.Rules.Providers {
|
||||
Id: "message", Name: "message",
|
||||
Title: T("Message"),
|
||||
Description: T("The notification message to display."),
|
||||
Classes: new[] { "textMedium", "tokenized" })
|
||||
Classes: new[] { "text medium", "tokenized" })
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ namespace Orchard.Rules.Providers {
|
||||
_Amount: Shape.Textbox(
|
||||
Id: "Amount", Name: "Amount",
|
||||
Title: T("Amount"),
|
||||
Classes: new[] { "text-small" }),
|
||||
Classes: new[] { "text small" }),
|
||||
_Type: Shape.SelectList(
|
||||
Id: "Unity", Name: "Unity",
|
||||
Title: T("Amount type"))
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Name)
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "textMedium text" })
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "text medium" })
|
||||
<span class="hint">@T("The name of the Rule")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Name)
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "textMedium text" })
|
||||
@Html.TextBoxFor(m => m.Name, new { @class = "text medium" })
|
||||
<span class="hint">@T("The name of the Rule")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -21,7 +21,7 @@ namespace Orchard.Scripting.CSharp.Forms {
|
||||
Id: "outcomes", Name: "Outcomes",
|
||||
Title: T("Possible Outcomes."),
|
||||
Description: T("A comma-separated list of possible outcomes."),
|
||||
Classes: new[] { "textMedium" }),
|
||||
Classes: new[] { "text medium" }),
|
||||
_Script: Shape.TextArea(
|
||||
Id: "Script", Name: "Script",
|
||||
Title: T("Script"),
|
||||
|
@ -5,7 +5,7 @@
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Script)">@T("Script")</label>
|
||||
<div>
|
||||
@Html.TextAreaFor(m => m.Script, new { @class = "textMedium", rows = "5" })
|
||||
@Html.TextAreaFor(m => m.Script, new { @class = "text medium", rows = "5" })
|
||||
<span class="hint">@T("The script to run everytime the content item is edited. You can use ContentItem, Services, WorkContext, T() and AddModelError().")</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -27,7 +27,7 @@ namespace Orchard.Scripting.Rules {
|
||||
Id: "description", Name: "description",
|
||||
Title: T("Description"),
|
||||
Description: T("Message that will be displayed in the Actions list."),
|
||||
Classes: new[] { "textMedium" }),
|
||||
Classes: new[] { "text medium" }),
|
||||
_Condition: Shape.TextArea(
|
||||
Id: "condition", Name: "condition",
|
||||
Title: T("Condition"),
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
@using (Html.BeginForm("index", "admin", new { area = "Orchard.Search" }, FormMethod.Get)) {
|
||||
<label for="search-text">@T("Search")</label>
|
||||
@Html.TextBox("searchText", (string)Model.SearchText, new { @class = "text textMedium", autofocus = "autofocus" })
|
||||
@Html.TextBox("searchText", (string)Model.SearchText, new { @class = "text medium", autofocus = "autofocus" })
|
||||
|
||||
<button type="submit">@T("Search")</button>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
<fieldset class="bulk-actions">
|
||||
<label for="search-text">@T("Search")</label>
|
||||
@Html.TextBox("searchText", (string)Model.SearchText, new { @class = "text textMedium", autofocus = "autofocus" })
|
||||
@Html.TextBox("searchText", (string)Model.SearchText, new { @class = "text medium", autofocus = "autofocus" })
|
||||
|
||||
<button type="submit">@T("Search")</button>
|
||||
</fieldset>
|
||||
|
@ -20,11 +20,11 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="AdminPassword">@T("Choose a password:")</label>
|
||||
@Html.PasswordFor(svm => svm.AdminPassword, new { @class = "text-box single-line" })
|
||||
@Html.PasswordFor(svm => svm.AdminPassword, new { @class = "text single-line" })
|
||||
</div>
|
||||
<div>
|
||||
<label for="ConfirmAdminPassword">@T("Confirm the password:")</label>
|
||||
@Html.PasswordFor(svm => svm.ConfirmPassword, new { @class = "text-box single-line" })
|
||||
@Html.PasswordFor(svm => svm.ConfirmPassword, new { @class = "text single-line" })
|
||||
</div>
|
||||
</fieldset>
|
||||
if (!Model.DatabaseIsPreconfigured) {
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Tags, T("Tags"))
|
||||
@Html.TextBoxFor(m => m.Tags, new { @class = "large text" })
|
||||
@Html.TextBoxFor(m => m.Tags, new { @class = "text large" })
|
||||
<span class="hint">@T("Separate multiple tags with commas")</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
<fieldset>
|
||||
<label for="@Html.FieldIdFor(m => m.Hint)">@T("Help text")</label>
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "textMedium", rows = "5" } )
|
||||
@Html.TextAreaFor(m => m.Hint, new { @class = "text medium", rows = "5" } )
|
||||
<span class="hint">@T("The help text is written under the field when authors are editing the content item.")</span>
|
||||
@Html.ValidationMessageFor(m => m.Hint)
|
||||
</fieldset>
|
@ -7,6 +7,6 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Weight)
|
||||
@Html.TextBoxFor(m => m.Weight, new { @class = "text-small" })
|
||||
@Html.TextBoxFor(m => m.Weight, new { @class = "text small" })
|
||||
<span class="hint">@T("If specified, it will be used to sort terms at the same level")</span>
|
||||
</fieldset>
|
||||
|
@ -1,21 +1,21 @@
|
||||
@model Orchard.Users.ViewModels.UserCreateViewModel
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.UserName, T("User Name"))
|
||||
@Html.TextBoxFor(m=>m.UserName, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m=>m.UserName, new { @class = "text medium" })
|
||||
@Html.ValidationMessageFor(m=>m.UserName, "*")
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Email, T("Email"))
|
||||
@Html.TextBoxFor(m=>m.Email, new { @class = "textMedium" })
|
||||
@Html.TextBoxFor(m=>m.Email, new { @class = "text medium" })
|
||||
@Html.ValidationMessageFor(m=>m.Email, "*")
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Password, T("Password"))
|
||||
@Html.PasswordFor(m=>m.Password, new { @class = "textMedium" })
|
||||
@Html.PasswordFor(m=>m.Password, new { @class = "text medium" })
|
||||
@Html.ValidationMessageFor(m=>m.Password, "*")
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.ConfirmPassword, T("Confirm Password"))
|
||||
@Html.PasswordFor(m=>m.ConfirmPassword, new { @class = "textMedium" })
|
||||
@Html.PasswordFor(m=>m.ConfirmPassword, new { @class = "text medium" })
|
||||
@Html.ValidationMessageFor(m=>m.ConfirmPassword, "*")
|
||||
</fieldset>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user