From 64686720b99c3fad6f8a52d70e89cc25647eae5a Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Tue, 19 Jan 2021 18:04:22 +0100 Subject: [PATCH] Move timeline vue structure to timeline file --- index.html | 102 +----------------------------------- js/animations/timeline.js | 105 +++++++++++++++++++++++++++++++++++++- 2 files changed, 105 insertions(+), 102 deletions(-) diff --git a/index.html b/index.html index 5461c053..ce63e5bb 100644 --- a/index.html +++ b/index.html @@ -786,107 +786,7 @@
-
-
-
-
-
-
- {{ t.text }} -
-
-
-
-
-
-
-
-
-
-
-
-
  • -
    -
    -
    - -
    - {{animator.name}} -
    - remove -
    -
    -
    - -
    -
    -
    -
    -
    - - -
    - {{ tl('timeline.'+channel) }} -
    - add -
    -
    -
    - - lens - stop - - - - -
    -
    -
  • -
    -
    -
    -
    -
    -
    +
    diff --git a/js/animations/timeline.js b/js/animations/timeline.js index f36f0634..7edeb7d1 100644 --- a/js/animations/timeline.js +++ b/js/animations/timeline.js @@ -678,7 +678,110 @@ onVueSetup(function() { points.push(`${(samples.length) / Timeline.waveform_sample_rate * size},${height}`) return points.join(' '); } - } + }, + template: ` +
    +
    +
    +
    +
    +
    + {{ t.text }} +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
    +
    +
    + +
    + {{animator.name}} +
    + remove +
    +
    +
    + +
    +
    +
    +
    +
    + + +
    + {{ tl('timeline.'+channel) }} +
    + add +
    +
    +
    + + lens + stop + + + + +
    +
    +
  • +
    +
    +
    +
    +
    +
    + ` }) })