mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Some edit type UI "refactoring" (in progress)
--HG-- branch : dev
This commit is contained in:
@@ -5,13 +5,18 @@
|
||||
margin-top:-3.1em;
|
||||
}
|
||||
|
||||
.manage-part {
|
||||
margin-bottom:2em;
|
||||
}
|
||||
.manage-part h3,
|
||||
.manage-field h3 {
|
||||
border-bottom:1px solid #EAEAEA;
|
||||
padding-top:0;
|
||||
}
|
||||
.manage-part h3,
|
||||
.manage-field h3,
|
||||
.manage-part .manage-field,
|
||||
.manage-field fieldset,
|
||||
.manage-part .settings {
|
||||
padding-left:20px;
|
||||
}
|
||||
@@ -39,6 +44,10 @@
|
||||
padding-left:0;
|
||||
}
|
||||
|
||||
fieldset.action {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
/* should pull this back into the base admin theme css, w/out the .manage-part of course */
|
||||
.manage-part dl {
|
||||
margin:0 0 1em;
|
||||
|
@@ -3,7 +3,7 @@
|
||||
%><h1><%:Html.TitleForPage(T("Edit Content Type").ToString())%></h1>
|
||||
<p class="breadcrumb"><%:Html.ActionLink(T("Content Types").Text, "index") %><%:T(" > ") %><%:T("Edit Content Type") %></p><%
|
||||
using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
<%--//todo: come up with real itemtype definitions and locations for said definitions--%>
|
||||
<%--// todo: come up with real itemtype definitions and locations for said definitions--%>
|
||||
<div itemscope itemid="<%:Model.Name %>" itemtype="http://orchardproject.net/data/ContentType"><%:Html.ValidationSummary() %>
|
||||
<fieldset>
|
||||
<label for="DisplayName"><%:T("Display Name") %></label>
|
||||
@@ -23,7 +23,7 @@ using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
<h2><%:T("Fields") %></h2>
|
||||
<div class="manage add-to-type"><%: Html.ActionLink(T("Add").Text, "AddFieldTo", new { area = "Orchard.ContentTypes", id = Model.Name }, new { @class = "button" }) %></div><%:
|
||||
Html.EditorFor(m => m.Fields, "Fields", "") %>
|
||||
<fieldset>
|
||||
<fieldset class="action">
|
||||
<button class="primaryAction" type="submit"><%:T("Save") %></button>
|
||||
</fieldset>
|
||||
</div><%
|
||||
|
@@ -1,7 +1,8 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.ContentTypes.ViewModels.EditPartViewModel>" %>
|
||||
<%
|
||||
Html.RegisterStyle("admin.css"); %>
|
||||
<h1><%:Html.TitleForPage(T("Edit Part").ToString()) %></h1><%
|
||||
<h1><%:Html.TitleForPage(T("Edit Part").ToString()) %></h1>
|
||||
<p class="breadcrumb"><%:Html.ActionLink(T("Content Types").Text, "index") %><%:T(" > ") %><%:T("Edit Part") %></p><%
|
||||
using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
<%:Html.ValidationSummary() %>
|
||||
<fieldset>
|
||||
|
Reference in New Issue
Block a user