From 89081b86af5360106930d5ec82e86cec2ae04d88 Mon Sep 17 00:00:00 2001 From: antoine Date: Fri, 16 May 2014 14:42:47 +0200 Subject: [PATCH] preview grunt issue --- src/Umbraco.Web.UI.Client/gruntFile.js | 5 +- src/Umbraco.Web.UI.Client/preview/index.html | 222 ------------------ src/Umbraco.Web.UI/Umbraco/preview/index.html | 11 + 3 files changed, 12 insertions(+), 226 deletions(-) delete mode 100644 src/Umbraco.Web.UI.Client/preview/index.html diff --git a/src/Umbraco.Web.UI.Client/gruntFile.js b/src/Umbraco.Web.UI.Client/gruntFile.js index 8089cec60b..9b786eda52 100644 --- a/src/Umbraco.Web.UI.Client/gruntFile.js +++ b/src/Umbraco.Web.UI.Client/gruntFile.js @@ -141,10 +141,7 @@ module.exports = function (grunt) { tuning: { files: [ - { - dest: 'preview/index.html', - src: 'src/tuning/index.html' - }, + { dest: '<%= distdir %>/preview', src: '**/*.html', expand: true, cwd: 'src/tuning' }, { dest: '<%= distdir %>/assets/less', src: 'tuning.lessParameters.less', expand: true, cwd: 'src/tuning' }, { dest: '<%= distdir %>/js', src: 'tuning.config.js', expand: true, cwd: 'src/tuning/config' }, { dest: '<%= distdir %>/js', src: 'tuning.palettes.js', expand: true, cwd: 'src/tuning/config' }, diff --git a/src/Umbraco.Web.UI.Client/preview/index.html b/src/Umbraco.Web.UI.Client/preview/index.html deleted file mode 100644 index 55c349bd9c..0000000000 --- a/src/Umbraco.Web.UI.Client/preview/index.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - - - - - -
Loading ...
- -
- -
- - - -
-

Styles saved and visible at the website

-
- - - - - - - \ No newline at end of file diff --git a/src/Umbraco.Web.UI/Umbraco/preview/index.html b/src/Umbraco.Web.UI/Umbraco/preview/index.html index 7e71b03834..daa3ff2eb2 100644 --- a/src/Umbraco.Web.UI/Umbraco/preview/index.html +++ b/src/Umbraco.Web.UI/Umbraco/preview/index.html @@ -187,6 +187,17 @@ + + + + + + + + + + +