2010-09-30 07:15:41 +08:00
|
|
|
|
using System.Web.Mvc;
|
2010-09-01 09:30:12 +08:00
|
|
|
|
using Orchard.DisplayManagement.Descriptors;
|
|
|
|
|
using Orchard.Themes;
|
|
|
|
|
using Orchard.UI.Admin;
|
|
|
|
|
|
2010-09-30 07:15:41 +08:00
|
|
|
|
namespace Orchard.Experimental.Controllers {
|
2010-09-01 09:30:12 +08:00
|
|
|
|
[Themed, Admin]
|
2010-09-30 07:45:23 +08:00
|
|
|
|
public class ShapeTableController : Controller {
|
2010-09-01 09:30:12 +08:00
|
|
|
|
private readonly IShapeTableManager _shapeTableManager;
|
|
|
|
|
|
2010-09-30 07:45:23 +08:00
|
|
|
|
public ShapeTableController(IShapeTableManager shapeTableManager) {
|
2010-09-01 09:30:12 +08:00
|
|
|
|
_shapeTableManager = shapeTableManager;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ActionResult ShapeTable(string themeName) {
|
2010-10-15 05:51:41 +08:00
|
|
|
|
return View(_shapeTableManager.GetShapeTable(themeName));
|
2010-09-01 09:30:12 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|