From 36ba2ddf26e65a85b91d0e71cc9ae92118421620 Mon Sep 17 00:00:00 2001 From: Prakash Pandey Date: Wed, 7 May 2014 15:47:22 +0530 Subject: [PATCH] Display home page banners from cms --- cms.xml | 26 +++++++++++++++++ templates/webshop/home.jinja | 55 +++++++++++++++++------------------- 2 files changed, 52 insertions(+), 29 deletions(-) diff --git a/cms.xml b/cms.xml index 70a4fd2..1c00e71 100644 --- a/cms.xml +++ b/cms.xml @@ -117,5 +117,31 @@ Minicube PCR Documentation + + + + Home Page Banners + + + banner1 + + remote_image + /static-webshop/images/sample-img/banner1.jpg + published + + + banner2 + + remote_image + /static-webshop/images/sample-img/banner2.jpg + published + + + banner3 + + remote_image + /static-webshop/images/sample-img/banner3.jpg + published + diff --git a/templates/webshop/home.jinja b/templates/webshop/home.jinja index a22197f..94735e6 100644 --- a/templates/webshop/home.jinja +++ b/templates/webshop/home.jinja @@ -10,40 +10,37 @@
+ +
-