mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Resolved CSS spacing issues related to the SQL Server options in Add Multi-Tenant UI.
--HG-- branch : dev
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
.tenantHost {
|
||||
font-size: .8em;
|
||||
}
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
|
@@ -28,15 +28,17 @@
|
||||
<div>
|
||||
<%: Html.RadioButtonFor(svm => svm.DataProvider, "SqlServer", new { id = "sqlDatabaseOption" })%>
|
||||
<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.EditorFor(svm => svm.DatabaseConnectionString)%>
|
||||
<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">
|
||||
<label for="DatabaseTablePrefix"><%: T("Database Table Prefix") %></label>
|
||||
<%: Html.EditorFor(svm => svm.DatabaseTablePrefix)%>
|
||||
</span>
|
||||
<div class="options">
|
||||
<span data-controllerid="sqlDatabaseOption">
|
||||
<label for="DatabaseConnectionString"><%: T("Connection string") %></label>
|
||||
<%: Html.EditorFor(svm => svm.DatabaseConnectionString)%>
|
||||
<span class="hint"><%: T("Example:") %> <%: T("Data Source=sqlServerName;Initial Catalog=dbName;Persist Security Info=True;User ID=userName;Password=password") %></span>
|
||||
</span>
|
||||
<span data-controllerid="sqlDatabaseOption">
|
||||
<label for="DatabaseTablePrefix"><%: T("Database Table Prefix") %></label>
|
||||
<%: Html.EditorFor(svm => svm.DatabaseTablePrefix)%>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
@@ -590,6 +590,28 @@ button.remove:focus::-moz-focus-inner, .remove.button:focus::-moz-focus-inner {
|
||||
margin-left:.3em;
|
||||
}
|
||||
|
||||
.options
|
||||
{
|
||||
margin: 12px 0px 12px 0px;
|
||||
}
|
||||
|
||||
.options span /* This is just a fix. We need to fix the base HTML */
|
||||
{
|
||||
display: block;
|
||||
margin: 12px 0 0 0;
|
||||
}
|
||||
|
||||
.options span.hint /* This is just a fix. We need to fix the base HTML */
|
||||
{
|
||||
display: block;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
.options input[type="text"] /* This is just a fix. We need to fix the base HTML */
|
||||
{
|
||||
width:26em;
|
||||
}
|
||||
|
||||
|
||||
/* Icon buttons
|
||||
----------------------------------------------------------*/
|
||||
|
Reference in New Issue
Block a user