Sha256: ee28b957aa157e925566e54ae3400c994a8c2ccbbae6bdfe8087090c49d39e8c

Contents?: true

Size: 827 Bytes

Versions: 7

Compression:

Stored size: 827 Bytes

Contents

pageflow.ConfigurationEditorView.register('audio', {
  configure: function() {
    this.tab('general', function() {
      this.group('general');

      this.input('additional_title', pageflow.TextInputView);
      this.input('additional_description', pageflow.TextAreaInputView, {size: 'short'});
    });

    this.tab('files', function() {
      this.input('audio_file_id', pageflow.FileInputView, {collection: pageflow.audioFiles});
      this.input('background_image_id', pageflow.FileInputView, {collection: pageflow.imageFiles});
      this.input('thumbnail_image_id', pageflow.FileInputView, {
        collection: pageflow.imageFiles,
        positioning: false
      });
    });

    this.tab('options', function() {
      this.input('autoplay', pageflow.CheckBoxInputView);
      this.group('options');
    });
  }
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pageflow-0.8.2 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-0.8.1 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-0.8.0 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-0.7.2 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-0.7.1 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-0.7.0 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-0.6.0 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js