mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
using pre-compiled handlebar templates
re-did static content from nancy
This commit is contained in:
+1
-10
@@ -21,8 +21,7 @@ module.exports = function(grunt) {
|
||||
|
||||
handlebars: {
|
||||
options: {
|
||||
namespace: "NzbDrone.Templates",
|
||||
wrapped: false,
|
||||
namespace: "Templates",
|
||||
processName: function(fileName){
|
||||
return fileName
|
||||
.replace('UI/','')
|
||||
@@ -52,10 +51,6 @@ module.exports = function(grunt) {
|
||||
src: 'UI/**/*.png',
|
||||
dest: '_output/'
|
||||
},
|
||||
templates:{
|
||||
src: 'UI/**/*emplate.html',
|
||||
dest: '_output/'
|
||||
},
|
||||
fonts:{
|
||||
src: 'UI/**/Fonts/*.*',
|
||||
dest: '_output/',
|
||||
@@ -87,10 +82,6 @@ module.exports = function(grunt) {
|
||||
files: '<%= copy.images.src %>',
|
||||
tasks: ['copy:images']
|
||||
},
|
||||
copyTemplates:{
|
||||
files: '<%= copy.templates.src %>',
|
||||
tasks: ['copy:templates']
|
||||
},
|
||||
copyFonts:{
|
||||
files: '<%= copy.fonts.src %>',
|
||||
tasks: ['copy:fonts']
|
||||
|
||||
Reference in New Issue
Block a user