Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-997: Initial build of source code only

Mike McGann28461770a78b
diff --git a/Gruntfile.OLD.js b/Gruntfile.OLD.js
new file mode 100644
index 000000000..073031d2f
--- /dev/null
+++ b/Gruntfile.OLD.js
@@ -0,0 +1,581 @@
+/*
+ * NASA Worldview
+ *
+ * This code was originally developed at NASA/Goddard Space Flight Center for
+ * the Earth Science Data and Information System (ESDIS) project.
+ *
+ * Copyright (C) 2013 - 2014 United States Government as represented by the
+ * Administrator of the National Aeronautics and Space Administration.
+ * All Rights Reserved.
+ */
+var moment = require("moment");
+var fs = require("fs");
+
+// Build date shown in the About box
+var buildTimestamp = moment.utc().format("MMMM DD, YYYY [-] HH:mm [UTC]");
+
+// Append to all URI references for cache busting
+var buildNonce = moment.utc().format("YYYYMMDDHHmmssSSS");
+
+// If being built with Jenkins or Bamboo, include the build number in artifacts
+var buildNumber = ( process.env.BUILD_NUMBER )
+ ? "." + process.env.BUILD_NUMBER : "";
+/* Bamboo build number is not exposed at the moment
+if ( !buildNumber ) {
+ buildNumber = ( process.env.BAMBOO_BUILDNUMBER )
+ ? "." + process.env.BAMBOO_BUILDNUMBER : "";
+}
+*/
+
+module.exports = function(grunt) {
+
+ var info = grunt.file.readJSON("package.json");
+
+ if ( fs.existsSync("options") ) {
+ var opt = grunt.file.readJSON("options/brand.json");
+ opt.officialName = opt.officialName || opt.name;
+ opt.longName = opt.longName || opt.name;
+ opt.shortName = opt.shortName || opt.name;
+ opt.packageName = grunt.option("package-name") || opt.packageName;
+ var features = grunt.file.readJSON("options/features.json").features;
+
+ console.log("");
+ console.log("[" + opt.packageName + "] " + opt.officialName +
+ ", Version " + info.version + "-" + info.release);
+ console.log("");
+ }
+
+ // Lists of JavaScript and CSS files to include and in the correct
+ // order
+ var wvJs = grunt.file.readJSON("etc/deploy/wv.js.json");
+ var wvCss = grunt.file.readJSON("etc/deploy/wv.css.json");
+
+ // Copyright notice to place at the top of the minified JavaScript and
+ // CSS files
+ var banner = grunt.file.read("etc/deploy/banner.txt");
+
+ grunt.initConfig({
+
+ pkg: ( opt ) ? opt.packageName : "",
+ info: info,
+ opt: opt,
+ features: features,
+
+ "git-rev-parse": {
+ build: {
+ options: {
+ prop: 'git-revision',
+ number: 6
+ }
+ }
+ },
+
+ copy: {
+ // Copies the source files to the build directory
+ source: {
+ files: [
+ { expand: true, cwd: "src",
+ src: ["**", "**/.htaccess"],
+ dest: "build/<%= pkg %>-debug/web" },
+ { expand: true, cwd: "bin",
+ src: "**", dest: "build/<%= pkg %>-debug/bin" },
+ { expand: true, cwd: "options",
+ src: "**", dest: "build/<%= pkg %>-debug/options" }
+ ]
+ },
+
+ config_src: {
+ files: [
+ { expand: true, cwd: "build/options/config",
+ src: ["**"], dest: "src/config" },
+ { expand: true, cwd: "build/options/brand",
+ src: ["**"], dest: "src/brand" }
+ ]
+ },
+
+ // Copies the finished version of the debugging web root to
+ // create a release web root. JavaScript and CSS files are omitted
+ // since the concatenated version is used instead. Files that
+ // must be included in non-concatenated form should be copied
+ // over too
+ release: {
+ files: [
+ { expand: true, cwd: "build/<%=pkg%>-debug",
+ src: ["**", "**/.htaccess"],
+ dest: "build/<%=pkg%>" },
+ { expand: true, cwd: "build/<%=pkg%>-debug/web",
+ src: [
+ "css/pages.css",
+ "css/bulkDownload.css",
+ "js/map/wv.map.tileworker.js"
+ ],
+ dest: "build/<%=pkg%>/web" }
+ ]
+ },
+
+ // Copies the built tarballs, auxillary files, and spec file
+ // to the build directory
+ rpm_sources: {
+ files: [
+ { expand: true, cwd: "etc/deploy/sources",
+ src: ["**"], dest: "build/rpmbuild/SOURCES" },
+ { expand: true, cwd: "etc/deploy",
+ src: ["worldview.spec"], dest: "build/rpmbuild/SPECS" },
+ { expand: true, cwd: "dist",
+ src: ["<%=pkg%>.tar.bz2", "<%=pkg%>-debug.tar.bz2"],
+ dest: "build/rpmbuild/SOURCES" }
+ ]
+ },
+
+ // Copies the built RPMs in the build directory to the dist
+ // directory
+ rpm: {
+ files: [
+ { expand: true, flatten: true, cwd: "build/rpmbuild",
+ src: ["**/*.rpm"], dest: "dist" }
+ ]
+ },
+
+ apache: {
+ files: [
+ { expand: true, flatten: true, cwd: "etc/dev",
+ src: ["worldview-dev.httpd.conf"], dest: "build" }
+ ]
+ },
+
+ },
+
+ rename: {
+ apache: {
+ src: "build/worldview-dev.httpd.conf",
+ dest: "dist/<%=pkg%>-dev.httpd.conf"
+ },
+ rpm_apache: {
+ src: "build/rpmbuild/SOURCES/httpd.conf",
+ dest: "build/rpmbuild/SOURCES/httpd.<%=pkg%>.conf"
+ },
+ rpm_apache_debug: {
+ src: "build/rpmbuild/SOURCES/httpd-debug.conf",
+ dest: "build/rpmbuild/SOURCES/httpd.<%=pkg%>-debug.conf"
+ }
+ },
+
+ exec: {
+ config: {
+ command: "PATH=python/bin:${PATH} bin/wv-options-build"
+ },
+
+ // After removing JavaScript and CSS files that are no longer
+ // need in a release build, there are a lot of empty directories.
+ // Remove all of them.
+ empty: {
+ command: "find build/worldview-debug -type d -empty -delete"
+ },
+
+ // Enable executable bits for all CGI programs
+ cgi_echo: {
+ command: "chmod 755 build/<%=pkg%>*/web/service/echo.cgi"
+ },
+
+ cgi_debug_tile: {
+ command: "chmod 755 build/<%=pkg%>*/web/service/debug_tile.cgi"
+ },
+
+ cgi_shorten: {
+ command: "chmod 755 build/<%=pkg%>*/web/service/link/shorten.cgi"
+ },
+
+ // Create a tarball of the debug build with a version number and
+ // git revision.
+ tar_debug_versioned: {
+ command: "tar cjCf build dist/<%=pkg%>" +
+ "-debug" +
+ "-<%=info.version%>" +
+ "-<%=info.release%>" +
+ buildNumber +
+ ".git<%= grunt.config.get('git-revision') %>" +
+ ".tar.bz2 " +
+ "<%=pkg%>-debug"
+ },
+
+ // Create a tarball of the debug build without versioning
+ // information
+ tar_debug: {
+ command: "tar cjCf build dist/" +
+ "<%=pkg%>-debug.tar.bz2 " +
+ "<%=pkg%>-debug"
+ },
+
+ // Create a tarball of the release build with a version number and
+ // git revision
+ tar_release_versioned: {
+ command: "tar cjCf build dist/<%=pkg%>" +
+ "-<%=info.version%>" +
+ "-<%=info.release%>" +
+ buildNumber +
+ ".git<%= grunt.config.get('git-revision') %>" +
+ ".tar.bz2 " +
+ "<%=pkg%>"
+ },
+
+ // Create a tarball of the release build without versioning
+ // information
+ tar_release: {
+ command: "tar cjCf build dist/" +
+ "<%=pkg%>.tar.bz2 " +
+ "<%=pkg%>"
+ },
+
+ // Builds the RPM
+ rpmbuild: {
+ command: 'rpmbuild --define "_topdir $PWD/build/rpmbuild" ' +
+ '--define "build_num ' + buildNumber +'" ' +
+ '-ba build/rpmbuild/SPECS/worldview.spec'
+ }
+ },
+
+ replace: {
+ // Official name of the application
+ tokens: {
+ src: [
+ "build/<%=pkg%>-debug/web/*.html",
+ "build/<%=pkg%>-debug/web/js/**/*.js",
+ "build/<%=pkg%>-debug/web/pages/**/*.html",
+ "build/<%=pkg%>-debug/web/brand/**/*.html"
+ ],
+ overwrite: true,
+ replacements: [{
+ from: "@OFFICIAL_NAME@",
+ to: "<%=opt.officialName%>"
+ }, {
+ from: "@LONG_NAME@",
+ to: "<%=opt.longName%>"
+ },{
+ from: "@NAME@",
+ to: "<%=opt.shortName%>"
+ },{
+ from: "@EMAIL@",
+ to: "<%=opt.email%>"
+ },{
+ from: "@BUILD_TIMESTAMP@",
+ to: buildTimestamp
+ },{
+ from: "@BUILD_VERSION@",
+ to: "<%=info.version%>"
+ },{
+ from: "@BUILD_NONCE@",
+ to: buildNonce
+ }]
+ },
+
+ // Remove all development links <!-- link.dev --> and uncomment
+ // all the release links <1-- link.prod -->
+ links: {
+ src: [
+ "build/<%=pkg%>-debug/web/index.html",
+ "build/<%=pkg%>-debug/web/pages/*.html",
+ ],
+ overwrite: true,
+ replacements: [{
+ from: /.*link.dev.*/g,
+ to: ""
+ }, {
+ from: /.*link.prod.*(!--|\/\*)(.*)(--|\*\/).*/g,
+ to: "$2"
+ }]
+ },
+
+ // Adds RPM package name, version, release, and git revision
+ // to the RPM spec file in the build directory
+ rpm_sources: {
+ src: [
+ "build/rpmbuild/SOURCES/*",
+ "build/rpmbuild/SPECS/*",
+ "!**/*.tar.bz2"
+ ],
+ overwrite: true,
+ replacements: [{
+ from: "@WORLDVIEW@",
+ to: "<%=pkg%>"
+ }, {
+ from: "@BUILD_VERSION@",
+ to: "<%=info.version%>"
+ },{
+ from: "@BUILD_RELEASE@",
+ to: "<%=info.release%>"
+ },{
+ from: "@GIT_REVISION@",
+ to: ".git<%= grunt.config.get('git-revision') %>"
+ }]
+ },
+
+ apache: {
+ src: [
+ "build/worldview-dev.httpd.conf"
+ ],
+ overwrite: true,
+ replacements: [{
+ from: "@WORLDVIEW@",
+ to: "<%=pkg%>"
+ },{
+ from: "@ROOT@",
+ to: process.cwd()
+ }]
+ }
+ },
+
+ markdown: {
+ metadata: {
+ files: [
+ {
+ expand: true,
+ cwd: "build/options/config/metadata",
+ src: "**/*.md",
+ dest: "build/options/config/metadata",
+ ext: ".html"
+ },
+ ],
+ options: {
+ template: "etc/deploy/metadata.template.html"
+ }
+ },
+ new: {
+ files: [
+ {
+ expand: true,
+ cwd: "build/options/brand/pages",
+ src: "**/*.md",
+ dest: "build/options/brand/pages",
+ ext: ".html"
+ }
+ ],
+ options: {
+ template: "etc/deploy/new.template.html"
+ }
+ }
+ },
+
+ concat: {
+ // Combine all the Worldview JavaScript files into one file.
+ wv_js: {
+ src: wvJs["wv.js"],
+ dest: "build/<%=pkg%>-debug/web/js/wv.js",
+ },
+ // Combine all the Worldview CSS files into one file.
+ wv_css: {
+ src: wvCss,
+ dest: "build/<%=pkg%>-debug/web/css/wv.css"
+ }
+ },
+
+ uglify: {
+ // Minifiy the concatenated Worldview JavaScript file.
+ wv_js: {
+ options: {
+ banner: banner
+ },
+ files: {
+ "build/<%=pkg%>/web/js/wv.js": [
+ "build/<%=pkg%>-debug/web/js/wv.js"
+ ]
+ }
+ }
+ },
+
+ cssmin: {
+ // Minifiy the concatenated Worldview CSS file.
+ wv_css: {
+ options: {
+ banner: banner,
+ keepSpecialComments: false
+ },
+ files: {
+ "build/<%=pkg%>/web/css/wv.css": [
+ "build/<%=pkg%>-debug/web/css/wv.css"
+ ]
+ }
+ }
+ },
+
+ minjson: {
+ main: {
+ files: {
+ "build/<%=pkg%>/web/conf/wv.json":
+ "build/<%=pkg%>/web/conf/wv.json",
+ "build/<%=pkg%>/web/conf/palettes.json":
+ "build/<%=pkg%>/web/conf/palettes.json"
+ }
+ }
+ },
+
+ lineremover: {
+ // After removing all the <!-- link.dev --> references, there
+ // are a lot of blank lines in index.html. Remove them
+ release: {
+ files: {
+ "build/<%=pkg%>/web/index.html":
+ "build/<%=pkg%>/web/index.html"
+ }
+ }
+ },
+
+ jshint: {
+ console: [
+ "src/js/**/wv.*.js",
+ "test/**/*.js",
+ ],
+ report: {
+ options: {
+ reporter: "checkstyle",
+ },
+ files: {
+ src: [
+ "src/js/**/wv.*.js",
+ "test/**/*.js",
+ ]
+ }
+ }
+ },
+
+ csslint: {
+ main: {
+ options: {
+ ids: false
+ },
+ src: ["src/css/wv.*.css"]
+ }
+ },
+
+ buster: {
+ console: {},
+ report: {
+ test: {
+ reporter: "xml"
+ }
+ }
+ },
+
+ remove: {
+ build: ["build"],
+ dist: ["dist"],
+ // Removes all JavaScript, CSS, and auxillary files not necessary
+ // in a release build. Place exceptions for JavaScript and
+ // CSS here.
+ source: [
+ "build/<%=pkg%>-debug/web/css/**/*.css",
+ "build/<%=pkg%>-debug/web/**/*.js",
+ "!build/<%=pkg%>-debug/web/css/wv.css",
+ "!build/<%=pkg%>-debug/web/js/wv.js",
+ "!build/<%=pkg%>-debug/web/css/bulkDownload.css",
+ "!build/<%=pkg%>-debug/web/js/map/wv.map.tileworker.js",
+ "!build/<%=pkg%>-debug/web/ext/**/*"
+ ],
+ config_src: [
+ "src/config/**/*"
+ ],
+ dist_tar: ["dist/*.tar.bz2"],
+ dist_rpm: ["dist/*.rpm"],
+ rpmbuild: ["build/rpmbuild"],
+ cgi_echo: ["build/<%=pkg%>*/web/service/echo.cgi"],
+ cgi_shorten: ["build/<%=pkg%>*/web/service/link/*"]
+ }
+
+ });
+
+ grunt.file.mkdir("build/rpmbuild");
+ grunt.file.mkdir("dist");
+
+ grunt.loadNpmTasks("grunt-buster");
+ grunt.loadNpmTasks("grunt-contrib-clean");
+ grunt.loadNpmTasks("grunt-contrib-concat");
+ grunt.loadNpmTasks("grunt-contrib-compress");
+ grunt.loadNpmTasks("grunt-contrib-copy");
+ grunt.loadNpmTasks("grunt-contrib-csslint");
+ grunt.loadNpmTasks("grunt-contrib-cssmin");
+ grunt.loadNpmTasks("grunt-contrib-jshint");
+ grunt.loadNpmTasks("grunt-contrib-uglify");
+ grunt.loadNpmTasks("grunt-line-remover");
+ grunt.loadNpmTasks("grunt-exec");
+ grunt.loadNpmTasks("grunt-git-rev-parse");
+ grunt.loadNpmTasks("grunt-markdown");
+ grunt.loadNpmTasks("grunt-minjson");
+ grunt.loadNpmTasks("grunt-text-replace");
+ grunt.loadNpmTasks("grunt-rename");
+
+ grunt.renameTask("clean", "remove");
+ grunt.task.run("git-rev-parse");
+
+ grunt.registerTask("config", [
+ "clean",
+ "remove:config_src",
+ "exec:config",
+ "markdown",
+ "copy:config_src"
+ ]);
+
+ grunt.registerTask("feature_shorten", "URL Shortening", function() {
+ if ( features.urlShortening ) {
+ grunt.task.run("exec:cgi_shorten");
+ } else {
+ grunt.task.run("remove:cgi_shorten");
+ }
+ });
+
+ grunt.registerTask("feature_download", "Data download", function() {
+ if ( features.dataDownload ) {
+ grunt.task.run("exec:cgi_echo");
+ } else {
+ grunt.task.run("remove:cgi_echo");
+ }
+ });
+
+ grunt.registerTask("build", [
+ "config",
+ "copy:source",
+ "concat",
+ "replace:tokens",
+ "replace:links",
+ "remove:source",
+ "copy:release",
+ "uglify",
+ "cssmin",
+ "minjson",
+ "lineremover",
+ "exec:empty",
+ "feature_shorten",
+ "feature_download",
+ "exec:cgi_debug_tile",
+ "remove:dist_tar",
+ "exec:tar_debug_versioned",
+ "exec:tar_debug",
+ "exec:tar_release_versioned",
+ "exec:tar_release",
+ ]);
+
+ grunt.registerTask("rpm_only", [
+ "remove:rpmbuild",
+ "copy:rpm_sources",
+ "rename:rpm_apache",
+ "rename:rpm_apache_debug",
+ "replace:rpm_sources",
+ "remove:dist_rpm",
+ "exec:rpmbuild",
+ "copy:rpm"
+ ]);
+
+ grunt.registerTask("apache-config" , [
+ "copy:apache",
+ "replace:apache",
+ "rename:apache"
+ ]);
+
+ grunt.registerTask("lint", ["jshint:console"]);
+ grunt.registerTask("test", ["buster:console"]);
+ grunt.registerTask("push", ["lint", "test"]);
+ grunt.registerTask("rpm", ["build", "rpm_only"]);
+ grunt.registerTask("clean", "remove:build");
+ grunt.registerTask("distclean", ["remove:build", "remove:dist"]);
+
+ grunt.registerTask("default", ["build"]);
+
+};
diff --git a/Gruntfile.js b/Gruntfile.js
index ba4c0ecfe..08c03a455 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -8,161 +8,112 @@
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/
-var moment = require("moment");
-var fs = require("fs");
-
-// Build date shown in the About box
-var buildTimestamp = moment.utc().format("MMMM DD, YYYY [-] HH:mm [UTC]");
-
-// Append to all URI references for cache busting
-var buildNonce = moment.utc().format("YYYYMMDDHHmmssSSS");
-
-// If being built with Jenkins or Bamboo, include the build number in artifacts
-var buildNumber = ( process.env.BUILD_NUMBER )
- ? "." + process.env.BUILD_NUMBER : "";
-/* Bamboo build number is not exposed at the moment
-if ( !buildNumber ) {
- buildNumber = ( process.env.BAMBOO_BUILDNUMBER )
- ? "." + process.env.BAMBOO_BUILDNUMBER : "";
-}
-*/
module.exports = function(grunt) {
- var info = grunt.file.readJSON("package.json");
-
- if ( fs.existsSync("options") ) {
- var opt = grunt.file.readJSON("options/brand.json");
- opt.officialName = opt.officialName || opt.name;
- opt.longName = opt.longName || opt.name;
- opt.shortName = opt.shortName || opt.name;
- opt.packageName = grunt.option("package-name") || opt.packageName;
- var features = grunt.file.readJSON("options/features.json").features;
-
- console.log("");
- console.log("[" + opt.packageName + "] " + opt.officialName +
- ", Version " + info.version + "-" + info.release);
- console.log("");
- }
-
// Lists of JavaScript and CSS files to include and in the correct
// order
- var wvJs = grunt.file.readJSON("etc/deploy/wv.js.json");
- var wvCss = grunt.file.readJSON("etc/deploy/wv.css.json");
+ var js = grunt.file.readJSON("deploy/wv.js.json");
+ var css = grunt.file.readJSON("deploy/wv.css.json");
// Copyright notice to place at the top of the minified JavaScript and
// CSS files
- var banner = grunt.file.read("etc/deploy/banner.txt");
+ var banner = grunt.file.read("deploy/banner.txt");
grunt.initConfig({
- pkg: ( opt ) ? opt.packageName : "",
- info: info,
- opt: opt,
- features: features,
+ pkg: grunt.file.readJSON('package.json'),
- "git-rev-parse": {
- build: {
- options: {
- prop: 'git-revision',
- number: 6
+ buster: {
+ console: {},
+ report: {
+ test: {
+ reporter: "xml"
}
}
},
+ concat: {
+ // Combine all the Worldview JavaScript files into one file.
+ js: {
+ src: js["wv.js"],
+ dest: "build/worldview-debug/web/js/wv.js",
+ },
+ // Combine all the Worldview CSS files into one file.
+ css: {
+ src: css,
+ dest: "build/worldview-debug/web/css/wv.css"
+ }
+ },
+
copy: {
// Copies the source files to the build directory
source: {
- files: [
- { expand: true, cwd: "src",
- src: ["**", "**/.htaccess"],
- dest: "build/<%= pkg %>-debug/web" },
- { expand: true, cwd: "bin",
- src: "**", dest: "build/<%= pkg %>-debug/bin" },
- { expand: true, cwd: "options",
- src: "**", dest: "build/<%= pkg %>-debug/options" }
- ]
- },
-
- config_src: {
- files: [
- { expand: true, cwd: "build/options/config",
- src: ["**"], dest: "src/config" },
- { expand: true, cwd: "build/options/brand",
- src: ["**"], dest: "src/brand" }
- ]
+ files: [{
+ expand: true, cwd: ".",
+ src: [
+ "bin/**",
+ "deploy/**",
+ "web/**",
+ "*",
+ "web/**/.htaccess",
+ "!web/brand/**",
+ "!web/config/**",
+ "!web/var/**"
+ ],
+ dest: "build/worldview-debug",
+ }]
},
- // Copies the finished version of the debugging web root to
- // create a release web root. JavaScript and CSS files are omitted
- // since the concatenated version is used instead. Files that
- // must be included in non-concatenated form should be copied
- // over too
release: {
- files: [
- { expand: true, cwd: "build/<%=pkg%>-debug",
- src: ["**", "**/.htaccess"],
- dest: "build/<%=pkg%>" },
- { expand: true, cwd: "build/<%=pkg%>-debug/web",
- src: [
- "css/pages.css",
- "css/bulkDownload.css",
- "js/map/wv.map.tileworker.js"
- ],
- dest: "build/<%=pkg%>/web" }
- ]
- },
-
- // Copies the built tarballs, auxillary files, and spec file
- // to the build directory
- rpm_sources: {
- files: [
- { expand: true, cwd: "etc/deploy/sources",
- src: ["**"], dest: "build/rpmbuild/SOURCES" },
- { expand: true, cwd: "etc/deploy",
- src: ["worldview.spec"], dest: "build/rpmbuild/SPECS" },
- { expand: true, cwd: "dist",
- src: ["<%=pkg%>.tar.bz2", "<%=pkg%>-debug.tar.bz2"],
- dest: "build/rpmbuild/SOURCES" }
- ]
- },
-
- // Copies the built RPMs in the build directory to the dist
- // directory
- rpm: {
- files: [
- { expand: true, flatten: true, cwd: "build/rpmbuild",
- src: ["**/*.rpm"], dest: "dist" }
- ]
+ files: [{
+ expand: true, cwd: "build/worldview-debug",
+ src: ["**", "**/.htaccess"],
+ dest: "build/worldview"
+ }]
},
- apache: {
- files: [
- { expand: true, flatten: true, cwd: "etc/dev",
- src: ["worldview-dev.httpd.conf"], dest: "build" }
- ]
+ dist_source_debug_versioned: {
+ files: [{
+ src: "dist/worldview-debug.tar.bz2",
+ dest: "dist/worldview-debug" +
+ "-<%=pkg.version%>" +
+ "-<%=pkg.release%>" +
+ ".git<%= grunt.config.get('git-revision') %>" +
+ ".tar.bz2"
+ }]
},
+ dist_source_release_versioned: {
+ files: [{
+ src: "dist/worldview.tar.bz2",
+ dest: "dist/worldview" +
+ "-<%=pkg.version%>" +
+ "-<%=pkg.release%>" +
+ ".git<%= grunt.config.get('git-revision') %>" +
+ ".tar.bz2"
+ }]
+ }
},
- rename: {
- apache: {
- src: "build/worldview-dev.httpd.conf",
- dest: "dist/<%=pkg%>-dev.httpd.conf"
- },
- rpm_apache: {
- src: "build/rpmbuild/SOURCES/httpd.conf",
- dest: "build/rpmbuild/SOURCES/httpd.<%=pkg%>.conf"
- },
- rpm_apache_debug: {
- src: "build/rpmbuild/SOURCES/httpd-debug.conf",
- dest: "build/rpmbuild/SOURCES/httpd.<%=pkg%>-debug.conf"
+ cssmin: {
+ // Minifiy the concatenated Worldview CSS file.
+ wv_css: {
+ options: {
+ banner: banner,
+ keepSpecialComments: false
+ },
+ files: {
+ "build/worldview/web/css/wv.css": [
+ "build/worldview/web/css/wv.css"
+ ]
+ }
}
},
exec: {
- config: {
- command: "PATH=python/bin:${PATH} bin/wv-options-build"
+ cgi: {
+ command: "chmod 755 build/*/web/service/*/*.cgi"
},
// After removing JavaScript and CSS files that are no longer
@@ -172,108 +123,71 @@ module.exports = function(grunt) {
command: "find build -type d -empty -delete"
},
- // Enable executable bits for all CGI programs
- cgi_echo: {
- command: "chmod 755 build/<%=pkg%>*/web/service/echo.cgi"
+ tar_source_debug: {
+ command: "tar cjCf build dist/worldview-debug.tar.bz2 " +
+ "worldview-debug"
},
- cgi_debug_tile: {
- command: "chmod 755 build/<%=pkg%>*/web/service/debug_tile.cgi"
- },
-
- cgi_shorten: {
- command: "chmod 755 build/<%=pkg%>*/web/service/link/shorten.cgi"
- },
-
- // Create a tarball of the debug build with a version number and
- // git revision.
- tar_debug_versioned: {
- command: "tar cjCf build dist/<%=pkg%>" +
- "-debug" +
- "-<%=info.version%>" +
- "-<%=info.release%>" +
- buildNumber +
- ".git<%= grunt.config.get('git-revision') %>" +
- ".tar.bz2 " +
- "<%=pkg%>-debug"
- },
+ tar_source_release: {
+ command: "tar cjCf build dist/worldview.tar.bz2 " +
+ "worldview"
+ }
- // Create a tarball of the debug build without versioning
- // information
- tar_debug: {
- command: "tar cjCf build dist/" +
- "<%=pkg%>-debug.tar.bz2 " +
- "<%=pkg%>-debug"
- },
+ },
- // Create a tarball of the release build with a version number and
- // git revision
- tar_release_versioned: {
- command: "tar cjCf build dist/<%=pkg%>" +
- "-<%=info.version%>" +
- "-<%=info.release%>" +
- buildNumber +
- ".git<%= grunt.config.get('git-revision') %>" +
- ".tar.bz2 " +
- "<%=pkg%>"
- },
+ "git-rev-parse": {
+ build: {
+ options: {
+ prop: 'git-revision',
+ number: 6
+ }
+ }
+ },
- // Create a tarball of the release build without versioning
- // information
- tar_release: {
- command: "tar cjCf build dist/" +
- "<%=pkg%>.tar.bz2 " +
- "<%=pkg%>"
- },
+ lineremover: {
+ // After removing all the <!-- link.dev --> references, there
+ // are a lot of blank lines in index.html. Remove them
+ release: {
+ files: [{
+ expand: true, cwd: "build",
+ src: ["**/web/**/*.html"],
+ dest: "build"
+ }]
+ }
+ },
- // Builds the RPM
- rpmbuild: {
- command: 'rpmbuild --define "_topdir $PWD/build/rpmbuild" ' +
- '--define "build_num ' + buildNumber +'" ' +
- '-ba build/rpmbuild/SPECS/worldview.spec'
+ mkdir: {
+ dist: {
+ options: {
+ create: ["dist"]
+ }
}
},
- replace: {
- // Official name of the application
- tokens: {
- src: [
- "build/<%=pkg%>-debug/web/*.html",
- "build/<%=pkg%>-debug/web/js/**/*.js",
- "build/<%=pkg%>-debug/web/pages/**/*.html",
- "build/<%=pkg%>-debug/web/brand/**/*.html"
- ],
- overwrite: true,
- replacements: [{
- from: "@OFFICIAL_NAME@",
- to: "<%=opt.officialName%>"
- }, {
- from: "@LONG_NAME@",
- to: "<%=opt.longName%>"
- },{
- from: "@NAME@",
- to: "<%=opt.shortName%>"
- },{
- from: "@EMAIL@",
- to: "<%=opt.email%>"
- },{
- from: "@BUILD_TIMESTAMP@",
- to: buildTimestamp
- },{
- from: "@BUILD_VERSION@",
- to: "<%=info.version%>"
- },{
- from: "@BUILD_NONCE@",
- to: buildNonce
- }]
- },
+ remove: {
+ build: ["build"],
+ dist: ["dist"],
+ // Removes all JavaScript, CSS, and auxillary files not necessary
+ // in a release build. Place exceptions for JavaScript and
+ // CSS here.
+ source: [
+ "build/worldview-debug/web/css/**/*.css",
+ "build/worldview-debug/web/**/*.js",
+ "!build/worldview-debug/web/css/wv.css",
+ "!build/worldview-debug/web/js/wv.js",
+ "!build/worldview-debug/web/css/bulkDownload.css",
+ "!build/worldview-debug/web/js/map/wv.map.tileworker.js",
+ "!build/worldview-debug/web/ext/**/*"
+ ],
+ },
+ replace: {
// Remove all development links <!-- link.dev --> and uncomment
// all the release links <1-- link.prod -->
links: {
src: [
- "build/<%=pkg%>-debug/web/index.html",
- "build/<%=pkg%>-debug/web/pages/*.html",
+ "build/**/web/index.html",
+ "build/**/web/pages/*.html",
],
overwrite: true,
replacements: [{
@@ -284,139 +198,6 @@ module.exports = function(grunt) {
to: "$2"
}]
},
-
- // Adds RPM package name, version, release, and git revision
- // to the RPM spec file in the build directory
- rpm_sources: {
- src: [
- "build/rpmbuild/SOURCES/*",
- "build/rpmbuild/SPECS/*",
- "!**/*.tar.bz2"
- ],
- overwrite: true,
- replacements: [{
- from: "@WORLDVIEW@",
- to: "<%=pkg%>"
- }, {
- from: "@BUILD_VERSION@",
- to: "<%=info.version%>"
- },{
- from: "@BUILD_RELEASE@",
- to: "<%=info.release%>"
- },{
- from: "@GIT_REVISION@",
- to: ".git<%= grunt.config.get('git-revision') %>"
- }]
- },
-
- apache: {
- src: [
- "build/worldview-dev.httpd.conf"
- ],
- overwrite: true,
- replacements: [{
- from: "@WORLDVIEW@",
- to: "<%=pkg%>"
- },{
- from: "@ROOT@",
- to: process.cwd()
- }]
- }
- },
-
- markdown: {
- metadata: {
- files: [
- {
- expand: true,
- cwd: "build/options/config/metadata",
- src: "**/*.md",
- dest: "build/options/config/metadata",
- ext: ".html"
- },
- ],
- options: {
- template: "etc/deploy/metadata.template.html"
- }
- },
- new: {
- files: [
- {
- expand: true,
- cwd: "build/options/brand/pages",
- src: "**/*.md",
- dest: "build/options/brand/pages",
- ext: ".html"
- }
- ],
- options: {
- template: "etc/deploy/new.template.html"
- }
- }
- },
-
- concat: {
- // Combine all the Worldview JavaScript files into one file.
- wv_js: {
- src: wvJs["wv.js"],
- dest: "build/<%=pkg%>-debug/web/js/wv.js",
- },
- // Combine all the Worldview CSS files into one file.
- wv_css: {
- src: wvCss,
- dest: "build/<%=pkg%>-debug/web/css/wv.css"
- }
- },
-
- uglify: {
- // Minifiy the concatenated Worldview JavaScript file.
- wv_js: {
- options: {
- banner: banner
- },
- files: {
- "build/<%=pkg%>/web/js/wv.js": [
- "build/<%=pkg%>-debug/web/js/wv.js"
- ]
- }
- }
- },
-
- cssmin: {
- // Minifiy the concatenated Worldview CSS file.
- wv_css: {
- options: {
- banner: banner,
- keepSpecialComments: false
- },
- files: {
- "build/<%=pkg%>/web/css/wv.css": [
- "build/<%=pkg%>-debug/web/css/wv.css"
- ]
- }
- }
- },
-
- minjson: {
- main: {
- files: {
- "build/<%=pkg%>/web/conf/wv.json":
- "build/<%=pkg%>/web/conf/wv.json",
- "build/<%=pkg%>/web/conf/palettes.json":
- "build/<%=pkg%>/web/conf/palettes.json"
- }
- }
- },
-
- lineremover: {
- // After removing all the <!-- link.dev --> references, there
- // are a lot of blank lines in index.html. Remove them
- release: {
- files: {
- "build/<%=pkg%>/web/index.html":
- "build/<%=pkg%>/web/index.html"
- }
- }
},
jshint: {
@@ -437,54 +218,22 @@ module.exports = function(grunt) {
}
},
- csslint: {
- main: {
+ uglify: {
+ // Minifiy the concatenated Worldview JavaScript file.
+ wv_js: {
options: {
- ids: false
+ banner: banner
},
- src: ["src/css/wv.*.css"]
- }
- },
-
- buster: {
- console: {},
- report: {
- test: {
- reporter: "xml"
+ files: {
+ "build/worldview/web/js/wv.js": [
+ "build/worldview/web/js/wv.js"
+ ]
}
}
},
- remove: {
- build: ["build"],
- dist: ["dist"],
- // Removes all JavaScript, CSS, and auxillary files not necessary
- // in a release build. Place exceptions for JavaScript and
- // CSS here.
- source: [
- "build/<%=pkg%>-debug/web/css/**/*.css",
- "build/<%=pkg%>-debug/web/**/*.js",
- "!build/<%=pkg%>-debug/web/css/wv.css",
- "!build/<%=pkg%>-debug/web/js/wv.js",
- "!build/<%=pkg%>-debug/web/css/bulkDownload.css",
- "!build/<%=pkg%>-debug/web/js/map/wv.map.tileworker.js",
- "!build/<%=pkg%>-debug/web/ext/**/*"
- ],
- config_src: [
- "src/config/**/*"
- ],
- dist_tar: ["dist/*.tar.bz2"],
- dist_rpm: ["dist/*.rpm"],
- rpmbuild: ["build/rpmbuild"],
- cgi_echo: ["build/<%=pkg%>*/web/service/echo.cgi"],
- cgi_shorten: ["build/<%=pkg%>*/web/service/link/*"]
- }
-
});
- grunt.file.mkdir("build/rpmbuild");
- grunt.file.mkdir("dist");
-
grunt.loadNpmTasks("grunt-buster");
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-contrib-concat");
@@ -499,83 +248,41 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-git-rev-parse");
grunt.loadNpmTasks("grunt-markdown");
grunt.loadNpmTasks("grunt-minjson");
+ grunt.loadNpmTasks("grunt-mkdir");
grunt.loadNpmTasks("grunt-text-replace");
grunt.loadNpmTasks("grunt-rename");
+ // Lets use "clean" as a target instead of the name of the task
grunt.renameTask("clean", "remove");
- grunt.task.run("git-rev-parse");
-
- grunt.registerTask("config", [
- "clean",
- "remove:config_src",
- "exec:config",
- "markdown",
- "copy:config_src"
- ]);
-
- grunt.registerTask("feature_shorten", "URL Shortening", function() {
- if ( features.urlShortening ) {
- grunt.task.run("exec:cgi_shorten");
- } else {
- grunt.task.run("remove:cgi_shorten");
- }
- });
- grunt.registerTask("feature_download", "Data download", function() {
- if ( features.dataDownload ) {
- grunt.task.run("exec:cgi_echo");
- } else {
- grunt.task.run("remove:cgi_echo");
- }
- });
+ // Make sure these directories exist
+ grunt.file.mkdir("build/rpmbuild");
+ grunt.file.mkdir("dist");
grunt.registerTask("build", [
- "config",
+ "clean",
+ "git-rev-parse",
"copy:source",
"concat",
- "replace:tokens",
- "replace:links",
"remove:source",
+ "exec:empty",
"copy:release",
"uglify",
"cssmin",
- "minjson",
+ "replace:links",
"lineremover",
- "exec:empty",
- "feature_shorten",
- "feature_download",
- "exec:cgi_debug_tile",
- "remove:dist_tar",
- "exec:tar_debug_versioned",
- "exec:tar_debug",
- "exec:tar_release_versioned",
- "exec:tar_release",
- ]);
-
- grunt.registerTask("rpm_only", [
- "remove:rpmbuild",
- "copy:rpm_sources",
- "rename:rpm_apache",
- "rename:rpm_apache_debug",
- "replace:rpm_sources",
- "remove:dist_rpm",
- "exec:rpmbuild",
- "copy:rpm"
- ]);
-
- grunt.registerTask("apache-config" , [
- "copy:apache",
- "replace:apache",
- "rename:apache"
+ "exec:cgi",
+ "mkdir:dist",
+ "exec:tar_source_debug",
+ "copy:dist_source_debug_versioned",
+ "exec:tar_source_release",
+ "copy:dist_source_release_versioned"
]);
+ grunt.registerTask("check", ["lint", "test"]);
+ grunt.registerTask("clean", ["remove:build", "remove:dist"]);
grunt.registerTask("lint", ["jshint:console"]);
grunt.registerTask("test", ["buster:console"]);
- grunt.registerTask("push", ["lint", "test"]);
- grunt.registerTask("rpm", ["build", "rpm_only"]);
- grunt.registerTask("clean", "remove:build");
- grunt.registerTask("distclean", ["remove:build", "remove:dist"]);
grunt.registerTask("default", ["build"]);
-
};
diff --git a/etc/deploy/banner.txt b/deploy/banner.txt
similarity index 100%
rename from etc/deploy/banner.txt
rename to deploy/banner.txt
diff --git a/etc/deploy/metadata.template.html b/deploy/metadata.template.html
similarity index 100%
rename from etc/deploy/metadata.template.html
rename to deploy/metadata.template.html
diff --git a/etc/deploy/mock_install.sh b/deploy/mock_install.sh
similarity index 100%
rename from etc/deploy/mock_install.sh
rename to deploy/mock_install.sh
diff --git a/etc/deploy/mock_uninstall.sh b/deploy/mock_uninstall.sh
similarity index 100%
rename from etc/deploy/mock_uninstall.sh
rename to deploy/mock_uninstall.sh
diff --git a/etc/deploy/new.template.html b/deploy/new.template.html
similarity index 100%
rename from etc/deploy/new.template.html
rename to deploy/new.template.html
diff --git a/etc/deploy/sources/cron.worldview b/deploy/sources/cron.worldview
similarity index 100%
rename from etc/deploy/sources/cron.worldview
rename to deploy/sources/cron.worldview
diff --git a/etc/deploy/sources/cron.worldview-debug b/deploy/sources/cron.worldview-debug
similarity index 100%
rename from etc/deploy/sources/cron.worldview-debug
rename to deploy/sources/cron.worldview-debug
diff --git a/etc/deploy/sources/events_log-debug.conf b/deploy/sources/events_log-debug.conf
similarity index 100%
rename from etc/deploy/sources/events_log-debug.conf
rename to deploy/sources/events_log-debug.conf
diff --git a/etc/deploy/sources/events_log.conf b/deploy/sources/events_log.conf
similarity index 100%
rename from etc/deploy/sources/events_log.conf
rename to deploy/sources/events_log.conf
diff --git a/etc/deploy/sources/httpd-debug.conf b/deploy/sources/httpd-debug.conf
similarity index 100%
rename from etc/deploy/sources/httpd-debug.conf
rename to deploy/sources/httpd-debug.conf
diff --git a/etc/deploy/sources/httpd.conf b/deploy/sources/httpd.conf
similarity index 100%
rename from etc/deploy/sources/httpd.conf
rename to deploy/sources/httpd.conf
diff --git a/etc/deploy/sources/logrotate.worldview b/deploy/sources/logrotate.worldview
similarity index 100%
rename from etc/deploy/sources/logrotate.worldview
rename to deploy/sources/logrotate.worldview
diff --git a/etc/deploy/sources/logrotate.worldview-debug b/deploy/sources/logrotate.worldview-debug
similarity index 100%
rename from etc/deploy/sources/logrotate.worldview-debug
rename to deploy/sources/logrotate.worldview-debug
diff --git a/etc/deploy/system_purge.sh b/deploy/system_purge.sh
similarity index 100%
rename from etc/deploy/system_purge.sh
rename to deploy/system_purge.sh
diff --git a/etc/deploy/worldview.spec b/deploy/worldview.spec
similarity index 100%
rename from etc/deploy/worldview.spec
rename to deploy/worldview.spec
diff --git a/deploy/wv.css.json b/deploy/wv.css.json
new file mode 100644
index 000000000..9ec1f7f2c
--- /dev/null
+++ b/deploy/wv.css.json
@@ -0,0 +1,23 @@
+[
+ "web/css/wv.main.css",
+ "web/css/wv.link.css",
+ "web/css/wv.image.css",
+ "web/css/wv.palettes.css",
+ "web/css/wv.debug.css",
+ "web/css/map-ol2.css",
+ "web/css/wv.date.css",
+ "web/css/menuPicker.css",
+ "web/css/accordionPicker.css",
+ "web/css/bank.css",
+ "web/css/selector.css",
+ "web/css/splash.css",
+ "web/css/products.css",
+ "web/css/projection.css",
+ "web/css/indicator.css",
+ "web/css/events.css",
+ "web/css/dataDownload.css",
+ "web/css/global.css",
+ "web/css/wv.sidebar.css",
+ "web/css/wv.layers.options.css",
+ "web/css/new-ui.css"
+]
diff --git a/deploy/wv.js.json b/deploy/wv.js.json
new file mode 100644
index 000000000..e07749939
--- /dev/null
+++ b/deploy/wv.js.json
@@ -0,0 +1,62 @@
+{
+ "wv.js": [
+ "web/js/wv.brand.js",
+
+ "web/js/util/wv.util.browser.js",
+ "web/js/util/wv.util.js",
+ "web/js/util/wv.util.load.js",
+ "web/js/util/wv.util.events.js",
+
+ "web/js/ui/wv.ui.js",
+ "web/js/ui/wv.ui.indicator.js",
+ "web/js/ui/wv.ui.info.js",
+
+ "web/js/proj/wv.proj.js",
+ "web/js/proj/wv.proj.change.js",
+ "web/js/proj/wv.proj.model.js",
+ "web/js/proj/wv.proj.ui.js",
+
+ "web/js/date/wv.date.js",
+ "web/js/date/wv.date.anim.js",
+ "web/js/date/wv.date.model.js",
+ "web/js/date/wv.date.sliders.js",
+ "web/js/date/wv.date.label.js",
+ "web/js/date/wv.date.timeline.js",
+
+ "web/js/layers/wv.layers.js",
+ "web/js/layers/wv.layers.metadata.js",
+ "web/js/layers/wv.layers.model.js",
+ "web/js/layers/wv.layers.sidebar.js",
+ "web/js/layers/wv.layers.active.js",
+ "web/js/layers/wv.layers.add.js",
+ "web/js/layers/wv.layers.options.js",
+
+ "web/js/image/wv.image.rubberband.js",
+ "web/js/image/wv.image.panel.js",
+
+ "web/js/palettes/wv.palettes.js",
+ "web/js/palettes/wv.palettes.legend.js",
+ "web/js/palettes/wv.palettes.model.js",
+
+ "web/js/data/wv.data.js",
+ "web/js/data/wv.data.echo.js",
+ "web/js/data/wv.data.handler.js",
+ "web/js/data/wv.data.layers.js",
+ "web/js/data/wv.data.map.js",
+ "web/js/data/wv.data.model.js",
+ "web/js/data/wv.data.results.js",
+ "web/js/data/wv.data.ui.js",
+
+ "web/js/map/wv.map.js",
+ "web/js/map/wv.map.model.js",
+ "web/js/map/wv.map.palette.js",
+ "web/js/map/wv.map.ui.js",
+
+ "web/js/link/wv.link.model.js",
+ "web/js/link/wv.link.ui.js",
+
+ "web/js/wv.tour.js",
+ "web/js/wv.debug.js",
+ "web/js/wv.main.js"
+ ]
+}
diff --git a/etc/deploy/wv.css.json b/etc/deploy/wv.css.json
deleted file mode 100644
index adb87bda8..000000000
--- a/etc/deploy/wv.css.json
+++ /dev/null
@@ -1,23 +0,0 @@
-[
- "src/css/wv.main.css",
- "src/css/wv.link.css",
- "src/css/wv.image.css",
- "src/css/wv.palettes.css",
- "src/css/wv.debug.css",
- "src/css/map-ol2.css",
- "src/css/wv.date.css",
- "src/css/menuPicker.css",
- "src/css/accordionPicker.css",
- "src/css/bank.css",
- "src/css/selector.css",
- "src/css/splash.css",
- "src/css/products.css",
- "src/css/projection.css",
- "src/css/indicator.css",
- "src/css/events.css",
- "src/css/dataDownload.css",
- "src/css/global.css",
- "src/css/wv.sidebar.css",
- "src/css/wv.layers.options.css",
- "src/css/new-ui.css"
-]
diff --git a/etc/deploy/wv.js.json b/etc/deploy/wv.js.json
deleted file mode 100644
index e60201af7..000000000
--- a/etc/deploy/wv.js.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "wv.js": [
- "src/js/wv.brand.js",
-
- "src/js/util/wv.util.browser.js",
- "src/js/util/wv.util.js",
- "src/js/util/wv.util.load.js",
- "src/js/util/wv.util.events.js",
-
- "src/js/ui/wv.ui.js",
- "src/js/ui/wv.ui.indicator.js",
- "src/js/ui/wv.ui.info.js",
-
- "src/js/proj/wv.proj.js",
- "src/js/proj/wv.proj.change.js",
- "src/js/proj/wv.proj.model.js",
- "src/js/proj/wv.proj.ui.js",
-
- "src/js/date/wv.date.js",
- "src/js/date/wv.date.anim.js",
- "src/js/date/wv.date.model.js",
- "src/js/date/wv.date.sliders.js",
- "src/js/date/wv.date.label.js",
- "src/js/date/wv.date.timeline.js",
-
- "src/js/layers/wv.layers.js",
- "src/js/layers/wv.layers.metadata.js",
- "src/js/layers/wv.layers.model.js",
- "src/js/layers/wv.layers.sidebar.js",
- "src/js/layers/wv.layers.active.js",
- "src/js/layers/wv.layers.add.js",
- "src/js/layers/wv.layers.options.js",
-
- "src/js/image/wv.image.rubberband.js",
- "src/js/image/wv.image.panel.js",
-
- "src/js/palettes/wv.palettes.js",
- "src/js/palettes/wv.palettes.legend.js",
- "src/js/palettes/wv.palettes.model.js",
-
- "src/js/data/wv.data.js",
- "src/js/data/wv.data.echo.js",
- "src/js/data/wv.data.handler.js",
- "src/js/data/wv.data.layers.js",
- "src/js/data/wv.data.map.js",
- "src/js/data/wv.data.model.js",
- "src/js/data/wv.data.results.js",
- "src/js/data/wv.data.ui.js",
-
- "src/js/map/wv.map.js",
- "src/js/map/wv.map.model.js",
- "src/js/map/wv.map.palette.js",
- "src/js/map/wv.map.ui.js",
-
- "src/js/link/wv.link.model.js",
- "src/js/link/wv.link.ui.js",
-
- "src/js/wv.tour.js",
- "src/js/wv.debug.js",
- "src/js/wv.main.js"
- ]
-}
diff --git a/package.json b/package.json
index 09144b6f0..d52e779f8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"version": "0.7.0",
- "release": "0.3",
+ "release": "0.3",
"repository": {
"type": "git",
"url": "https://github.com/nasa-gibs/worldview.git"
@@ -15,16 +15,17 @@
"grunt-contrib-clean": "0.5.x",
"grunt-contrib-concat": "0.3.x",
"grunt-contrib-compress": "0.5.x",
- "grunt-contrib-copy": "0.4.x",
+ "grunt-contrib-copy": "0.6.x",
"grunt-contrib-csslint": "0.2.x",
"grunt-contrib-cssmin": "0.7.x",
"grunt-contrib-jshint": "0.8.x",
- "grunt-contrib-uglify": "0.2.x",
+ "grunt-contrib-uglify": "0.6.x",
"grunt-exec": "0.4.x",
"grunt-git-rev-parse": "0.1.x",
"grunt-line-remover": "0.0.x",
"grunt-markdown": "0.6.x",
"grunt-minjson": "0.1.x",
+ "grunt-mkdir": "0.1.x",
"grunt-rename": "0.1.x",
"grunt-text-replace": "0.3.x",
"phantomjs": "1.9.x",
diff --git a/src/.htaccess b/web/.htaccess
similarity index 100%
rename from src/.htaccess
rename to web/.htaccess
diff --git a/src/brand/.gitignore b/web/brand/.gitignore
similarity index 100%
rename from src/brand/.gitignore
rename to web/brand/.gitignore
diff --git a/src/brand/.htaccess b/web/brand/.htaccess
similarity index 100%
rename from src/brand/.htaccess
rename to web/brand/.htaccess
diff --git a/src/config/.gitignore b/web/config/.gitignore
similarity index 100%
rename from src/config/.gitignore
rename to web/config/.gitignore
diff --git a/src/config/.htaccess b/web/config/.htaccess
similarity index 100%
rename from src/config/.htaccess
rename to web/config/.htaccess
diff --git a/src/css/.htaccess b/web/css/.htaccess
similarity index 100%
rename from src/css/.htaccess
rename to web/css/.htaccess
diff --git a/src/css/accordionPicker.css b/web/css/accordionPicker.css
similarity index 100%
rename from src/css/accordionPicker.css
rename to web/css/accordionPicker.css
diff --git a/src/css/bank.css b/web/css/bank.css
similarity index 100%
rename from src/css/bank.css
rename to web/css/bank.css
diff --git a/src/css/bulkDownload.css b/web/css/bulkDownload.css
similarity index 100%
rename from src/css/bulkDownload.css
rename to web/css/bulkDownload.css
diff --git a/src/css/dataDownload.css b/web/css/dataDownload.css
similarity index 100%
rename from src/css/dataDownload.css
rename to web/css/dataDownload.css
diff --git a/src/css/events.css b/web/css/events.css
similarity index 100%
rename from src/css/events.css
rename to web/css/events.css
diff --git a/src/css/global.css b/web/css/global.css
similarity index 100%
rename from src/css/global.css
rename to web/css/global.css
diff --git a/src/css/indicator.css b/web/css/indicator.css
similarity index 100%
rename from src/css/indicator.css
rename to web/css/indicator.css
diff --git a/src/css/map-ol2.css b/web/css/map-ol2.css
similarity index 100%
rename from src/css/map-ol2.css
rename to web/css/map-ol2.css
diff --git a/src/css/map.css b/web/css/map.css
similarity index 100%
rename from src/css/map.css
rename to web/css/map.css
diff --git a/src/css/menuPicker.css b/web/css/menuPicker.css
similarity index 100%
rename from src/css/menuPicker.css
rename to web/css/menuPicker.css
diff --git a/src/css/new-ui.css b/web/css/new-ui.css
similarity index 100%
rename from src/css/new-ui.css
rename to web/css/new-ui.css
diff --git a/src/css/products.css b/web/css/products.css
similarity index 100%
rename from src/css/products.css
rename to web/css/products.css
diff --git a/src/css/projection.css b/web/css/projection.css
similarity index 100%
rename from src/css/projection.css
rename to web/css/projection.css
diff --git a/src/css/selector.css b/web/css/selector.css
similarity index 100%
rename from src/css/selector.css
rename to web/css/selector.css
diff --git a/src/css/splash.css b/web/css/splash.css
similarity index 100%
rename from src/css/splash.css
rename to web/css/splash.css
diff --git a/src/css/wv.date.css b/web/css/wv.date.css
similarity index 100%
rename from src/css/wv.date.css
rename to web/css/wv.date.css
diff --git a/src/css/wv.debug.css b/web/css/wv.debug.css
similarity index 100%
rename from src/css/wv.debug.css
rename to web/css/wv.debug.css
diff --git a/src/css/wv.image.css b/web/css/wv.image.css
similarity index 100%
rename from src/css/wv.image.css
rename to web/css/wv.image.css
diff --git a/src/css/wv.layers.options.css b/web/css/wv.layers.options.css
similarity index 100%
rename from src/css/wv.layers.options.css
rename to web/css/wv.layers.options.css
diff --git a/src/css/wv.link.css b/web/css/wv.link.css
similarity index 100%
rename from src/css/wv.link.css
rename to web/css/wv.link.css
diff --git a/src/css/wv.main.css b/web/css/wv.main.css
similarity index 100%
rename from src/css/wv.main.css
rename to web/css/wv.main.css
diff --git a/src/css/wv.palettes.css b/web/css/wv.palettes.css
similarity index 100%
rename from src/css/wv.palettes.css
rename to web/css/wv.palettes.css
diff --git a/src/css/wv.sidebar.css b/web/css/wv.sidebar.css
similarity index 100%
rename from src/css/wv.sidebar.css
rename to web/css/wv.sidebar.css
diff --git a/src/data/.htaccess b/web/data/.htaccess
similarity index 100%
rename from src/data/.htaccess
rename to web/data/.htaccess
diff --git a/src/data/MODIS_Grid.EPSG_3031.json b/web/data/MODIS_Grid.EPSG_3031.json
similarity index 100%
rename from src/data/MODIS_Grid.EPSG_3031.json
rename to web/data/MODIS_Grid.EPSG_3031.json
diff --git a/src/data/MODIS_Grid.EPSG_3413.json b/web/data/MODIS_Grid.EPSG_3413.json
similarity index 100%
rename from src/data/MODIS_Grid.EPSG_3413.json
rename to web/data/MODIS_Grid.EPSG_3413.json
diff --git a/src/data/MODIS_Grid.EPSG_3995.json b/web/data/MODIS_Grid.EPSG_3995.json
similarity index 100%
rename from src/data/MODIS_Grid.EPSG_3995.json
rename to web/data/MODIS_Grid.EPSG_3995.json
diff --git a/src/data/MODIS_Grid.EPSG_4326.json b/web/data/MODIS_Grid.EPSG_4326.json
similarity index 100%
rename from src/data/MODIS_Grid.EPSG_4326.json
rename to web/data/MODIS_Grid.EPSG_4326.json
diff --git a/src/ext/.htaccess b/web/ext/.htaccess
similarity index 100%
rename from src/ext/.htaccess
rename to web/ext/.htaccess
diff --git a/src/ext/date/mobiscroll-2.6.0/mobiscroll.css b/web/ext/date/mobiscroll-2.6.0/mobiscroll.css
similarity index 100%
rename from src/ext/date/mobiscroll-2.6.0/mobiscroll.css
rename to web/ext/date/mobiscroll-2.6.0/mobiscroll.css
diff --git a/src/ext/date/mobiscroll-2.6.0/mobiscroll.js b/web/ext/date/mobiscroll-2.6.0/mobiscroll.js
similarity index 100%
rename from src/ext/date/mobiscroll-2.6.0/mobiscroll.js
rename to web/ext/date/mobiscroll-2.6.0/mobiscroll.js
diff --git a/src/ext/date/mobiscroll-2.6.0/mobiscroll.min.css b/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.css
similarity index 100%
rename from src/ext/date/mobiscroll-2.6.0/mobiscroll.min.css
rename to web/ext/date/mobiscroll-2.6.0/mobiscroll.min.css
diff --git a/src/ext/date/mobiscroll-2.6.0/mobiscroll.min.js b/web/ext/date/mobiscroll-2.6.0/mobiscroll.min.js
similarity index 100%
rename from src/ext/date/mobiscroll-2.6.0/mobiscroll.min.js
rename to web/ext/date/mobiscroll-2.6.0/mobiscroll.min.js
diff --git a/src/ext/image/jcrop-0.9.10-p1/Jcrop.gif b/web/ext/image/jcrop-0.9.10-p1/Jcrop.gif
similarity index 100%
rename from src/ext/image/jcrop-0.9.10-p1/Jcrop.gif
rename to web/ext/image/jcrop-0.9.10-p1/Jcrop.gif
diff --git a/src/ext/image/jcrop-0.9.10-p1/jcrop.css b/web/ext/image/jcrop-0.9.10-p1/jcrop.css
similarity index 100%
rename from src/ext/image/jcrop-0.9.10-p1/jcrop.css
rename to web/ext/image/jcrop-0.9.10-p1/jcrop.css
diff --git a/src/ext/image/jcrop-0.9.10-p1/jcrop.js b/web/ext/image/jcrop-0.9.10-p1/jcrop.js
similarity index 100%
rename from src/ext/image/jcrop-0.9.10-p1/jcrop.js
rename to web/ext/image/jcrop-0.9.10-p1/jcrop.js
diff --git a/src/ext/image/jcrop-0.9.10-p1/jcrop.min.css b/web/ext/image/jcrop-0.9.10-p1/jcrop.min.css
similarity index 100%
rename from src/ext/image/jcrop-0.9.10-p1/jcrop.min.css
rename to web/ext/image/jcrop-0.9.10-p1/jcrop.min.css
diff --git a/src/ext/image/jcrop-0.9.10-p1/jcrop.min.js b/web/ext/image/jcrop-0.9.10-p1/jcrop.min.js
similarity index 100%
rename from src/ext/image/jcrop-0.9.10-p1/jcrop.min.js
rename to web/ext/image/jcrop-0.9.10-p1/jcrop.min.js
diff --git a/src/ext/main/jquery-1.11.0/jquery.js b/web/ext/main/jquery-1.11.0/jquery.js
similarity index 100%
rename from src/ext/main/jquery-1.11.0/jquery.js
rename to web/ext/main/jquery-1.11.0/jquery.js
diff --git a/src/ext/main/jquery-1.11.0/jquery.min.js b/web/ext/main/jquery-1.11.0/jquery.min.js
similarity index 100%
rename from src/ext/main/jquery-1.11.0/jquery.min.js
rename to web/ext/main/jquery-1.11.0/jquery.min.js
diff --git a/src/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.js b/web/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.js
similarity index 100%
rename from src/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.js
rename to web/ext/main/jquery.migrate-1.2.1/jquery-migrate.min.js
diff --git a/src/ext/main/jscache-gitba01cdc/cache.js b/web/ext/main/jscache-gitba01cdc/cache.js
similarity index 100%
rename from src/ext/main/jscache-gitba01cdc/cache.js
rename to web/ext/main/jscache-gitba01cdc/cache.js
diff --git a/src/ext/main/jscache-gitba01cdc/cache.min.js b/web/ext/main/jscache-gitba01cdc/cache.min.js
similarity index 100%
rename from src/ext/main/jscache-gitba01cdc/cache.min.js
rename to web/ext/main/jscache-gitba01cdc/cache.min.js
diff --git a/src/ext/main/lodash-2.4.1/lodash.js b/web/ext/main/lodash-2.4.1/lodash.js
similarity index 100%
rename from src/ext/main/lodash-2.4.1/lodash.js
rename to web/ext/main/lodash-2.4.1/lodash.js
diff --git a/src/ext/main/lodash-2.4.1/lodash.min.js b/web/ext/main/lodash-2.4.1/lodash.min.js
similarity index 100%
rename from src/ext/main/lodash-2.4.1/lodash.min.js
rename to web/ext/main/lodash-2.4.1/lodash.min.js
diff --git a/src/ext/main/yepnope-1.5.4/yepnope.js b/web/ext/main/yepnope-1.5.4/yepnope.js
similarity index 100%
rename from src/ext/main/yepnope-1.5.4/yepnope.js
rename to web/ext/main/yepnope-1.5.4/yepnope.js
diff --git a/src/ext/main/yepnope-1.5.4/yepnope.min.js b/web/ext/main/yepnope-1.5.4/yepnope.min.js
similarity index 100%
rename from src/ext/main/yepnope-1.5.4/yepnope.min.js
rename to web/ext/main/yepnope-1.5.4/yepnope.min.js
diff --git a/src/ext/map/openlayers-2.13.1-wv1/OpenLayers.js b/web/ext/map/openlayers-2.13.1-wv1/OpenLayers.js
similarity index 100%
rename from src/ext/map/openlayers-2.13.1-wv1/OpenLayers.js
rename to web/ext/map/openlayers-2.13.1-wv1/OpenLayers.js
diff --git a/src/ext/map/openlayers-2.13.1-wv1/OpenLayers.min.js b/web/ext/map/openlayers-2.13.1-wv1/OpenLayers.min.js
similarity index 100%
rename from src/ext/map/openlayers-2.13.1-wv1/OpenLayers.min.js
rename to web/ext/map/openlayers-2.13.1-wv1/OpenLayers.min.js
diff --git a/src/ext/map/openlayers-2.13.1-wv1/theme/default/style.css b/web/ext/map/openlayers-2.13.1-wv1/theme/default/style.css
similarity index 100%
rename from src/ext/map/openlayers-2.13.1-wv1/theme/default/style.css
rename to web/ext/map/openlayers-2.13.1-wv1/theme/default/style.css
diff --git a/src/ext/map/openlayers-2.13.1-wv1/theme/default/style.min.css b/web/ext/map/openlayers-2.13.1-wv1/theme/default/style.min.css
similarity index 100%
rename from src/ext/map/openlayers-2.13.1-wv1/theme/default/style.min.css
rename to web/ext/map/openlayers-2.13.1-wv1/theme/default/style.min.css
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/1273404841_tick_16.png b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/1273404841_tick_16.png
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/1273404841_tick_16.png
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/1273404841_tick_16.png
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/blank.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/blank.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/blank.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/blank.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/button-large.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/button-large.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/button-large.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/button-large.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/enabled.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/enabled.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/enabled.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/enabled.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/flagssprite_small.png b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/flagssprite_small.png
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/flagssprite_small.png
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/flagssprite_small.png
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.jpg b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.jpg
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.jpg
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/sprite.jpg
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/tick.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/tick.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/tick.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/icons/tick.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/dd_arrow.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/dd_arrow.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/dd_arrow.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/dd_arrow.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/title-bg.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/title-bg.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/title-bg.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin1/title-bg.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/dd_arrow.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/dd_arrow.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/dd_arrow.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/dd_arrow.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/icon-ok.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/icon-ok.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/icon-ok.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/icon-ok.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/title-bg.gif b/web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/title-bg.gif
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/title-bg.gif
rename to web/ext/palettes/jquery.dd-3.3/images/jquery.dd-3.3/skin2/title-bg.gif
diff --git a/src/ext/palettes/jquery.dd-3.3/jquery.dd.css b/web/ext/palettes/jquery.dd-3.3/jquery.dd.css
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/jquery.dd.css
rename to web/ext/palettes/jquery.dd-3.3/jquery.dd.css
diff --git a/src/ext/palettes/jquery.dd-3.3/jquery.dd.js b/web/ext/palettes/jquery.dd-3.3/jquery.dd.js
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/jquery.dd.js
rename to web/ext/palettes/jquery.dd-3.3/jquery.dd.js
diff --git a/src/ext/palettes/jquery.dd-3.3/jquery.dd.min.css b/web/ext/palettes/jquery.dd-3.3/jquery.dd.min.css
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/jquery.dd.min.css
rename to web/ext/palettes/jquery.dd-3.3/jquery.dd.min.css
diff --git a/src/ext/palettes/jquery.dd-3.3/jquery.dd.min.js b/web/ext/palettes/jquery.dd-3.3/jquery.dd.min.js
similarity index 100%
rename from src/ext/palettes/jquery.dd-3.3/jquery.dd.min.js
rename to web/ext/palettes/jquery.dd-3.3/jquery.dd.min.js
diff --git a/src/ext/proj/proj4js-1.1.0-1/proj4js.js b/web/ext/proj/proj4js-1.1.0-1/proj4js.js
similarity index 100%
rename from src/ext/proj/proj4js-1.1.0-1/proj4js.js
rename to web/ext/proj/proj4js-1.1.0-1/proj4js.js
diff --git a/src/ext/proj/proj4js-1.1.0-1/proj4js.min.js b/web/ext/proj/proj4js-1.1.0-1/proj4js.min.js
similarity index 100%
rename from src/ext/proj/proj4js-1.1.0-1/proj4js.min.js
rename to web/ext/proj/proj4js-1.1.0-1/proj4js.min.js
diff --git a/src/ext/tour/joyride-2.0.3-2/joyride.css b/web/ext/tour/joyride-2.0.3-2/joyride.css
similarity index 100%
rename from src/ext/tour/joyride-2.0.3-2/joyride.css
rename to web/ext/tour/joyride-2.0.3-2/joyride.css
diff --git a/src/ext/tour/joyride-2.0.3-2/joyride.js b/web/ext/tour/joyride-2.0.3-2/joyride.js
similarity index 100%
rename from src/ext/tour/joyride-2.0.3-2/joyride.js
rename to web/ext/tour/joyride-2.0.3-2/joyride.js
diff --git a/src/ext/tour/joyride-2.0.3-2/joyride.min.css b/web/ext/tour/joyride-2.0.3-2/joyride.min.css
similarity index 100%
rename from src/ext/tour/joyride-2.0.3-2/joyride.min.css
rename to web/ext/tour/joyride-2.0.3-2/joyride.min.css
diff --git a/src/ext/tour/joyride-2.0.3-2/joyride.min.js b/web/ext/tour/joyride-2.0.3-2/joyride.min.js
similarity index 100%
rename from src/ext/tour/joyride-2.0.3-2/joyride.min.js
rename to web/ext/tour/joyride-2.0.3-2/joyride.min.js
diff --git a/src/ext/ui/d3/d3.js b/web/ext/ui/d3/d3.js
similarity index 100%
rename from src/ext/ui/d3/d3.js
rename to web/ext/ui/d3/d3.js
diff --git a/src/ext/ui/d3/d3.min.js b/web/ext/ui/d3/d3.min.js
similarity index 100%
rename from src/ext/ui/d3/d3.min.js
rename to web/ext/ui/d3/d3.min.js
diff --git a/src/ext/ui/font-awesome-4.0.3/css/font-awesome.css b/web/ext/ui/font-awesome-4.0.3/css/font-awesome.css
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/css/font-awesome.css
rename to web/ext/ui/font-awesome-4.0.3/css/font-awesome.css
diff --git a/src/ext/ui/font-awesome-4.0.3/css/font-awesome.min.css b/web/ext/ui/font-awesome-4.0.3/css/font-awesome.min.css
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/css/font-awesome.min.css
rename to web/ext/ui/font-awesome-4.0.3/css/font-awesome.min.css
diff --git a/src/ext/ui/font-awesome-4.0.3/fonts/FontAwesome.otf b/web/ext/ui/font-awesome-4.0.3/fonts/FontAwesome.otf
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/fonts/FontAwesome.otf
rename to web/ext/ui/font-awesome-4.0.3/fonts/FontAwesome.otf
diff --git a/src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.eot b/web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.eot
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.eot
rename to web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.eot
diff --git a/src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.svg b/web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.svg
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.svg
rename to web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.svg
diff --git a/src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.ttf b/web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.ttf
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.ttf
rename to web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.ttf
diff --git a/src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.woff b/web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.woff
similarity index 100%
rename from src/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.woff
rename to web/ext/ui/font-awesome-4.0.3/fonts/fontawesome-webfont.woff
diff --git a/src/ext/ui/iCheck-1.0.2-patch/.gitignore b/web/ext/ui/iCheck-1.0.2-patch/.gitignore
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/.gitignore
rename to web/ext/ui/iCheck-1.0.2-patch/.gitignore
diff --git a/src/ext/ui/iCheck-1.0.2-patch/icheck.jquery.json b/web/ext/ui/iCheck-1.0.2-patch/icheck.jquery.json
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/icheck.jquery.json
rename to web/ext/ui/iCheck-1.0.2-patch/icheck.jquery.json
diff --git a/src/ext/ui/iCheck-1.0.2-patch/icheck.js b/web/ext/ui/iCheck-1.0.2-patch/icheck.js
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/icheck.js
rename to web/ext/ui/iCheck-1.0.2-patch/icheck.js
diff --git a/src/ext/ui/iCheck-1.0.2-patch/icheck.min.js b/web/ext/ui/iCheck-1.0.2-patch/icheck.min.js
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/icheck.min.js
rename to web/ext/ui/iCheck-1.0.2-patch/icheck.min.js
diff --git a/src/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.css b/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.css
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.css
rename to web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.css
diff --git a/src/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.png b/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.png
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.png
rename to web/ext/ui/iCheck-1.0.2-patch/skins/polaris/polaris.png
diff --git a/src/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected]
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected]
rename to web/ext/ui/iCheck-1.0.2-patch/skins/polaris/[email protected]
diff --git a/src/ext/ui/iCheck-1.0.2-patch/skins/square/grey.css b/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.css
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/skins/square/grey.css
rename to web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.css
diff --git a/src/ext/ui/iCheck-1.0.2-patch/skins/square/grey.png b/web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.png
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/skins/square/grey.png
rename to web/ext/ui/iCheck-1.0.2-patch/skins/square/grey.png
diff --git a/src/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected] b/web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected]
similarity index 100%
rename from src/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected]
rename to web/ext/ui/iCheck-1.0.2-patch/skins/square/[email protected]
diff --git a/src/ext/ui/jquery-ui-1.10.4/jquery-ui.js b/web/ext/ui/jquery-ui-1.10.4/jquery-ui.js
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/jquery-ui.js
rename to web/ext/ui/jquery-ui-1.10.4/jquery-ui.js
diff --git a/src/ext/ui/jquery-ui-1.10.4/jquery-ui.min.js b/web/ext/ui/jquery-ui-1.10.4/jquery-ui.min.js
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/jquery-ui.min.js
rename to web/ext/ui/jquery-ui-1.10.4/jquery-ui.min.js
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/animated-overlay.gif b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/animated-overlay.gif
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/animated-overlay.gif
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/animated-overlay.gif
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_20_555555_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_20_555555_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_20_555555_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_20_555555_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_eeeeee_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_eeeeee_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_eeeeee_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_eeeeee_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_0078a3_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_0078a3_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_0078a3_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_0078a3_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_ffffff_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_ffffff_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_ffffff_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-bg_inset-soft_30_ffffff_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_222222_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_222222_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_222222_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_222222_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_404040_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_404040_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_404040_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_404040_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_4b8e0b_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_4b8e0b_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_4b8e0b_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_4b8e0b_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_a83300_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_a83300_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_a83300_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_a83300_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_cccccc_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_cccccc_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_cccccc_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_cccccc_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_ffffff_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_ffffff_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_ffffff_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/images/ui-icons_ffffff_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.css b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.css
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.css
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.css
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.min.css b/web/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.min.css
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.min.css
rename to web/ext/ui/jquery-ui-1.10.4/ui-darkness/jquery-ui-1.10.4.custom.min.css
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/animated-overlay.gif b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/animated-overlay.gif
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/animated-overlay.gif
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/animated-overlay.gif
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_222222_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_222222_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_222222_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_222222_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_228ef1_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_228ef1_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_228ef1_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_228ef1_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ef8c08_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ef8c08_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ef8c08_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ef8c08_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffd27a_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffd27a_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffd27a_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffd27a_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffffff_256x240.png b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffffff_256x240.png
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffffff_256x240.png
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/images/ui-icons_ffffff_256x240.png
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.css b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.css
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.css
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.css
diff --git a/src/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.min.css b/web/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.min.css
similarity index 100%
rename from src/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.min.css
rename to web/ext/ui/jquery-ui-1.10.4/ui-lightness/jquery-ui-1.10.4.min.css
diff --git a/src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.css b/web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.css
similarity index 100%
rename from src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.css
rename to web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.css
diff --git a/src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.js b/web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.js
similarity index 100%
rename from src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.js
rename to web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.js
diff --git a/src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.css b/web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.css
similarity index 100%
rename from src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.css
rename to web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.css
diff --git a/src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.js b/web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.js
similarity index 100%
rename from src/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.js
rename to web/ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.js
diff --git a/src/ext/ui/noUiSlider-6.1.10/jquery.nouislider.css b/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.css
similarity index 100%
rename from src/ext/ui/noUiSlider-6.1.10/jquery.nouislider.css
rename to web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.css
diff --git a/src/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.js b/web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.js
similarity index 100%
rename from src/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.js
rename to web/ext/ui/noUiSlider-6.1.10/jquery.nouislider.min.js
diff --git a/src/font/Play-Bold.ttf b/web/font/Play-Bold.ttf
similarity index 100%
rename from src/font/Play-Bold.ttf
rename to web/font/Play-Bold.ttf
diff --git a/src/font/Play-Regular.ttf b/web/font/Play-Regular.ttf
similarity index 100%
rename from src/font/Play-Regular.ttf
rename to web/font/Play-Regular.ttf
diff --git a/src/images/.htaccess b/web/images/.htaccess
similarity index 100%
rename from src/images/.htaccess
rename to web/images/.htaccess
diff --git a/src/images/activity.gif b/web/images/activity.gif
similarity index 100%
rename from src/images/activity.gif
rename to web/images/activity.gif
diff --git a/src/images/antarctic.png b/web/images/antarctic.png
similarity index 100%
rename from src/images/antarctic.png
rename to web/images/antarctic.png
diff --git a/src/images/antarcticon.png b/web/images/antarcticon.png
similarity index 100%
rename from src/images/antarcticon.png
rename to web/images/antarcticon.png
diff --git a/src/images/arctic.png b/web/images/arctic.png
similarity index 100%
rename from src/images/arctic.png
rename to web/images/arctic.png
diff --git a/src/images/arcticon.png b/web/images/arcticon.png
similarity index 100%
rename from src/images/arcticon.png
rename to web/images/arcticon.png
diff --git a/src/images/ashplumes.png b/web/images/ashplumes.png
similarity index 100%
rename from src/images/ashplumes.png
rename to web/images/ashplumes.png
diff --git a/src/images/bank-item-bg.png b/web/images/bank-item-bg.png
similarity index 100%
rename from src/images/bank-item-bg.png
rename to web/images/bank-item-bg.png
diff --git a/src/images/bg-not-front.gif b/web/images/bg-not-front.gif
similarity index 100%
rename from src/images/bg-not-front.gif
rename to web/images/bg-not-front.gif
diff --git a/src/images/camera.png b/web/images/camera.png
similarity index 100%
rename from src/images/camera.png
rename to web/images/camera.png
diff --git a/src/images/cameraon.png b/web/images/cameraon.png
similarity index 100%
rename from src/images/cameraon.png
rename to web/images/cameraon.png
diff --git a/src/images/checkboxes.png b/web/images/checkboxes.png
similarity index 100%
rename from src/images/checkboxes.png
rename to web/images/checkboxes.png
diff --git a/src/images/close-x.png b/web/images/close-x.png
similarity index 100%
rename from src/images/close-x.png
rename to web/images/close-x.png
diff --git a/src/images/collapseDown.png b/web/images/collapseDown.png
similarity index 100%
rename from src/images/collapseDown.png
rename to web/images/collapseDown.png
diff --git a/src/images/collapsed.png b/web/images/collapsed.png
similarity index 100%
rename from src/images/collapsed.png
rename to web/images/collapsed.png
diff --git a/src/images/data-download-minus-button-blue.svg b/web/images/data-download-minus-button-blue.svg
similarity index 100%
rename from src/images/data-download-minus-button-blue.svg
rename to web/images/data-download-minus-button-blue.svg
diff --git a/src/images/data-download-minus-button-red.svg b/web/images/data-download-minus-button-red.svg
similarity index 100%
rename from src/images/data-download-minus-button-red.svg
rename to web/images/data-download-minus-button-red.svg
diff --git a/src/images/data-download-plus-button-cyan.svg b/web/images/data-download-plus-button-cyan.svg
similarity index 100%
rename from src/images/data-download-plus-button-cyan.svg
rename to web/images/data-download-plus-button-cyan.svg
diff --git a/src/images/data-download-plus-button-orange.svg b/web/images/data-download-plus-button-orange.svg
similarity index 100%
rename from src/images/data-download-plus-button-orange.svg
rename to web/images/data-download-plus-button-orange.svg
diff --git a/src/images/expandIn.png b/web/images/expandIn.png
similarity index 100%
rename from src/images/expandIn.png
rename to web/images/expandIn.png
diff --git a/src/images/expandOut.png b/web/images/expandOut.png
similarity index 100%
rename from src/images/expandOut.png
rename to web/images/expandOut.png
diff --git a/src/images/expandUp.png b/web/images/expandUp.png
similarity index 100%
rename from src/images/expandUp.png
rename to web/images/expandUp.png
diff --git a/src/images/expanded.png b/web/images/expanded.png
similarity index 100%
rename from src/images/expanded.png
rename to web/images/expanded.png
diff --git a/src/images/geographic.png b/web/images/geographic.png
similarity index 100%
rename from src/images/geographic.png
rename to web/images/geographic.png
diff --git a/src/images/geographicon.png b/web/images/geographicon.png
similarity index 100%
rename from src/images/geographicon.png
rename to web/images/geographicon.png
diff --git a/src/images/globe.png b/web/images/globe.png
similarity index 100%
rename from src/images/globe.png
rename to web/images/globe.png
diff --git a/src/images/hg-h.png b/web/images/hg-h.png
similarity index 100%
rename from src/images/hg-h.png
rename to web/images/hg-h.png
diff --git a/src/images/hg.png b/web/images/hg.png
similarity index 100%
rename from src/images/hg.png
rename to web/images/hg.png
diff --git a/src/images/hg.svg b/web/images/hg.svg
similarity index 100%
rename from src/images/hg.svg
rename to web/images/hg.svg
diff --git a/src/images/info-icon-blue.svg b/web/images/info-icon-blue.svg
similarity index 100%
rename from src/images/info-icon-blue.svg
rename to web/images/info-icon-blue.svg
diff --git a/src/images/information.png b/web/images/information.png
similarity index 100%
rename from src/images/information.png
rename to web/images/information.png
diff --git a/src/images/informationon.png b/web/images/informationon.png
similarity index 100%
rename from src/images/informationon.png
rename to web/images/informationon.png
diff --git a/src/images/invisible.png b/web/images/invisible.png
similarity index 100%
rename from src/images/invisible.png
rename to web/images/invisible.png
diff --git a/src/images/missing-icon.svg b/web/images/missing-icon.svg
similarity index 100%
rename from src/images/missing-icon.svg
rename to web/images/missing-icon.svg
diff --git a/src/images/permalinkon.png b/web/images/permalinkon.png
similarity index 100%
rename from src/images/permalinkon.png
rename to web/images/permalinkon.png
diff --git a/src/images/red-x.svg b/web/images/red-x.svg
similarity index 100%
rename from src/images/red-x.svg
rename to web/images/red-x.svg
diff --git a/src/images/toolbarbg.png b/web/images/toolbarbg.png
similarity index 100%
rename from src/images/toolbarbg.png
rename to web/images/toolbarbg.png
diff --git a/src/images/tour-date.png b/web/images/tour-date.png
similarity index 100%
rename from src/images/tour-date.png
rename to web/images/tour-date.png
diff --git a/src/images/tour-fire-location.png b/web/images/tour-fire-location.png
similarity index 100%
rename from src/images/tour-fire-location.png
rename to web/images/tour-fire-location.png
diff --git a/src/images/tour-map.png b/web/images/tour-map.png
similarity index 100%
rename from src/images/tour-map.png
rename to web/images/tour-map.png
diff --git a/src/images/tour-picker-0.6.png b/web/images/tour-picker-0.6.png
similarity index 100%
rename from src/images/tour-picker-0.6.png
rename to web/images/tour-picker-0.6.png
diff --git a/src/images/tour-toolbar.png b/web/images/tour-toolbar.png
similarity index 100%
rename from src/images/tour-toolbar.png
rename to web/images/tour-toolbar.png
diff --git a/src/images/transparent.png b/web/images/transparent.png
similarity index 100%
rename from src/images/transparent.png
rename to web/images/transparent.png
diff --git a/src/images/visible.png b/web/images/visible.png
similarity index 100%
rename from src/images/visible.png
rename to web/images/visible.png
diff --git a/src/images/wv-icons.svg b/web/images/wv-icons.svg
similarity index 100%
rename from src/images/wv-icons.svg
rename to web/images/wv-icons.svg
diff --git a/src/images/wv.link/permalink.png b/web/images/wv.link/permalink.png
similarity index 100%
rename from src/images/wv.link/permalink.png
rename to web/images/wv.link/permalink.png
diff --git a/src/index.html b/web/index.html
similarity index 100%
rename from src/index.html
rename to web/index.html
diff --git a/src/js/.htaccess b/web/js/.htaccess
similarity index 100%
rename from src/js/.htaccess
rename to web/js/.htaccess
diff --git a/src/js/data/wv.data.echo.js b/web/js/data/wv.data.echo.js
similarity index 100%
rename from src/js/data/wv.data.echo.js
rename to web/js/data/wv.data.echo.js
diff --git a/src/js/data/wv.data.handler.js b/web/js/data/wv.data.handler.js
similarity index 100%
rename from src/js/data/wv.data.handler.js
rename to web/js/data/wv.data.handler.js
diff --git a/src/js/data/wv.data.js b/web/js/data/wv.data.js
similarity index 100%
rename from src/js/data/wv.data.js
rename to web/js/data/wv.data.js
diff --git a/src/js/data/wv.data.layers.js b/web/js/data/wv.data.layers.js
similarity index 100%
rename from src/js/data/wv.data.layers.js
rename to web/js/data/wv.data.layers.js
diff --git a/src/js/data/wv.data.map.js b/web/js/data/wv.data.map.js
similarity index 100%
rename from src/js/data/wv.data.map.js
rename to web/js/data/wv.data.map.js
diff --git a/src/js/data/wv.data.model.js b/web/js/data/wv.data.model.js
similarity index 100%
rename from src/js/data/wv.data.model.js
rename to web/js/data/wv.data.model.js
diff --git a/src/js/data/wv.data.results.js b/web/js/data/wv.data.results.js
similarity index 100%
rename from src/js/data/wv.data.results.js
rename to web/js/data/wv.data.results.js
diff --git a/src/js/data/wv.data.ui.js b/web/js/data/wv.data.ui.js
similarity index 100%
rename from src/js/data/wv.data.ui.js
rename to web/js/data/wv.data.ui.js
diff --git a/src/js/date/wv.date.anim.js b/web/js/date/wv.date.anim.js
similarity index 100%
rename from src/js/date/wv.date.anim.js
rename to web/js/date/wv.date.anim.js
diff --git a/src/js/date/wv.date.js b/web/js/date/wv.date.js
similarity index 100%
rename from src/js/date/wv.date.js
rename to web/js/date/wv.date.js
diff --git a/src/js/date/wv.date.label.js b/web/js/date/wv.date.label.js
similarity index 100%
rename from src/js/date/wv.date.label.js
rename to web/js/date/wv.date.label.js
diff --git a/src/js/date/wv.date.model.js b/web/js/date/wv.date.model.js
similarity index 100%
rename from src/js/date/wv.date.model.js
rename to web/js/date/wv.date.model.js
diff --git a/src/js/date/wv.date.timeline.js b/web/js/date/wv.date.timeline.js
similarity index 100%
rename from src/js/date/wv.date.timeline.js
rename to web/js/date/wv.date.timeline.js
diff --git a/src/js/date/wv.date.wheels.js b/web/js/date/wv.date.wheels.js
similarity index 100%
rename from src/js/date/wv.date.wheels.js
rename to web/js/date/wv.date.wheels.js
diff --git a/src/js/events.js b/web/js/events.js
similarity index 100%
rename from src/js/events.js
rename to web/js/events.js
diff --git a/src/js/image/wv.image.panel.js b/web/js/image/wv.image.panel.js
similarity index 100%
rename from src/js/image/wv.image.panel.js
rename to web/js/image/wv.image.panel.js
diff --git a/src/js/image/wv.image.rubberband.js b/web/js/image/wv.image.rubberband.js
similarity index 100%
rename from src/js/image/wv.image.rubberband.js
rename to web/js/image/wv.image.rubberband.js
diff --git a/src/js/layers/wv.layers.active.js b/web/js/layers/wv.layers.active.js
similarity index 100%
rename from src/js/layers/wv.layers.active.js
rename to web/js/layers/wv.layers.active.js
diff --git a/src/js/layers/wv.layers.add.js b/web/js/layers/wv.layers.add.js
similarity index 100%
rename from src/js/layers/wv.layers.add.js
rename to web/js/layers/wv.layers.add.js
diff --git a/src/js/layers/wv.layers.js b/web/js/layers/wv.layers.js
similarity index 100%
rename from src/js/layers/wv.layers.js
rename to web/js/layers/wv.layers.js
diff --git a/src/js/layers/wv.layers.metadata.js b/web/js/layers/wv.layers.metadata.js
similarity index 100%
rename from src/js/layers/wv.layers.metadata.js
rename to web/js/layers/wv.layers.metadata.js
diff --git a/src/js/layers/wv.layers.model.js b/web/js/layers/wv.layers.model.js
similarity index 100%
rename from src/js/layers/wv.layers.model.js
rename to web/js/layers/wv.layers.model.js
diff --git a/src/js/layers/wv.layers.options.js b/web/js/layers/wv.layers.options.js
similarity index 100%
rename from src/js/layers/wv.layers.options.js
rename to web/js/layers/wv.layers.options.js
diff --git a/src/js/layers/wv.layers.sidebar.js b/web/js/layers/wv.layers.sidebar.js
similarity index 100%
rename from src/js/layers/wv.layers.sidebar.js
rename to web/js/layers/wv.layers.sidebar.js
diff --git a/src/js/link/wv.link.model.js b/web/js/link/wv.link.model.js
similarity index 100%
rename from src/js/link/wv.link.model.js
rename to web/js/link/wv.link.model.js
diff --git a/src/js/link/wv.link.ui.js b/web/js/link/wv.link.ui.js
similarity index 100%
rename from src/js/link/wv.link.ui.js
rename to web/js/link/wv.link.ui.js
diff --git a/src/js/map/wv.map.js b/web/js/map/wv.map.js
similarity index 100%
rename from src/js/map/wv.map.js
rename to web/js/map/wv.map.js
diff --git a/src/js/map/wv.map.model.js b/web/js/map/wv.map.model.js
similarity index 100%
rename from src/js/map/wv.map.model.js
rename to web/js/map/wv.map.model.js
diff --git a/src/js/map/wv.map.palette.js b/web/js/map/wv.map.palette.js
similarity index 100%
rename from src/js/map/wv.map.palette.js
rename to web/js/map/wv.map.palette.js
diff --git a/src/js/map/wv.map.tileworker.js b/web/js/map/wv.map.tileworker.js
similarity index 100%
rename from src/js/map/wv.map.tileworker.js
rename to web/js/map/wv.map.tileworker.js
diff --git a/src/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
similarity index 100%
rename from src/js/map/wv.map.ui.js
rename to web/js/map/wv.map.ui.js
diff --git a/src/js/palettes/wv.palettes.js b/web/js/palettes/wv.palettes.js
similarity index 100%
rename from src/js/palettes/wv.palettes.js
rename to web/js/palettes/wv.palettes.js
diff --git a/src/js/palettes/wv.palettes.legend.js b/web/js/palettes/wv.palettes.legend.js
similarity index 100%
rename from src/js/palettes/wv.palettes.legend.js
rename to web/js/palettes/wv.palettes.legend.js
diff --git a/src/js/palettes/wv.palettes.model.js b/web/js/palettes/wv.palettes.model.js
similarity index 100%
rename from src/js/palettes/wv.palettes.model.js
rename to web/js/palettes/wv.palettes.model.js
diff --git a/src/js/proj/wv.proj.change.js b/web/js/proj/wv.proj.change.js
similarity index 100%
rename from src/js/proj/wv.proj.change.js
rename to web/js/proj/wv.proj.change.js
diff --git a/src/js/proj/wv.proj.js b/web/js/proj/wv.proj.js
similarity index 100%
rename from src/js/proj/wv.proj.js
rename to web/js/proj/wv.proj.js
diff --git a/src/js/proj/wv.proj.model.js b/web/js/proj/wv.proj.model.js
similarity index 100%
rename from src/js/proj/wv.proj.model.js
rename to web/js/proj/wv.proj.model.js
diff --git a/src/js/proj/wv.proj.ui.js b/web/js/proj/wv.proj.ui.js
similarity index 100%
rename from src/js/proj/wv.proj.ui.js
rename to web/js/proj/wv.proj.ui.js
diff --git a/src/js/ui/wv.ui.indicator.js b/web/js/ui/wv.ui.indicator.js
similarity index 100%
rename from src/js/ui/wv.ui.indicator.js
rename to web/js/ui/wv.ui.indicator.js
diff --git a/src/js/ui/wv.ui.info.js b/web/js/ui/wv.ui.info.js
similarity index 100%
rename from src/js/ui/wv.ui.info.js
rename to web/js/ui/wv.ui.info.js
diff --git a/src/js/ui/wv.ui.js b/web/js/ui/wv.ui.js
similarity index 100%
rename from src/js/ui/wv.ui.js
rename to web/js/ui/wv.ui.js
diff --git a/src/js/util/wv.util.browser.js b/web/js/util/wv.util.browser.js
similarity index 100%
rename from src/js/util/wv.util.browser.js
rename to web/js/util/wv.util.browser.js
diff --git a/src/js/util/wv.util.events.js b/web/js/util/wv.util.events.js
similarity index 100%
rename from src/js/util/wv.util.events.js
rename to web/js/util/wv.util.events.js
diff --git a/src/js/util/wv.util.js b/web/js/util/wv.util.js
similarity index 100%
rename from src/js/util/wv.util.js
rename to web/js/util/wv.util.js
diff --git a/src/js/util/wv.util.load.js b/web/js/util/wv.util.load.js
similarity index 100%
rename from src/js/util/wv.util.load.js
rename to web/js/util/wv.util.load.js
diff --git a/src/js/wv.brand.js b/web/js/wv.brand.js
similarity index 100%
rename from src/js/wv.brand.js
rename to web/js/wv.brand.js
diff --git a/src/js/wv.debug.js b/web/js/wv.debug.js
similarity index 100%
rename from src/js/wv.debug.js
rename to web/js/wv.debug.js
diff --git a/src/js/wv.main.js b/web/js/wv.main.js
similarity index 100%
rename from src/js/wv.main.js
rename to web/js/wv.main.js
diff --git a/src/js/wv.tour.js b/web/js/wv.tour.js
similarity index 100%
rename from src/js/wv.tour.js
rename to web/js/wv.tour.js
diff --git a/src/mock/echo.cgi-lst_night b/web/mock/echo.cgi-lst_night
similarity index 100%
rename from src/mock/echo.cgi-lst_night
rename to web/mock/echo.cgi-lst_night
diff --git a/src/mock/echo.cgi-mls_nrt b/web/mock/echo.cgi-mls_nrt
similarity index 100%
rename from src/mock/echo.cgi-mls_nrt
rename to web/mock/echo.cgi-mls_nrt
diff --git a/src/mock/echo.cgi-mls_science b/web/mock/echo.cgi-mls_science
similarity index 100%
rename from src/mock/echo.cgi-mls_science
rename to web/mock/echo.cgi-mls_science
diff --git a/src/mock/echo.cgi-modis_5min b/web/mock/echo.cgi-modis_5min
similarity index 100%
rename from src/mock/echo.cgi-modis_5min
rename to web/mock/echo.cgi-modis_5min
diff --git a/src/mock/echo.cgi-modis_5min_partial b/web/mock/echo.cgi-modis_5min_partial
similarity index 100%
rename from src/mock/echo.cgi-modis_5min_partial
rename to web/mock/echo.cgi-modis_5min_partial
diff --git a/src/mock/echo.cgi-modis_grid b/web/mock/echo.cgi-modis_grid
similarity index 100%
rename from src/mock/echo.cgi-modis_grid
rename to web/mock/echo.cgi-modis_grid
diff --git a/src/mock/eo_feed.rss-20130412 b/web/mock/eo_feed.rss-20130412
similarity index 100%
rename from src/mock/eo_feed.rss-20130412
rename to web/mock/eo_feed.rss-20130412
diff --git a/src/mock/events_data.json b/web/mock/events_data.json
similarity index 100%
rename from src/mock/events_data.json
rename to web/mock/events_data.json
diff --git a/src/mock/events_data.json-20130412 b/web/mock/events_data.json-20130412
similarity index 100%
rename from src/mock/events_data.json-20130412
rename to web/mock/events_data.json-20130412
diff --git a/src/pages/.htaccess b/web/pages/.htaccess
similarity index 100%
rename from src/pages/.htaccess
rename to web/pages/.htaccess
diff --git a/src/pages/css/wv.document.css b/web/pages/css/wv.document.css
similarity index 100%
rename from src/pages/css/wv.document.css
rename to web/pages/css/wv.document.css
diff --git a/src/pages/css/wv.standalone.css b/web/pages/css/wv.standalone.css
similarity index 100%
rename from src/pages/css/wv.standalone.css
rename to web/pages/css/wv.standalone.css
diff --git a/src/pages/curl.html b/web/pages/curl.html
similarity index 100%
rename from src/pages/curl.html
rename to web/pages/curl.html
diff --git a/src/pages/images/gibs.png b/web/pages/images/gibs.png
similarity index 100%
rename from src/pages/images/gibs.png
rename to web/pages/images/gibs.png
diff --git a/src/pages/license.html b/web/pages/license.html
similarity index 100%
rename from src/pages/license.html
rename to web/pages/license.html
diff --git a/src/pages/release_notes.html b/web/pages/release_notes.html
similarity index 100%
rename from src/pages/release_notes.html
rename to web/pages/release_notes.html
diff --git a/src/pages/unsupported_browser.html b/web/pages/unsupported_browser.html
similarity index 100%
rename from src/pages/unsupported_browser.html
rename to web/pages/unsupported_browser.html
diff --git a/src/pages/wget.html b/web/pages/wget.html
similarity index 100%
rename from src/pages/wget.html
rename to web/pages/wget.html
diff --git a/src/pages/worldview-opensourcelibs.html b/web/pages/worldview-opensourcelibs.html
similarity index 100%
rename from src/pages/worldview-opensourcelibs.html
rename to web/pages/worldview-opensourcelibs.html
diff --git a/src/service/.htaccess b/web/service/data/.htaccess
similarity index 100%
rename from src/service/.htaccess
rename to web/service/data/.htaccess
diff --git a/src/service/echo.cgi b/web/service/data/echo.cgi
similarity index 100%
rename from src/service/echo.cgi
rename to web/service/data/echo.cgi
diff --git a/web/service/debug/.htaccess b/web/service/debug/.htaccess
new file mode 100644
index 000000000..ceb239fe0
--- /dev/null
+++ b/web/service/debug/.htaccess
@@ -0,0 +1,7 @@
+Options +ExecCGI
+AddHandler cgi-script .cgi
+
+ExpiresDefault A0
+Header set Cache-Control "no-cache, no-store, must-revalidate"
+Header set Pragma "no-cache"
+
diff --git a/src/service/debug_tile.cgi b/web/service/debug/debug_tile.cgi
similarity index 100%
rename from src/service/debug_tile.cgi
rename to web/service/debug/debug_tile.cgi
diff --git a/src/service/link/.htaccess b/web/service/link/.htaccess
similarity index 100%
rename from src/service/link/.htaccess
rename to web/service/link/.htaccess
diff --git a/src/service/link/shorten.cgi b/web/service/link/shorten.cgi
similarity index 100%
rename from src/service/link/shorten.cgi
rename to web/service/link/shorten.cgi
diff --git a/src/service/link/shorten.cgi-error b/web/service/link/shorten.cgi-error
similarity index 100%
rename from src/service/link/shorten.cgi-error
rename to web/service/link/shorten.cgi-error
diff --git a/src/var/.gitignore b/web/var/.gitignore
similarity index 100%
rename from src/var/.gitignore
rename to web/var/.gitignore
diff --git a/src/var/events_data.json b/web/var/events_data.json
similarity index 100%
rename from src/var/events_data.json
rename to web/var/events_data.json