Dropping the Common features dependency and messing with the UI a bit more

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-05-19 10:02:47 -07:00
parent c97244c624
commit 2727dab5ba
23 changed files with 14 additions and 29 deletions

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Dashboard:
Description: Standard admin dashboard.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Feeds:
Description: RSS feeds for content items.
Dependencies: Common
Category: Syndication

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
HomePage:
Description: Standard site home page that allows a specified content type or container to *be* the home page.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Navigation:
Description: Menu management.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Scheduling:
Description: Scheduled background tasks.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Settings:
Description: Site settings.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
XmlRpc:
Description: XML-RPC opt-in implementation.
Dependencies: Common
Category: Core
Category: Content Management

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Futures.Widgets:
Description: Widgets container with simple inline content editing widget.
Dependencies: Common
Category: Widget

View File

@@ -7,5 +7,5 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Blogs:
Description: A simple web log.
Dependencies: Common, XmlRpc
Dependencies: XmlRpc
Category: Content

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Comments:
Description: Standard content item comments.
Dependencies: Common
Category: Social

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.DevTools:
Description: An assortment of debuging tools.
Dependencies: Common
Category: Developer

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Media:
Description: File system based media upload, storage and management.
Dependencies: Common
Category: Media

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Modules:
Description: Standard module and feature management.
Dependencies: Common
Category: Core

View File

@@ -13,7 +13,10 @@
if (featureGroup == featureGroups.First())
categoryClassName += " first";
if (featureGroup == featureGroups.Last())
categoryClassName += " last"; %>
categoryClassName += " last";
//temporarily "disable" actions on core features
var showActions = categoryName.ToString() != "Core"; %>
<li class="<%=categoryClassName %>">
<h2><%=Html.Encode(categoryName) %></h2>
<ul><%
@@ -42,7 +45,8 @@
"") %>
</div><%
} %>
</div>
</div><%
if (showActions) { %>
<div class="actions"><%
if (feature.IsEnabled) {
using (Html.BeginFormAntiForgeryPost(string.Format("{0}", Url.Action("Disable", new { area = "Orchard.Modules" })), FormMethod.Post, new {@class = "inline link"})) { %>
@@ -71,7 +75,8 @@
<button type="submit"><%=_Encoded("π")%></button><%
}
} %>
</div>
</div><%
} %>
</div>
</li><%
} %>

View File

@@ -10,7 +10,7 @@
border:1px solid #EAEAEA;
display:block;
float:left;
height:6.8em;
height:5em;
margin:0 .5% 1% .5%;
position:relative;
width:32.1%;
@@ -57,7 +57,7 @@
}
.features .dependencies li {
display:inline;
margin-left:.5ex;
margin-left:.5em;
}
.features .dependencies li::after {
content:", ";
@@ -67,7 +67,7 @@
}
.features .feature .actions {
position:absolute;
right:.8em;
right:.4em;
top:.6em;
}

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.MultiTenancy:
Description: Configure multiple site tenants.
Dependencies: Common
Category: Core
Category: Hosting

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Pages:
Description: Simple pages.
Dependencies: Common
Category: Content

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Roles:
Description: Standard user roles.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Sandbox:
Description: A module to mess around with. Currently wiki-like.
Dependencies: Common
Category: Developer

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Setup:
Description: Standard site setup.
Dependencies: Common
Category: Core

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Tags:
Description: Tag a content item.
Dependencies: Common
Category: Navigation

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Themes:
Description: Basic theming capability.
Dependencies: Common
Category: Display

View File

@@ -7,5 +7,4 @@ orchardversion: 0.1.2010.0312
features:
Orchard.Users:
Description: Standard users.
Dependencies: Common
Category: Core