mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
- Patch by ArturDwornik fixing the Login forms for Contoso and Corporate.
This commit is contained in:
@@ -172,9 +172,10 @@ caption { background: #eee; }
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
label { font-weight: normal; }
|
||||
fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #ccc; }
|
||||
legend { font-weight: bold; font-size:1.2em; }
|
||||
label { font-weight: normal; display:block; }
|
||||
label.forcheckbox { margin:0 0 0 4px; display:inline; }
|
||||
fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #ccc; }
|
||||
legend { font-weight: bold; font-size:1.2em; }
|
||||
|
||||
|
||||
/* Form fields
|
||||
|
@@ -9,7 +9,7 @@ using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new {ReturnUrl = Reques
|
||||
<fieldset class="login-form">
|
||||
<legend><%=_Encoded("Account Information")%></legend>
|
||||
<div class="group">
|
||||
<label for="username"><%=_Encoded("Username:")%></label>
|
||||
<label for="userNameOrEmail"><%=_Encoded("Username or Email:")%></label>
|
||||
<%= Html.TextBox("userNameOrEmail", "", new { autofocus = "autofocus" })%>
|
||||
<%= Html.ValidationMessage("userNameOrEmail")%>
|
||||
</div>
|
||||
|
@@ -170,9 +170,10 @@ caption { background: #eee; }
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
label { font-weight: normal; }
|
||||
fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #ccc; }
|
||||
legend { font-weight: bold; font-size:1.2em; }
|
||||
label { font-weight: normal; display:block; }
|
||||
label.forcheckbox { margin:0 0 0 4px; display:inline; }
|
||||
fieldset { padding:0em; margin: 0 0 0em 0; border: 0px solid #ccc; }
|
||||
legend { font-weight: bold; font-size:1.2em; }
|
||||
|
||||
|
||||
/* Form fields
|
||||
|
@@ -9,9 +9,9 @@ using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new {ReturnUrl = Reques
|
||||
<fieldset class="login-form">
|
||||
<legend><%=_Encoded("Account Information")%></legend>
|
||||
<div class="group">
|
||||
<label for="username"><%=_Encoded("Username:")%></label>
|
||||
<%= Html.TextBox("userNameOrEmail", "", new { autofocus = "autofocus" })%>
|
||||
<%= Html.ValidationMessage("userNameOrEmail")%>
|
||||
<label for="userNameOrEmail"><%=_Encoded("Username or Email:")%></label>
|
||||
<%= Html.TextBox("userNameOrEmail", "", new { autofocus = "autofocus" })%>
|
||||
<%= Html.ValidationMessage("userNameOrEmail")%>
|
||||
</div>
|
||||
<div class="group">
|
||||
<label for="password"><%=_Encoded("Password:")%></label>
|
||||
|
Reference in New Issue
Block a user