mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Moved dashboard link up and removed some line work.
--HG-- branch : dev
This commit is contained in:
@@ -8,8 +8,8 @@ namespace Orchard.Core.Dashboard {
|
|||||||
public string MenuName { get { return "admin"; } }
|
public string MenuName { get { return "admin"; } }
|
||||||
|
|
||||||
public void GetNavigation(NavigationBuilder builder) {
|
public void GetNavigation(NavigationBuilder builder) {
|
||||||
builder.Add(T("Dashboard"), "0",
|
builder.Add(T("Dashboard"), "-5",
|
||||||
menu => menu.Add(T("Orchard"), "0", item => item.Action("Index", "Admin", new { area = "Dashboard" })
|
menu => menu.Add(T("Orchard"), "-5", item => item.Action("Index", "Admin", new { area = "Dashboard" })
|
||||||
.Permission(StandardPermissions.AccessAdminPanel)));
|
.Permission(StandardPermissions.AccessAdminPanel)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -360,7 +360,9 @@
|
|||||||
<Content Include="Shapes\Views\Web.config" />
|
<Content Include="Shapes\Views\Web.config" />
|
||||||
<Content Include="Common\Placement.info" />
|
<Content Include="Common\Placement.info" />
|
||||||
<Content Include="Common\Views\Parts\Common.Metadata.Summary.cshtml" />
|
<Content Include="Common\Views\Parts\Common.Metadata.Summary.cshtml" />
|
||||||
<Content Include="Contents\Placement.info" />
|
<Content Include="Contents\Placement.info">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Content>
|
||||||
<Content Include="Contents\Views\Content.ControlWrapper.cshtml" />
|
<Content Include="Contents\Views\Content.ControlWrapper.cshtml" />
|
||||||
<Content Include="Contents\Views\Item\Display.cshtml" />
|
<Content Include="Contents\Views\Item\Display.cshtml" />
|
||||||
<Content Include="Localization\Placement.info" />
|
<Content Include="Localization\Placement.info" />
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
@using (Html.BeginFormAntiForgeryPost()) {
|
@using (Html.BeginFormAntiForgeryPost()) {
|
||||||
@Html.ValidationSummary()
|
@Html.ValidationSummary()
|
||||||
@Display(Model.Content)
|
@Display(Model.Content)
|
||||||
<fieldset class="edit-item-commit group">
|
<fieldset>
|
||||||
<button class="primaryAction" type="submit">@T("Save")</button>
|
<button class="primaryAction" type="submit">@T("Save")</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
}
|
}
|
@@ -10,9 +10,6 @@
|
|||||||
zoom:1;
|
zoom:1;
|
||||||
*display: inline;
|
*display: inline;
|
||||||
}
|
}
|
||||||
.templates .inline button {
|
|
||||||
font-size:1.2em;
|
|
||||||
}
|
|
||||||
.templates .wasFormInlineLink {
|
.templates .wasFormInlineLink {
|
||||||
font-size:1.4em;
|
font-size:1.4em;
|
||||||
}
|
}
|
||||||
|
@@ -193,22 +193,10 @@ number of columns: 24; actual width: 946; column width: 26; gutter width:14
|
|||||||
display:inline;
|
display:inline;
|
||||||
float:left;
|
float:left;
|
||||||
width:15.401%;
|
width:15.401%;
|
||||||
border-right:1px solid #eaeaea;
|
|
||||||
}
|
}
|
||||||
.wrapper, .sections {
|
.wrapper, .sections {
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
/*.edit-item-primary {
|
|
||||||
display:inline;
|
|
||||||
float:left;
|
|
||||||
width:69.452%;
|
|
||||||
}
|
|
||||||
.edit-item-secondary {
|
|
||||||
display:inline;
|
|
||||||
float:left;
|
|
||||||
margin-left:1.71%;
|
|
||||||
width:28.721%;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Links
|
/* Links
|
||||||
@@ -315,7 +303,15 @@ form.link button:hover {
|
|||||||
color: #000;
|
color: #000;
|
||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
}
|
}
|
||||||
|
#menu .menu-admin li.section-dashboard h3 {
|
||||||
|
padding:.4em 0;
|
||||||
|
font-size:1.308em;
|
||||||
|
}
|
||||||
|
.section-new {
|
||||||
|
border-top:1px solid #d3d3d3;
|
||||||
|
border-bottom:1px solid #d3d3d3;
|
||||||
|
padding:12px 0;
|
||||||
|
}
|
||||||
/* todo: make generic so all toggles can use this and clean up jQuery */
|
/* todo: make generic so all toggles can use this and clean up jQuery */
|
||||||
.expando-glyph-container {
|
.expando-glyph-container {
|
||||||
display:inline !important;
|
display:inline !important;
|
||||||
@@ -368,9 +364,7 @@ form.link button:hover {
|
|||||||
|
|
||||||
/* Content
|
/* Content
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
#main h1 {
|
#main h1 {
|
||||||
margin:0 0 1em;
|
|
||||||
}
|
|
||||||
margin:0 0 1em;
|
margin:0 0 1em;
|
||||||
}
|
}
|
||||||
#main h2, #main h3 {
|
#main h2, #main h3 {
|
||||||
@@ -870,8 +864,7 @@ table .button {
|
|||||||
.settings legend {
|
.settings legend {
|
||||||
margin:0 0 -.4em;
|
margin:0 0 -.4em;
|
||||||
}
|
}
|
||||||
|
/* Core Contents and Orchard.PublishLater */
|
||||||
.edit-item-commit, .edit-item-sidebar
|
|
||||||
|
|
||||||
.orchard-blogs .edit-item-sidebar, .contents .edit-item-sidebar
|
.orchard-blogs .edit-item-sidebar, .contents .edit-item-sidebar
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user