|
|
@@ -24,39 +24,39 @@ var Templates = (function($, ko) {
|
|
|
|
|
|
var options = $.extend({
|
|
|
actions: {
|
|
|
- mapreduce: 'static/templates/actions/mapreduce.html',
|
|
|
- java: 'static/templates/actions/java.html',
|
|
|
- streaming: 'static/templates/actions/streaming.html',
|
|
|
- hive: 'static/templates/actions/hive.html',
|
|
|
- pig: 'static/templates/actions/pig.html',
|
|
|
- sqoop: 'static/templates/actions/sqoop.html',
|
|
|
- fs: 'static/templates/actions/fs.html',
|
|
|
- ssh: 'static/templates/actions/ssh.html',
|
|
|
- shell: 'static/templates/actions/shell.html',
|
|
|
- email: 'static/templates/actions/email.html',
|
|
|
- distcp: 'static/templates/actions/distcp.html'
|
|
|
+ mapreduce: '/static/jobsub/templates/actions/mapreduce.html',
|
|
|
+ java: '/static/jobsub/templates/actions/java.html',
|
|
|
+ streaming: '/static/jobsub/templates/actions/streaming.html',
|
|
|
+ hive: '/static/jobsub/templates/actions/hive.html',
|
|
|
+ pig: '/static/jobsub/templates/actions/pig.html',
|
|
|
+ sqoop: '/static/jobsub/templates/actions/sqoop.html',
|
|
|
+ fs: '/static/jobsub/templates/actions/fs.html',
|
|
|
+ ssh: '/static/jobsub/templates/actions/ssh.html',
|
|
|
+ shell: '/static/jobsub/templates/actions/shell.html',
|
|
|
+ email: '/static/jobsub/templates/actions/email.html',
|
|
|
+ distcp: '/static/jobsub/templates/actions/distcp.html'
|
|
|
},
|
|
|
partials: {
|
|
|
- name: 'static/templates/widgets/text.html',
|
|
|
- description: 'static/templates/widgets/text.html',
|
|
|
- is_shared: 'static/templates/widgets/checkbox.html',
|
|
|
+ name: '/static/jobsub/templates/widgets/text.html',
|
|
|
+ description: '/static/jobsub/templates/widgets/text.html',
|
|
|
+ is_shared: '/static/jobsub/templates/widgets/checkbox.html',
|
|
|
// Oozie parameters
|
|
|
- parameters: 'static/templates/widgets/parameters.html',
|
|
|
- archives: 'static/templates/widgets/filechooser.html',
|
|
|
- files: 'static/templates/widgets/filechooser.html',
|
|
|
- mkdirs: 'static/templates/widgets/folderchooser.html',
|
|
|
- deletes: 'static/templates/widgets/pathchooser.html',
|
|
|
- touchzs: 'static/templates/widgets/filechooser.html',
|
|
|
- chmods: 'static/templates/widgets/chmods.html',
|
|
|
- moves: 'static/templates/widgets/moves.html',
|
|
|
- job_properties: 'static/templates/widgets/properties.html',
|
|
|
- prepares: 'static/templates/widgets/prepares.html',
|
|
|
- arguments: 'static/templates/widgets/params.html',
|
|
|
- args: 'static/templates/widgets/params.html',
|
|
|
- params: 'static/templates/widgets/params.html',
|
|
|
- arguments_envvars: 'static/templates/widgets/params.html',
|
|
|
- params_arguments: 'static/templates/widgets/params.html',
|
|
|
- capture_output: 'static/templates/widgets/checkbox.html'
|
|
|
+ parameters: '/static/jobsub/templates/widgets/parameters.html',
|
|
|
+ archives: '/static/jobsub/templates/widgets/filechooser.html',
|
|
|
+ files: '/static/jobsub/templates/widgets/filechooser.html',
|
|
|
+ mkdirs: '/static/jobsub/templates/widgets/folderchooser.html',
|
|
|
+ deletes: '/static/jobsub/templates/widgets/pathchooser.html',
|
|
|
+ touchzs: '/static/jobsub/templates/widgets/filechooser.html',
|
|
|
+ chmods: '/static/jobsub/templates/widgets/chmods.html',
|
|
|
+ moves: '/static/jobsub/templates/widgets/moves.html',
|
|
|
+ job_properties: '/static/jobsub/templates/widgets/properties.html',
|
|
|
+ prepares: '/static/jobsub/templates/widgets/prepares.html',
|
|
|
+ arguments: '/static/jobsub/templates/widgets/params.html',
|
|
|
+ args: '/static/jobsub/templates/widgets/params.html',
|
|
|
+ params: '/static/jobsub/templates/widgets/params.html',
|
|
|
+ arguments_envvars: '/static/jobsub/templates/widgets/params.html',
|
|
|
+ params_arguments: '/static/jobsub/templates/widgets/params.html',
|
|
|
+ capture_output: '/static/jobsub/templates/widgets/checkbox.html'
|
|
|
}
|
|
|
}, options);
|
|
|
|
|
|
@@ -120,4 +120,4 @@ var Templates = (function($, ko) {
|
|
|
|
|
|
return module;
|
|
|
})($, ko);
|
|
|
-var templates = new Templates();
|
|
|
+var templates = new Templates();
|