mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +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:
@@ -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>
|
||||
Reference in New Issue
Block a user