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: features:
Dashboard: Dashboard:
Description: Standard admin dashboard. Description: Standard admin dashboard.
Dependencies: Common
Category: Core Category: Core

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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