diff --git a/apps/presentationeditor/main/app/template/Transitions.template b/apps/presentationeditor/main/app/template/Transitions.template new file mode 100644 index 000000000..ce771f138 --- /dev/null +++ b/apps/presentationeditor/main/app/template/Transitions.template @@ -0,0 +1,36 @@ +
+
+ +
+ +
+
+
+
+ Durations + +
+
+ +
+
+
+
+
+ +
+
+ Delay + +
+
+
+
+
+ +
+
+ +
+
+
\ No newline at end of file diff --git a/apps/presentationeditor/main/app/view/Transitions.js b/apps/presentationeditor/main/app/view/Transitions.js index a77cab621..40ce66ec5 100644 --- a/apps/presentationeditor/main/app/view/Transitions.js +++ b/apps/presentationeditor/main/app/view/Transitions.js @@ -40,12 +40,10 @@ * */ -if (Common === undefined) - var Common = {}; -Common.Views = Common.Views || {}; define([ + 'text!presentationeditor/main/app/template/Transitions.template', 'common/main/lib/util/utils', 'common/main/lib/component/Button', 'common/main/lib/component/DataView', @@ -54,50 +52,10 @@ define([ 'presentationeditor/main/app/view/SlideSettings', 'common/main/lib/component/MetricSpinner', 'common/main/lib/component/Window' -], function () { +], function (template) { 'use strict'; PE.Views.Transitions = Common.UI.BaseView.extend(_.extend((function(){ - - - var template = - '
' + - '
'+ - - '
' + - '' + - '
' + - '
' + - '
' + - '
'+ - 'Durations'+ - ''+ - '
'+ - '
'+ - '' + - '
'+ - '
' + - '
' + - '
' + - '
'+ - ''+ - '
'+ - '
'+ - 'Delay'+ - ''+ - '
'+ - '
'+ - '
' + - '
' + - '
'+ - '' + - '
' + - '
'+ - '' + - '
' + - '
' + - '
'; - function setEvents() { var me = this; if(me.listEffects)