mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Adding is-url class with importent, as W3C says all URLs are LTR therefore importent makes sense in this case
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.BaseUrl)">@T("Base URL")</label>
|
||||
@Html.TextBoxFor(m => m.BaseUrl, new { @class = "text medium" })
|
||||
@Html.TextBoxFor(m => m.BaseUrl, new { @class = "text medium is-url" })
|
||||
<span class="hint">@T("Enter the fully qualified base URL of the web site.")</span>
|
||||
<span class="hint">@T("e.g., http://localhost:30320/orchardlocal, http://www.yourdomain.com")</span>
|
||||
</div>
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
<fieldset class="permalink">
|
||||
<label>@T("Permalink")</label>
|
||||
@if (Model.Settings.AllowCustomPattern) {
|
||||
<span class="permalink-definition" dir="ltr">
|
||||
<span class="permalink-definition">
|
||||
<span>@Url.MakeAbsolute("/")@urlPrefix</span>
|
||||
<span>@Html.TextBoxFor(m => m.CurrentUrl, new { @class = "text" })</span>
|
||||
<span>@Html.TextBoxFor(m => m.CurrentUrl, new { @class = "text is-url" })</span>
|
||||
</span>
|
||||
<span class="hint">@T("Save the current item and leave the input empty to have it automatically generated using the pattern {0} e.g., {1}", defaultPattern.Name, defaultPattern.Description)</span>
|
||||
}
|
||||
|
||||
@@ -1095,12 +1095,16 @@ html.dyn #submit-pager, html.dyn .apply-bulk-actions-auto { display:none; }
|
||||
margin-left:0;
|
||||
margin-right:2em;
|
||||
width:350px;
|
||||
direction: ltr;
|
||||
}
|
||||
.permalink input.text:focus {
|
||||
background:#FFF;
|
||||
border-color:#666d51;
|
||||
border-style:solid;
|
||||
}
|
||||
.is-url {
|
||||
direction: ltr !important;
|
||||
}
|
||||
/* Routable and Containers (Core) */
|
||||
.with-checkbox .checkbox-and-label { /* todo: (heskew) routable should be changed to use this too */
|
||||
margin-left:10px;
|
||||
|
||||
Reference in New Issue
Block a user