From c67f2b20d4408df2da42b948503b28eed3bb74af Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 15 Oct 2014 15:01:17 +0300 Subject: [PATCH] layout manager: ability to make call full width wide --- .../res/templates/admin/layouts/grid.tpl | 26 ++++--- .../res/templates/admin/layouts/rows.tpl | 4 +- .../client/src/views/admin/layouts/detail.js | 6 +- .../client/src/views/admin/layouts/grid.js | 78 +++++++++++++++---- .../client/src/views/admin/layouts/rows.js | 11 ++- 5 files changed, 94 insertions(+), 31 deletions(-) diff --git a/frontend/client/res/templates/admin/layouts/grid.tpl b/frontend/client/res/templates/admin/layouts/grid.tpl index c2a9c7829c..1f8e49b725 100644 --- a/frontend/client/res/templates/admin/layouts/grid.tpl +++ b/frontend/client/res/templates/admin/layouts/grid.tpl @@ -55,6 +55,10 @@ float: left; } + #layout ul.panels ul.cells > li[data-full-width="true"] { + width: 94%; + } + #layout ul.cells > li { list-style: none; border: 1px solid #CCC; @@ -138,7 +142,7 @@
@@ -148,7 +152,7 @@ @@ -161,7 +165,7 @@
  - +