pageflow 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pageflow might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +181 -0
- data/README.md +11 -37
- data/admins/pageflow/accounts.rb +20 -2
- data/admins/pageflow/entry.rb +55 -30
- data/admins/pageflow/membership.rb +1 -0
- data/admins/pageflow/revisions.rb +2 -0
- data/admins/pageflow/user.rb +25 -16
- data/app/assets/images/pageflow/editor/blank_entry/logo.png +0 -0
- data/app/assets/images/pageflow/themes/default/close_button_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/favicon.ico +0 -0
- data/app/assets/images/pageflow/{touch_indicator.png → themes/default/indicators/hidden_text.png} +0 -0
- data/app/assets/images/pageflow/{touch_indicator_invert.png → themes/default/indicators/hidden_text_invert.png} +0 -0
- data/app/assets/images/pageflow/{scroll_down_indicator.png → themes/default/indicators/scroll_down.png} +0 -0
- data/app/assets/images/pageflow/{scroll_down_indicator_invert.png → themes/default/indicators/scroll_down_invert.png} +0 -0
- data/app/assets/images/pageflow/themes/default/loading_spinner/logo.png +0 -0
- data/app/assets/images/pageflow/themes/default/logo_header.png +0 -0
- data/app/assets/images/pageflow/themes/default/logo_header_invert.png +0 -0
- data/app/assets/images/pageflow/themes/default/logo_print.png +0 -0
- data/app/assets/images/pageflow/{menu_mobile_imprint.png → themes/default/mobile_navigation/imprint_sprite.png} +0 -0
- data/app/assets/images/pageflow/{menu_mobile_sprite3.png → themes/default/mobile_navigation/index_sprite.png} +0 -0
- data/app/assets/images/pageflow/{mobile_sharing.png → themes/default/mobile_navigation/sharing_icons_sprite.png} +0 -0
- data/app/assets/images/pageflow/{menu_mobile_sharing.png → themes/default/mobile_navigation/sharing_sprite.png} +0 -0
- data/app/assets/images/pageflow/{chapter_bottom.png → themes/default/overview_chapter_borders/bottom.png} +0 -0
- data/app/assets/images/pageflow/{chapter_end.png → themes/default/overview_chapter_borders/end.png} +0 -0
- data/app/assets/images/pageflow/{chapter_start.png → themes/default/overview_chapter_borders/start.png} +0 -0
- data/app/assets/images/pageflow/{chapter_bg.png → themes/default/overview_chapter_borders/tile.png} +0 -0
- data/app/assets/images/pageflow/{chapter_top.png → themes/default/overview_chapter_borders/top.png} +0 -0
- data/app/assets/images/pageflow/themes/default/{audio_sprite.png → page_type_pictograms/audio/sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/audio/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/{image_sprite.png → page_type_pictograms/audio_loop/sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/audio_loop/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_image/sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_image/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_video/sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_video/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/{video_sprite.png → page_type_pictograms/video/sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/video/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/player_controls/slim/scroller_mask.png +0 -0
- data/app/assets/images/pageflow/themes/default/{loading_small.png → player_controls_loading_spinner.png} +0 -0
- data/app/assets/images/pageflow/themes/default/{video_controls.png → player_controls_sprite.png} +0 -0
- data/app/assets/images/pageflow/{menu-arrow-short.png → themes/legacy/menu-arrow-short.png} +0 -0
- data/app/assets/images/pageflow/themes/legacy/menu_mobile_imprint.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/menu_mobile_sharing.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/menu_mobile_sprite3.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/mobile_sharing.png +0 -0
- data/app/assets/images/pageflow/{page_thumbnail_mask.png → themes/legacy/page_thumbnail_mask.png} +0 -0
- data/app/assets/images/pageflow/themes/legacy/scroll_down_indicator.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/scroll_down_indicator_invert.png +0 -0
- data/app/assets/images/pageflow/{scroll_indicator_sprite.png → themes/legacy/scroll_indicator_sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/legacy/touch_indicator.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/touch_indicator_invert.png +0 -0
- data/app/assets/images/pageflow/{volume_control_sprite.png → themes/legacy/volume_control_sprite.png} +0 -0
- data/app/assets/javascripts/pageflow/admin.js +2 -0
- data/app/assets/javascripts/pageflow/admin/entries.js +1 -1
- data/app/assets/javascripts/pageflow/base.js +2 -0
- data/app/assets/javascripts/pageflow/browser/agent.js +36 -0
- data/app/assets/javascripts/pageflow/browser/facebook.js +10 -0
- data/app/assets/javascripts/pageflow/browser/ios_platform.js +1 -4
- data/app/assets/javascripts/pageflow/editor/models/theming.js +4 -0
- data/app/assets/javascripts/pageflow/editor/views/edit_meta_data_view.js +17 -3
- data/app/assets/javascripts/pageflow/editor/views/editor_view.js +21 -0
- data/app/assets/javascripts/pageflow/editor/views/entry_preview_view.js +1 -0
- data/app/assets/javascripts/pageflow/focus_outline.js +44 -0
- data/app/assets/javascripts/pageflow/highlighted_page.js +10 -4
- data/app/assets/javascripts/pageflow/links.js +0 -7
- data/app/assets/javascripts/pageflow/page_types/audio.js +13 -0
- data/app/assets/javascripts/pageflow/page_types/mixins/info_box.js +5 -2
- data/app/assets/javascripts/pageflow/page_types/video.js +65 -59
- data/app/assets/javascripts/pageflow/ready.js +4 -2
- data/app/assets/javascripts/pageflow/slideshow.js +1 -0
- data/app/assets/javascripts/pageflow/slideshow/atmo.js +1 -1
- data/app/assets/javascripts/pageflow/slideshow/hide_text.js +5 -1
- data/app/assets/javascripts/pageflow/slideshow/page_widget.js +17 -0
- data/app/assets/javascripts/pageflow/slideshow/scroll_indicator.js +27 -0
- data/app/assets/javascripts/pageflow/slideshow/scroll_indicator_widget.js +53 -10
- data/app/assets/javascripts/pageflow/slideshow/scroller_widget.js +8 -1
- data/app/assets/javascripts/pageflow/ui/views/inputs/slider_input_view.js +15 -4
- data/app/assets/javascripts/pageflow/widgets.js +9 -0
- data/app/assets/javascripts/pageflow/widgets/auto_hide_player_controls.js +59 -0
- data/app/assets/javascripts/pageflow/widgets/header.js +11 -7
- data/app/assets/javascripts/pageflow/widgets/hide_content_during_playback.js +68 -0
- data/app/assets/javascripts/pageflow/widgets/loading_spinner.js +2 -0
- data/app/assets/javascripts/pageflow/widgets/mark_with_played_states.js +23 -0
- data/app/assets/javascripts/pageflow/widgets/multimedia_alert.js +2 -0
- data/app/assets/javascripts/pageflow/widgets/navigation.js +3 -5
- data/app/assets/javascripts/pageflow/widgets/navigation_mobile.js +2 -0
- data/app/assets/javascripts/pageflow/widgets/overview.js +2 -1
- data/app/assets/javascripts/pageflow/widgets/page_navigation_list.js +7 -3
- data/app/assets/javascripts/pageflow/widgets/player_controls.js +24 -19
- data/app/assets/javascripts/pageflow/widgets/share_menu.js +5 -4
- data/app/assets/stylesheets/pageflow/{admin.css.scss → admin.scss} +7 -5
- data/app/assets/stylesheets/pageflow/admin/{columns.css.scss → columns.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/embedded_index_table.scss +14 -0
- data/app/assets/stylesheets/pageflow/admin/{entries.css.scss → entries.scss} +7 -11
- data/app/assets/stylesheets/pageflow/admin/entries/{folders.css.scss → folders.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/entries/index_table.scss +15 -0
- data/app/assets/stylesheets/pageflow/admin/entries/{user_badge_list.css.scss → user_badge_list.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/filters.scss +3 -0
- data/app/assets/stylesheets/pageflow/admin/icon_button.scss +25 -0
- data/app/assets/stylesheets/pageflow/admin/icon_link.scss +31 -0
- data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +18 -0
- data/app/assets/stylesheets/pageflow/admin/{quotas.css.scss → quotas.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/{tabs_view.css.scss → tabs_view.scss} +3 -2
- data/app/assets/stylesheets/pageflow/admin/tooltip_bubble.scss +30 -0
- data/app/assets/stylesheets/pageflow/{animations.css.scss → animations.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{blink.css.scss → blink.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{bounce.css.scss → bounce.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{fade.css.scss → fade.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{loading.css.scss → loading.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{scroll.css.scss → scroll.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{application_with_simulated_media_queries.css.scss → application_with_simulated_media_queries.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{base.css.scss → base.scss} +15 -5
- data/app/assets/stylesheets/pageflow/{delayed_text_fade_in.css.scss → delayed_text_fade_in.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{back_button_decorator.css.scss → back_button_decorator.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{background_positioning.css.scss → background_positioning.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{base.css.scss → base.scss} +3 -1
- data/app/assets/stylesheets/pageflow/editor/{blank_entry.css.scss → blank_entry.scss} +6 -4
- data/app/assets/stylesheets/pageflow/editor/{colors.css.scss → colors.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{confirm_encoding.css.scss → confirm_encoding.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{dialogs.css.scss → dialogs.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{disabled_atmo_indicator.css.scss → disabled_atmo_indicator.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{drop_down_button.css.scss → drop_down_button.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{failures.css.scss → failures.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{file_meta_data.css.scss → file_meta_data.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{file_stages.css.scss → file_stages.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{file_thumbnails.css.scss → file_thumbnails.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{files.css.scss → files.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{files_explorer.css.scss → files_explorer.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{files_gallery.css.scss → files_gallery.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{help.css.scss → help.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{indicators.css.scss → indicators.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{inputs.css.scss → inputs.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/inputs/{reference.css.scss → reference.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{list.css.scss → list.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{loading.css.scss → loading.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{locked.css.scss → locked.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{manage_files.css.scss → manage_files.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{menu.css.scss → menu.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{notifications.css.scss → notifications.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{other_entry_item.css.scss → other_entry_item.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{outline.css.scss → outline.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{page_links.css.scss → page_links.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{page_selection.css.scss → page_selection.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{publish_entry.css.scss → publish_entry.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{quotas.css.scss → quotas.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{select_button.css.scss → select_button.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{storyline_picker.css.scss → storyline_picker.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/unsupported_browser_hint.scss +15 -0
- data/app/assets/stylesheets/pageflow/editor/{widgets.css.scss → widgets.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{wysihtml5.css.scss → wysihtml5.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{entries.css.scss → entries.scss} +16 -58
- data/app/assets/stylesheets/pageflow/focus_outline.scss +23 -0
- data/app/assets/stylesheets/pageflow/{fonts.css.scss → fonts.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{header.css.scss → header.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{hide_text.css.scss → hide_text.scss} +4 -6
- data/app/assets/stylesheets/pageflow/{ie9.css.scss → ie9.scss} +2 -1
- data/app/assets/stylesheets/pageflow/jquery_ui.scss +26 -0
- data/app/assets/stylesheets/pageflow/{loading_spinner.css.scss → loading_spinner.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{lt_ie9.css.scss → lt_ie9.scss} +0 -4
- data/app/assets/stylesheets/pageflow/{mixins.css.scss → mixins.scss} +2 -0
- data/app/assets/stylesheets/pageflow/mixins/{background_icons.css.scss → background_icons.scss} +13 -1
- data/app/assets/stylesheets/pageflow/mixins/{breakpoints.css.scss → breakpoints.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{buttons.css.scss → buttons.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{hidden_text.css.scss → hidden_text.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{hover.css.scss → hover.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{icons.css.scss → icons.scss} +4 -4
- data/app/assets/stylesheets/pageflow/mixins/icons/{entypo.css.scss → entypo.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/icons/{fontawesome.css.scss → fontawesome.scss} +1 -1
- data/app/assets/stylesheets/pageflow/mixins/ie_fixes.scss +4 -0
- data/app/assets/stylesheets/pageflow/mixins/{label.css.scss → label.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/map_to_css.scss +5 -0
- data/app/assets/stylesheets/pageflow/mixins/{pageflow.css.scss → pageflow.scss} +9 -1
- data/app/assets/stylesheets/pageflow/mixins/{pressed.css.scss → pressed.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{shadow.css.scss → shadow.scss} +6 -1
- data/app/assets/stylesheets/pageflow/mixins/{text_size_adjust.css.scss → text_size_adjust.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{unselectable.css.scss → unselectable.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{multimedia_alert.css.scss → multimedia_alert.scss} +1 -0
- data/app/assets/stylesheets/pageflow/{navigation_bar.css.scss → navigation_bar.scss} +7 -199
- data/app/assets/stylesheets/pageflow/{navigation_mobile.css.scss → navigation_mobile.scss} +1 -20
- data/app/assets/stylesheets/pageflow/{overview.css.scss → overview.scss} +6 -32
- data/app/assets/stylesheets/pageflow/{page.css.scss → page.scss} +1 -47
- data/app/assets/stylesheets/pageflow/{page_transitions.css.scss → page_transitions.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{crossfade.css.scss → crossfade.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{cut.css.scss → cut.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{fade.css.scss → fade.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{fade_to_black.css.scss → fade_to_black.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll.css.scss → scroll.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_in.css.scss → scroll_in.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_in_right.css.scss → scroll_in_right.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_left.css.scss → scroll_left.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_right.css.scss → scroll_right.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{page_types.css.scss → page_types.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/{audio.css.scss → audio.scss} +0 -15
- data/app/assets/stylesheets/pageflow/page_types/{audio_loop.css.scss → audio_loop.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/{background-image.css.scss → background-image.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/{background-video.css.scss → background-video.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/video.scss +116 -0
- data/app/assets/stylesheets/pageflow/page_types/video/content_hiding.scss +32 -0
- data/app/assets/stylesheets/pageflow/{print_view.css.scss → print_view.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{skip_links.css.scss → skip_links.scss} +0 -9
- data/app/assets/stylesheets/pageflow/{slideshow.css.scss → slideshow.scss} +7 -7
- data/app/assets/stylesheets/pageflow/{subshare.css.scss → subshare.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{text_variants.css.scss → text_variants.scss} +0 -0
- data/app/assets/stylesheets/pageflow/themes/default.scss +1 -0
- data/app/assets/stylesheets/pageflow/themes/default/README.md +26 -0
- data/app/assets/stylesheets/pageflow/themes/default/anchors.scss +24 -0
- data/app/assets/stylesheets/pageflow/themes/default/animations.scss +2 -0
- data/app/assets/stylesheets/pageflow/themes/default/animations/rotate.scss +9 -0
- data/app/assets/stylesheets/pageflow/themes/default/animations/rotate_and_blink.scss +16 -0
- data/app/assets/stylesheets/pageflow/themes/default/{base.css.scss → base.scss} +10 -2
- data/app/assets/stylesheets/pageflow/themes/default/built_in_page_types.scss +5 -0
- data/app/assets/stylesheets/pageflow/themes/default/definitions.scss +9 -0
- data/app/assets/stylesheets/pageflow/themes/default/functions/icon_font_options.scss +8 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators.scss +28 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/colors.scss +47 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/default.scss +45 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/icon_font.scss +26 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/sprite.scss +38 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/typography.scss +3 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/widget_margins.scss +3 -0
- data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.scss +90 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo.scss +54 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss +37 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +90 -0
- data/app/assets/stylesheets/pageflow/themes/default/mixins/indicator_typography.scss +30 -0
- data/app/assets/stylesheets/pageflow/themes/default/mixins/sprite_icons.scss +87 -0
- data/app/assets/stylesheets/pageflow/themes/default/mixins/typography.scss +7 -0
- data/app/assets/stylesheets/pageflow/themes/default/mobile_navigation.scss +104 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation.scss +102 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/credits.scss +7 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/dimensions.scss +87 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/icon_font.scss +232 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/sprite.scss +124 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/menu_boxes.scss +99 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/separator_lines.scss +21 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/share_box.scss +28 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/typography.scss +40 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/volume_control.scss +17 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/widget_margin.scss +19 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview.scss +43 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/chapter_border_images.scss +70 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/chapter_numbers.scss +14 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/colors.scss +100 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/icons/icon_font.scss +50 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/icons/sprite.scss +25 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/typography.scss +61 -0
- data/app/assets/stylesheets/pageflow/themes/default/page.scss +237 -0
- data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +19 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls.scss +30 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic.scss +36 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/close_button.scss +52 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss +48 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar.scss +222 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar/timestamp_position/right.scss +22 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar/timestamp_position/split.scss +22 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/icon_font.scss +87 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss +59 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/info_box.scss +137 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim.scss +21 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/close_button.scss +38 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/container.scss +50 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss +249 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/info_box.scss +112 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/scroller.scss +21 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/vjs_mapping.scss +86 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/widget_margins.scss +10 -0
- data/app/assets/stylesheets/pageflow/themes/default/slideshow.scss +3 -0
- data/app/assets/stylesheets/pageflow/themes/default/variables.scss +4 -0
- data/app/assets/stylesheets/pageflow/themes/default/variables/standard.scss +33 -0
- data/app/assets/stylesheets/pageflow/themes/default/variables/widgets.scss +28 -0
- data/app/assets/stylesheets/pageflow/themes/default/video_player.scss +1 -0
- data/app/assets/stylesheets/pageflow/themes/default/video_player/vjs_base.scss +121 -0
- data/app/assets/stylesheets/pageflow/themes/default/video_wrapper.scss +14 -0
- data/app/assets/stylesheets/pageflow/themes/legacy.scss +8 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/indicators.scss +64 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/navigation.scss +262 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/navigation_mobile.scss +52 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/overview.scss +50 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/page.scss +48 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/page_types.scss +2 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/page_types/audio.scss +5 -0
- data/app/assets/stylesheets/pageflow/{page_types/video.css.scss → themes/legacy/page_types/video.scss} +4 -109
- data/app/assets/stylesheets/pageflow/{player_controls.css.scss → themes/legacy/player_controls.scss} +13 -12
- data/app/assets/stylesheets/pageflow/{video_player.css.scss → themes/legacy/video_player.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{ui.css.scss → ui.scss} +0 -0
- data/app/assets/stylesheets/pageflow/ui/{forms.css.scss → forms.scss} +0 -0
- data/app/assets/stylesheets/pageflow/ui/input/{extended_select_input.css.scss → extended_select_input.scss} +0 -0
- data/app/assets/stylesheets/pageflow/ui/{tabs_view.css.scss → tabs_view.scss} +0 -0
- data/app/controllers/pageflow/application_controller.rb +8 -2
- data/app/controllers/pageflow/entries_controller.rb +6 -6
- data/app/helpers/pageflow/admin/entries_helper.rb +15 -0
- data/app/helpers/pageflow/admin/form_helper.rb +14 -0
- data/app/helpers/pageflow/admin/users_helper.rb +9 -0
- data/app/helpers/pageflow/entries_helper.rb +3 -2
- data/app/helpers/pageflow/info_box_helper.rb +17 -5
- data/app/helpers/pageflow/navigation_bar_helper.rb +11 -0
- data/app/helpers/pageflow/social_share_helper.rb +16 -3
- data/app/helpers/pageflow/social_share_links_helper.rb +32 -0
- data/app/helpers/pageflow/widgets_helper.rb +1 -1
- data/app/mailers/pageflow/user_mailer.rb +3 -1
- data/app/models/concerns/pageflow/entry_publication_states.rb +63 -0
- data/app/models/pageflow/account.rb +2 -2
- data/app/models/pageflow/draft_entry.rb +5 -1
- data/app/models/pageflow/entry.rb +7 -11
- data/app/models/pageflow/invited_user.rb +16 -6
- data/app/models/pageflow/overview_button.rb +19 -0
- data/app/models/pageflow/published_entry.rb +7 -2
- data/app/models/pageflow/revision.rb +4 -1
- data/app/models/pageflow/theming.rb +13 -0
- data/app/views/admin/accounts/_form.html.erb +13 -1
- data/app/views/admin/accounts/_theming_details.html.arb +3 -0
- data/app/views/admin/entries/_attributes_table.html.arb +1 -1
- data/app/views/admin/entries/_links.html.arb +11 -3
- data/app/views/admin/features/_form.html.erb +1 -1
- data/app/views/admin/memberships/_form.html.erb +1 -1
- data/app/views/admin/revisions/_form.html.erb +1 -1
- data/app/views/admin/users/_form.html.erb +1 -1
- data/app/views/admin/users/delete_me.html.erb +1 -1
- data/app/views/admin/users/me.html.erb +5 -6
- data/app/views/components/pageflow/admin/embedded_index_table.rb +67 -10
- data/app/views/components/pageflow/admin/entries_tab.rb +6 -9
- data/app/views/components/pageflow/admin/entry_publication_state_indicator.rb +26 -0
- data/app/views/components/pageflow/admin/icon_link_to.rb +21 -0
- data/app/views/components/pageflow/admin/members_tab.rb +19 -12
- data/app/views/components/pageflow/admin/revisions_tab.rb +1 -1
- data/app/views/components/pageflow/admin/users_tab.rb +6 -10
- data/app/views/pageflow/admin/users/_cannot_delete.html.erb +3 -0
- data/app/views/pageflow/admin/users/_may_delete.html.erb +6 -0
- data/app/views/pageflow/admin/widgets/_fields.html.erb +1 -1
- data/app/views/pageflow/config/_editor_seeds.json.jbuilder +3 -0
- data/app/views/pageflow/editor/entries/_entry.json.jbuilder +5 -1
- data/app/views/pageflow/editor/entries/_unsupported_browser_hint.html.erb +5 -0
- data/app/views/pageflow/editor/themings/_theming.json.jbuilder +1 -0
- data/app/views/pageflow/entries/_loading_spinner.html.erb +3 -1
- data/app/views/pageflow/entries/_navigation.html.erb +1 -1
- data/app/views/pageflow/entries/edit.html.erb +1 -0
- data/app/views/pageflow/entries/navigation/_bar_top.html.erb +1 -6
- data/app/views/pageflow/entries/navigation/_overview_button.html.erb +8 -0
- data/app/views/pageflow/entries/navigation/_page.html.erb +1 -2
- data/app/views/pageflow/entries/share_menu/_facebook_link.html.erb +4 -11
- data/app/views/pageflow/entries/share_menu/_google_link.html.erb +4 -11
- data/app/views/pageflow/entries/share_menu/_twitter_link.html.erb +4 -11
- data/app/views/pageflow/pages/templates/_audio.html.erb +6 -3
- data/app/views/pageflow/pages/templates/_video.html.erb +5 -2
- data/app/views/pageflow/social_share/_entry_meta_tags.html.erb +8 -8
- data/app/views/pageflow/social_share/_image_tags.html.erb +3 -3
- data/app/views/pageflow/social_share/_page_meta_tags.html.erb +9 -9
- data/app/views/pageflow/user_mailer/invitation.html.erb +2 -2
- data/app/views/pageflow/user_mailer/invitation.text.erb +1 -1
- data/app/views/pageflow/widgets/_placeholder.html.erb +1 -0
- data/config/initializers/active_admin_patches.rb +10 -0
- data/config/initializers/widget_types.rb +3 -0
- data/config/locales/de.yml +38 -2
- data/config/locales/en.yml +39 -3
- data/db/migrate/20160131222203_add_cache_counters.rb +23 -0
- data/db/migrate/20160225075853_add_overview_button_enabled_to_revisions.rb +5 -0
- data/db/migrate/20160310080213_add_edited_at_to_entries.rb +9 -0
- data/db/migrate/20160425192648_add_index_for_revision_publication_timestamps.rb +5 -0
- data/db/migrate/20160617123557_add_meta_fields_to_theming.rb +7 -0
- data/db/migrate/20160715105408_add_share_url_to_revisions.rb +5 -0
- data/lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb +24 -0
- data/lib/generators/pageflow/assets/assets_generator.rb +5 -3
- data/lib/generators/pageflow/assets/templates/{application.css.scss → application.scss} +0 -0
- data/lib/generators/pageflow/assets/templates/{editor.css.scss → editor.scss} +0 -0
- data/lib/generators/pageflow/cancan/cancan_generator.rb +4 -8
- data/lib/generators/pageflow/error_pages/error_pages_generator.rb +27 -0
- data/lib/generators/pageflow/error_pages/templates/404.html +15 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.svg +245 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.svg +245 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/lib/generators/pageflow/error_pages/templates/images/bg.jpg +0 -0
- data/lib/generators/pageflow/error_pages/templates/stylesheets/main.css +40 -0
- data/lib/generators/pageflow/initializer/initializer_generator.rb +2 -0
- data/lib/generators/pageflow/initializer/templates/pageflow.rb +0 -3
- data/lib/generators/pageflow/install/install_generator.rb +2 -0
- data/lib/generators/pageflow/procfile/procfile_generator.rb +15 -0
- data/lib/generators/pageflow/procfile/templates/Procfile +3 -0
- data/lib/generators/pageflow/resque/resque_generator.rb +2 -0
- data/lib/generators/pageflow/routes/routes_generator.rb +2 -0
- data/lib/generators/pageflow/seeds/seeds_generator.rb +2 -0
- data/lib/generators/pageflow/theme/templates/themes/%name%.scss.tt +4 -0
- data/lib/generators/pageflow/theme/templates/themes/%name%/variables.scss.tt +10 -0
- data/lib/generators/pageflow/theme/theme_generator.rb +10 -18
- data/lib/generators/pageflow/user/user_generator.rb +2 -0
- data/lib/pageflow.rb +4 -0
- data/lib/pageflow/ability_mixin.rb +4 -0
- data/lib/pageflow/active_admin_patches/views/attributes_table.rb +31 -0
- data/lib/pageflow/active_admin_patches/views/pages/base.rb +14 -0
- data/lib/pageflow/active_admin_patches/views/table_for.rb +42 -0
- data/lib/pageflow/built_in_widget_type.rb +9 -1
- data/lib/pageflow/configuration.rb +17 -0
- data/lib/pageflow/engine.rb +6 -4
- data/lib/pageflow/theme.rb +4 -0
- data/lib/pageflow/user_mixin.rb +10 -10
- data/lib/pageflow/version.rb +1 -1
- data/spec/factories/revisions.rb +18 -0
- metadata +386 -203
- data/app/assets/images/pageflow/anchor_black.png +0 -0
- data/app/assets/images/pageflow/anchor_green.png +0 -0
- data/app/assets/images/pageflow/anchor_white.png +0 -0
- data/app/assets/images/pageflow/menu_mobile_sprite.png +0 -0
- data/app/assets/images/pageflow/menu_mobile_sprite2.png +0 -0
- data/app/assets/images/pageflow/themes/default/arrow_left_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/arrow_right_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/close_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/loading_spinner.png +0 -0
- data/app/assets/images/pageflow/themes/default/loading_spinner_bg.png +0 -0
- data/app/assets/images/pageflow/themes/default/scroll_indicator_sprite.png +0 -0
- data/app/assets/stylesheets/pageflow/jquery_ui.css.scss +0 -16
- data/app/assets/stylesheets/pageflow/themes/default.css.scss +0 -1
- data/app/assets/stylesheets/pageflow/themes/default/anchors.css.scss +0 -56
- data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.css.scss +0 -146
- data/app/assets/stylesheets/pageflow/themes/default/navigation.css.scss +0 -277
- data/app/assets/stylesheets/pageflow/themes/default/overview.css.scss +0 -134
- data/app/assets/stylesheets/pageflow/themes/default/page.css.scss +0 -276
- data/app/assets/stylesheets/pageflow/themes/default/player_controls.css.scss +0 -31
- data/app/assets/stylesheets/pageflow/themes/default/variables.css.scss +0 -20
- data/lib/active_admin/patches/views/attributes_table.rb +0 -20
- data/lib/active_admin/patches/views/pages/base.rb +0 -8
- data/lib/active_admin/patches/views/table_for.rb +0 -32
@@ -0,0 +1 @@
|
|
1
|
+
<%= content_tag(:div, '', data: {widget: widget_type_name}) %>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
Rails.application.config.to_prepare do
|
2
|
+
ActiveAdmin::Views::AttributesTable.send(:include,
|
3
|
+
Pageflow::ActiveAdminPatches::Views::AttributesTable)
|
4
|
+
|
5
|
+
ActiveAdmin::Views::TableFor.send(:include,
|
6
|
+
Pageflow::ActiveAdminPatches::Views::TableFor)
|
7
|
+
|
8
|
+
ActiveAdmin::Views::Pages::Base.send(:include,
|
9
|
+
Pageflow::ActiveAdminPatches::Views::Pages::Base)
|
10
|
+
end
|
@@ -1,4 +1,7 @@
|
|
1
1
|
Pageflow.configure do |config|
|
2
2
|
config.widget_types.register(Pageflow::BuiltInWidgetType.navigation, default: true)
|
3
3
|
config.widget_types.register(Pageflow::BuiltInWidgetType.mobile_navigation, default: true)
|
4
|
+
|
5
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.classic_player_controls, default: true)
|
6
|
+
config.widget_types.register(Pageflow::BuiltInWidgetType.slim_player_controls)
|
4
7
|
end
|
data/config/locales/de.yml
CHANGED
@@ -156,9 +156,11 @@ de:
|
|
156
156
|
pageflow/account:
|
157
157
|
created_at: Erstellt am
|
158
158
|
default_file_rights: Standard Urheber
|
159
|
-
default_theming:
|
159
|
+
default_theming: Theme
|
160
|
+
entries_count: "# Beiträge"
|
160
161
|
landing_page_name: Einstiegsseite
|
161
162
|
name: Name
|
163
|
+
users_count: "# Benutzer"
|
162
164
|
pageflow/audio_file:
|
163
165
|
duration: Länge
|
164
166
|
format: Format
|
@@ -172,26 +174,34 @@ de:
|
|
172
174
|
author: Autor
|
173
175
|
created_at: Erstellt am
|
174
176
|
credits: Credits
|
177
|
+
edited_at: Geändert am
|
175
178
|
emphasize_chapter_beginning: Kapitelanfang hervorheben
|
176
179
|
emphasize_new_pages: Neue Seiten hervorheben
|
180
|
+
first_published_at: Erstmals veröffentlicht am
|
177
181
|
home_button_enabled: Home-Button anzeigen
|
178
182
|
home_url: Home-Button URL
|
179
183
|
keywords: Schlüsselwörter
|
180
184
|
locale: Sprache
|
181
185
|
manual_start: Multimedia Hinweis vor dem Start anzeigen
|
186
|
+
overview_button_enabled: "Übersicht-Button anzeigen"
|
182
187
|
published?: Veröffentlichungstatus
|
188
|
+
published_at: Veröffentlicht seit
|
189
|
+
published_revision_published_at: Veröffentlicht am
|
183
190
|
publisher: Herausgeber
|
184
191
|
share_image_id: Social Sharing Bild
|
192
|
+
share_url: Social Sharing URL
|
185
193
|
summary: Zusammenfassung
|
186
194
|
title: Titel
|
187
195
|
updated_at: Geändert am
|
188
196
|
url: Permalink
|
197
|
+
with_publication_state: Veröffentlichungsstatus
|
189
198
|
pageflow/folder:
|
190
199
|
account: Konto
|
191
200
|
name: Name
|
192
201
|
pageflow/image_file:
|
193
202
|
dimensions: Maße
|
194
203
|
pageflow/membership:
|
204
|
+
created_at: Mitglied seit
|
195
205
|
entry: Beitrag
|
196
206
|
user: Redakteur
|
197
207
|
pageflow/page:
|
@@ -240,6 +250,9 @@ de:
|
|
240
250
|
cname: CNAME
|
241
251
|
copyright_link_label: Copyright-Link Text
|
242
252
|
copyright_link_url: Copyright-Link URL
|
253
|
+
default_author: Standard Autor
|
254
|
+
default_keywords: Standard Schlüsselwörter
|
255
|
+
default_publisher: Standard Herausgeber
|
243
256
|
home_button_enabled_by_default: Home-Button in neuen Beiträgen anzeigen
|
244
257
|
home_url: Redirect URL
|
245
258
|
imprint_link_label: Impressum-Link Text
|
@@ -363,6 +376,11 @@ de:
|
|
363
376
|
non: Ausblenden
|
364
377
|
same_parent_chapter: Nur Kapitel mit gleichem übergeordneten Kapitel
|
365
378
|
same_parent_page: Nur Kapitel mit gleicher übergeordneter Seite
|
379
|
+
pageflow/entry:
|
380
|
+
publication_states:
|
381
|
+
not_published: Nicht veröffentlicht
|
382
|
+
published_with_password_protection: Mit Passwortschutz veröffentlicht
|
383
|
+
published_without_password_protection: Ohne Passwortschutz veröffentlicht
|
366
384
|
pageflow/page:
|
367
385
|
atmo_during_playback:
|
368
386
|
mute: Ausblenden
|
@@ -711,6 +729,7 @@ de:
|
|
711
729
|
edit_config: Konfiguration ändern
|
712
730
|
edit_revision: "Ändern"
|
713
731
|
editor: Editor
|
732
|
+
editor_hint: Editor öffnen
|
714
733
|
entries: Beiträge
|
715
734
|
forever: "(unbegrenzt)"
|
716
735
|
members: Redakteure
|
@@ -719,6 +738,7 @@ de:
|
|
719
738
|
not_published: Nicht veröffentlicht
|
720
739
|
password_protected: Mit Passwortschutz
|
721
740
|
preview: Vorschau
|
741
|
+
preview_hint: Vorschau anzeigen
|
722
742
|
published_forever: Veröffentlicht
|
723
743
|
published_revision_legend: Aktuell Veröffentlichter Stand
|
724
744
|
published_until: Veröffentlicht bis %{published_until}
|
@@ -737,6 +757,7 @@ de:
|
|
737
757
|
user: Dieser Stand wurde durch einen Benutzer gesichert
|
738
758
|
show: Anzeigen
|
739
759
|
show_public: "Öffentlich"
|
760
|
+
show_public_hint: "Öffentliche Seite anzeigen"
|
740
761
|
snapshot: Aktuellen Stand sichern
|
741
762
|
title_hint: Dieses Feld bestimmt die URL, unter der der Beitrag öffentlich erreichbar ist.
|
742
763
|
features:
|
@@ -761,6 +782,9 @@ de:
|
|
761
782
|
themings:
|
762
783
|
additional_cnames_hint: Kommaseparierte Liste von weiteren CNAMES. Ausschließlich zur Auswahl der Redirect URL genutzt.
|
763
784
|
cname_hint: Wird in Share Links verwendet.
|
785
|
+
default_author_hint: Voreinstellung 'author' Meta-Feld für Eintrage
|
786
|
+
default_keywords_hint: Voreinstellung 'keywords' Meta-Feld für Eintrage
|
787
|
+
default_publisher_hint: Voreinstellung 'publisher' Meta-Feld für Eintrage
|
764
788
|
home_url_hint: Wird einer der obigen CNAMES ohne Pfad in der URL verwendet, wird zu dieser URL umgeleitet. Standard Link Ziel des Home Buttons.
|
765
789
|
name: "%{account_name}"
|
766
790
|
remove_logo: Logo entfernen
|
@@ -869,6 +893,9 @@ de:
|
|
869
893
|
header: Dies ist ein leerer Pageflow
|
870
894
|
intro: Pageflows bestehen aus Kapiteln und Seiten. In der Seitenleiste rechts findest Du die Gliederung.
|
871
895
|
outro: Hier siehst Du dann eine Vorschau deines Pageflows.
|
896
|
+
entries:
|
897
|
+
unsupported_browser_hint:
|
898
|
+
message: Die Version Ihres Browsers wird vom Pageflow Editor nicht unterstützt. Bitte benutzen Sie einen aktuellen Browser.
|
872
899
|
errors:
|
873
900
|
UnmatchedUploadError: Der Dateityp wird nicht unterstützt.
|
874
901
|
unknown: Ein unbekannter Fehler ist aufgetreten.
|
@@ -1429,6 +1456,7 @@ de:
|
|
1429
1456
|
pageflow/chapter:
|
1430
1457
|
title: Wird auf der Übersichtsseite angezeigt.
|
1431
1458
|
pageflow/entry:
|
1459
|
+
author: Name des Autors.
|
1432
1460
|
credits: Text wird zusammen mit dem Impressumsverweis angezeigt.
|
1433
1461
|
emphasize_chapter_beginning: Mit dieser Option wird der Titel der jeweils ersten Seite eines Kapitels größer dargestellt.
|
1434
1462
|
emphasize_new_pages: Zeigt zum Start des Pageflows in einer Info-Box die seit dem letzten Besuch neu erstellen Seiten an.
|
@@ -1436,13 +1464,18 @@ de:
|
|
1436
1464
|
home_button_enabled_disabled: Diese Funktion steht in diesem Theme nicht zur Verfügung.
|
1437
1465
|
home_url: URL der Übersichtseite. Leer lassen, um Standard zu übernehmen.
|
1438
1466
|
home_url_disabled: Diese Funktion steht in diesem Theme nicht zur Verfügung.
|
1467
|
+
keywords: Schlüsselwörter als Vorschlag für Suchmaschinen.
|
1439
1468
|
manual_start: Entscheide, ob zu Beginn Deines Pageflows ein Hinweis angezeigt wird.
|
1469
|
+
overview_button_enabled: In der Übersicht werden die Kapitel und Seiten des Haupterzählstrangs angezeigt.
|
1470
|
+
overview_button_enabled_disabled: Diese Funktion steht in diesem Theme nicht zur Verfügung.
|
1471
|
+
publisher: Name oder Firmenname des Herausgeber.
|
1472
|
+
share_url: URL, die geteilt werden soll, wenn der Benutzer auf einen der Social Media Buttons klickt. Feld frei lassen, um URL des veröffentlichten Beitrags zu verwenden.
|
1440
1473
|
summary: |
|
1441
1474
|
Trage hier ein, welcher Beschreibungstext beim Teilen in sozialen Netzwerken angezeigt wird.
|
1442
1475
|
title: Hier kannst Du Deinem Pageflow einen Titel geben, der in der Titelleiste des Browserfensters angezeigt wird. Unter diesem Titel wird Dein Pageflow nach der Veröffentlichung auch in Suchmaschinen indiziert werden
|
1443
1476
|
pageflow/page:
|
1444
1477
|
additional_title: Die Infobox wird über den Steuerelementen zum Starten und Stoppen der Wiedegabe angezeigt.
|
1445
|
-
atmo_audio_file_id: Wähle eine Audio-Datei, die im Hintergrund abgespielt werden soll. Wenn diese Atmo auch auf Folgeseiten nahtlos weiterspielen soll, wähle auf diesen Seiten die selbe Datei aus.
|
1478
|
+
atmo_audio_file_id: Wähle eine Audio-Datei, die im Hintergrund abgespielt werden soll. Wenn diese Atmo auch auf Folgeseiten nahtlos weiterspielen soll, wähle auf diesen Seiten die selbe Datei aus. Diese Funktionalität steht im Moment nicht auf mobilen Geräten zur Verfügung.
|
1446
1479
|
atmo_during_playback: Wähle wie sich die Atmo während der Wiedergabe des Hauptmediums dieser Seite verhalten soll.
|
1447
1480
|
delayed_text_fade_in: Blendet die Textinhalte der Seite sowie die Abblendung zeitverzögert ein, nachdem man auf die Seite geblättert hat. So wird für eine gewisse Zeit der Blick auf den Hintergrund freigegeben.
|
1448
1481
|
description: Hier kann der Text eingegeben werden, der angezeigt wird, wenn der User in der Übersicht mit der Mouse über die jeweilige Seite fährt. Außerdem entspricht der hier eingegebene Text auch dem Mouse-Over-Text beim Seitentyp „Seiten-Verweise“, sowie dem Text zum Teilen in sozialen Netzwerken.
|
@@ -1507,9 +1540,12 @@ de:
|
|
1507
1540
|
analytics: Zählpixel
|
1508
1541
|
mobile_navigation: Mobile Navigation
|
1509
1542
|
navigation: Navigationsleiste
|
1543
|
+
player_controls: Player Controls
|
1510
1544
|
type_names:
|
1545
|
+
classic_player_controls: Klassisch
|
1511
1546
|
default_mobile_navigation: Navigationsmenü mit Thumbnails
|
1512
1547
|
default_navigation: Navigationsleiste mit Thumbnails
|
1548
|
+
slim_player_controls: Minimalistisch
|
1513
1549
|
support:
|
1514
1550
|
array:
|
1515
1551
|
last_word_connector: " und "
|
data/config/locales/en.yml
CHANGED
@@ -157,8 +157,10 @@ en:
|
|
157
157
|
created_at: Created at
|
158
158
|
default_file_rights: Default file credits
|
159
159
|
default_theming: Default theming
|
160
|
+
entries_count: "# Entries"
|
160
161
|
landing_page_name: Landing page
|
161
162
|
name: Name
|
163
|
+
users_count: "# Users"
|
162
164
|
pageflow/audio_file:
|
163
165
|
duration: Duration
|
164
166
|
format: Format
|
@@ -172,26 +174,34 @@ en:
|
|
172
174
|
author: Author
|
173
175
|
created_at: Created at
|
174
176
|
credits: Credits
|
177
|
+
edited_at: Updated at
|
175
178
|
emphasize_chapter_beginning: Emphasize chapter beginning
|
176
179
|
emphasize_new_pages: Emphasize new pages
|
180
|
+
first_published_at: First published at
|
177
181
|
home_button_enabled: Show 'Home' button
|
178
182
|
home_url: "'Home' Button URL"
|
179
183
|
keywords: Keywords
|
180
184
|
locale: Language
|
181
185
|
manual_start: Show Instruction-Overlay
|
186
|
+
overview_button_enabled: Show 'Overview' button
|
182
187
|
published?: Publication state
|
188
|
+
published_at: Published since
|
189
|
+
published_revision_published_at: Published since
|
183
190
|
publisher: Publisher
|
184
191
|
share_image_id: Social Sharing Image
|
192
|
+
share_url: Social Sharing URL
|
185
193
|
summary: Summary
|
186
194
|
title: Title
|
187
195
|
updated_at: Updated at
|
188
196
|
url: Permalink
|
197
|
+
with_publication_state: Publication state
|
189
198
|
pageflow/folder:
|
190
199
|
account: Account
|
191
200
|
name: Name
|
192
201
|
pageflow/image_file:
|
193
202
|
dimensions: Dimensions
|
194
203
|
pageflow/membership:
|
204
|
+
created_at: Member since
|
195
205
|
entry: Story
|
196
206
|
user: Editor
|
197
207
|
pageflow/page:
|
@@ -240,10 +250,13 @@ en:
|
|
240
250
|
cname: CNAME
|
241
251
|
copyright_link_label: Copyright link Text
|
242
252
|
copyright_link_url: Copyright link URL
|
253
|
+
default_author: Default author
|
254
|
+
default_keywords: Default keywords
|
255
|
+
default_publisher: Default publisher
|
243
256
|
home_button_enabled_by_default: "'Home'-Button enabled by default"
|
244
257
|
home_url: Redirect URL
|
245
|
-
imprint_link_label:
|
246
|
-
imprint_link_url:
|
258
|
+
imprint_link_label: Legal notice link label
|
259
|
+
imprint_link_url: Legal notice link URL
|
247
260
|
theme_name: Theme
|
248
261
|
pageflow/video_file:
|
249
262
|
dimensions: Dimensions
|
@@ -363,6 +376,11 @@ en:
|
|
363
376
|
non: Hide
|
364
377
|
same_parent_chapter: Chapters with same parent chapter only
|
365
378
|
same_parent_page: Chapters with same parent page only
|
379
|
+
pageflow/entry:
|
380
|
+
publication_states:
|
381
|
+
not_published: Not published
|
382
|
+
published_with_password_protection: Published without password protection
|
383
|
+
published_without_password_protection: Published with password protection
|
366
384
|
pageflow/page:
|
367
385
|
atmo_during_playback:
|
368
386
|
mute: Mute
|
@@ -711,6 +729,7 @@ en:
|
|
711
729
|
edit_config: Edit configuration
|
712
730
|
edit_revision: Edit
|
713
731
|
editor: Editor
|
732
|
+
editor_hint: Open editor
|
714
733
|
entries: Stories
|
715
734
|
forever: "(unlimited)"
|
716
735
|
members: Members
|
@@ -719,6 +738,7 @@ en:
|
|
719
738
|
not_published: Not yet published
|
720
739
|
password_protected: Password protected
|
721
740
|
preview: Preview
|
741
|
+
preview_hint: Open preview
|
722
742
|
published_forever: Published
|
723
743
|
published_revision_legend: Currently published version
|
724
744
|
published_until: Published until %{published_until}
|
@@ -737,6 +757,7 @@ en:
|
|
737
757
|
user: This version was manually saved
|
738
758
|
show: View
|
739
759
|
show_public: Public
|
760
|
+
show_public_hint: Visit public page
|
740
761
|
snapshot: Save current version
|
741
762
|
title_hint: This field determines the URL for this story.
|
742
763
|
features:
|
@@ -761,6 +782,9 @@ en:
|
|
761
782
|
themings:
|
762
783
|
additional_cnames_hint: Comma separated list of additional CNAMES. Used only to select the correct redirect URL.
|
763
784
|
cname_hint: Used in public sharing URLs.
|
785
|
+
default_author_hint: Default 'author' meta field for entries
|
786
|
+
default_keywords_hint: Default 'keywords' meta field for entries
|
787
|
+
default_publisher_hint: Default 'publisher' meta field for entries
|
764
788
|
home_url_hint: Used for requests to the root path with one of the above CNAMES. Default target location for the home button.
|
765
789
|
name: "%{account_name}"
|
766
790
|
remove_logo: Remove logo
|
@@ -871,6 +895,9 @@ en:
|
|
871
895
|
header: This is an empty Pageflow
|
872
896
|
intro: Each Pageflow consist of chapters and pages. The editor panel to your right shows the outline of your story.
|
873
897
|
outro: In this area, a live preview will be shown.
|
898
|
+
entries:
|
899
|
+
unsupported_browser_hint:
|
900
|
+
message: The Pageflow editor does not support the browser version you are using. We recommend upgrading your browser to the most recent version.
|
874
901
|
errors:
|
875
902
|
UnmatchedUploadError: This filetype is not supported.
|
876
903
|
unknown: A unknown error has occurred.
|
@@ -1413,6 +1440,7 @@ en:
|
|
1413
1440
|
pageflow/chapter:
|
1414
1441
|
title: Will be shown on the overview page.
|
1415
1442
|
pageflow/entry:
|
1443
|
+
author: The author's name.
|
1416
1444
|
credits: Will be shown in the info box.
|
1417
1445
|
emphasize_chapter_beginning: This option emphasizes the title of the first page of a chapter.
|
1418
1446
|
emphasize_new_pages: At the beginning of a Pageflow an info-box shows news pages that were created since the last visit.
|
@@ -1420,12 +1448,17 @@ en:
|
|
1420
1448
|
home_button_enabled_disabled: This option is not available for your theme.
|
1421
1449
|
home_url: URL of your home page. Leave empty to use your accounts default setting.
|
1422
1450
|
home_url_disabled: This option is not available for your theme.
|
1451
|
+
keywords: Keywords as a suggestion for search engines.
|
1423
1452
|
manual_start: Decide if tips or advice should be shown at the beginning of your Pageflow.
|
1453
|
+
overview_button_enabled: The overview displays chapters and pages of the main storyline.
|
1454
|
+
overview_button_enabled_disabled: This option is not available for your theme.
|
1455
|
+
publisher: The publisher's name or company name.
|
1456
|
+
share_url: URL to share via social media buttons. Leave blank to use URL of published entry.
|
1424
1457
|
summary: Here you can write a description, which is shown, when your Pageflow is shared in social networks.
|
1425
1458
|
title: Here you can choose a title for your Pageflow. It will be shown on the title bar of the browser window. It also acts as an indicator for search engines once the report is published.
|
1426
1459
|
pageflow/page:
|
1427
1460
|
additional_title: The info box appears close to the player controls.
|
1428
|
-
atmo_audio_file_id: Choose an audio file, that shall be played in the background. If you want this audio to continue playing on following pages, just choose the same file again there.
|
1461
|
+
atmo_audio_file_id: Choose an audio file, that shall be played in the background. If you want this audio to continue playing on following pages, just choose the same file again there. Not available on mobile devices at the moment.
|
1429
1462
|
atmo_during_playback: Choose which way the atmo shall behave during playback of this page's main media.
|
1430
1463
|
delayed_text_fade_in: Fades in the page contents after a delay such that the background image can be viewed initially.
|
1431
1464
|
description: You can enter a text, which appears when the user navigates with the mouse over the particular page. This text matches with the mouse-over-text for the page-type „Page References“ as well as with the text, which appears when you share the Pageflow in social networks.
|
@@ -1494,9 +1527,12 @@ en:
|
|
1494
1527
|
analytics: Tracking
|
1495
1528
|
mobile_navigation: Mobile navigation
|
1496
1529
|
navigation: Navigation bar
|
1530
|
+
player_controls: Player Controls
|
1497
1531
|
type_names:
|
1532
|
+
classic_player_controls: Classic
|
1498
1533
|
default_mobile_navigation: Navigation bar with thumbnails
|
1499
1534
|
default_navigation: Navigation bar with thumbnails
|
1535
|
+
slim_player_controls: Minimal
|
1500
1536
|
support:
|
1501
1537
|
array:
|
1502
1538
|
last_word_connector: ", and "
|
@@ -0,0 +1,23 @@
|
|
1
|
+
class AddCacheCounters < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :pageflow_accounts, :users_count, :integer, default: 0, null: false
|
4
|
+
add_column :pageflow_accounts, :entries_count, :integer, default: 0, null: false
|
5
|
+
|
6
|
+
execute(<<-SQL)
|
7
|
+
UPDATE pageflow_accounts SET users_count = (
|
8
|
+
SELECT COUNT(*)
|
9
|
+
FROM users
|
10
|
+
WHERE users.account_id = pageflow_accounts.id
|
11
|
+
), entries_count = (
|
12
|
+
SELECT COUNT(*)
|
13
|
+
FROM pageflow_entries
|
14
|
+
WHERE pageflow_entries.account_id = pageflow_accounts.id
|
15
|
+
);
|
16
|
+
SQL
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.down
|
20
|
+
remove_column :pageflow_accounts, :users_count
|
21
|
+
remove_column :pageflow_accounts, :entries_count
|
22
|
+
end
|
23
|
+
end
|
@@ -1,8 +1,16 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
1
3
|
module Pageflow
|
2
4
|
module Generators
|
3
5
|
class ActiveAdminInitializerGenerator < Rails::Generators::Base
|
4
6
|
desc "Configure active admin utilitiy menu to contain profile link."
|
5
7
|
|
8
|
+
def configure_active_admin_load_path
|
9
|
+
prepend_to_file 'config/initializers/active_admin.rb' do
|
10
|
+
"ActiveAdmin.application.load_paths.unshift(Pageflow.active_admin_load_path)\n\n"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
6
14
|
def configure_active_admin
|
7
15
|
inject_into_file 'config/initializers/active_admin.rb', after: "ActiveAdmin.setup do |config|\n" do
|
8
16
|
<<-RUBY
|
@@ -21,6 +29,22 @@ module Pageflow
|
|
21
29
|
RUBY
|
22
30
|
end
|
23
31
|
end
|
32
|
+
|
33
|
+
def use_devise
|
34
|
+
gsub_file('config/initializers/active_admin.rb',
|
35
|
+
'# config.current_user_method =',
|
36
|
+
'config.current_user_method =')
|
37
|
+
|
38
|
+
gsub_file('config/initializers/active_admin.rb',
|
39
|
+
'# config.authentication_method =',
|
40
|
+
'config.authentication_method =')
|
41
|
+
end
|
42
|
+
|
43
|
+
def use_can_can
|
44
|
+
gsub_file('config/initializers/active_admin.rb',
|
45
|
+
'# config.authorization_adapter =',
|
46
|
+
'config.authorization_adapter =')
|
47
|
+
end
|
24
48
|
end
|
25
49
|
end
|
26
50
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
1
3
|
module Pageflow
|
2
4
|
module Generators
|
3
5
|
class AssetsGenerator < Rails::Generators::Base
|
@@ -7,16 +9,16 @@ module Pageflow
|
|
7
9
|
|
8
10
|
def create_assets
|
9
11
|
template 'editor.js', 'app/assets/javascripts/pageflow/editor.js'
|
10
|
-
template 'editor.
|
12
|
+
template 'editor.scss', 'app/assets/stylesheets/pageflow/editor.scss'
|
11
13
|
|
12
14
|
template 'application.js', 'app/assets/javascripts/pageflow/application.js'
|
13
|
-
template 'application.
|
15
|
+
template 'application.scss', 'app/assets/stylesheets/pageflow/application.scss'
|
14
16
|
|
15
17
|
append_to_file 'app/assets/javascripts/active_admin.js.coffee' do
|
16
18
|
"#= require pageflow/admin\n"
|
17
19
|
end
|
18
20
|
|
19
|
-
append_to_file 'app/assets/stylesheets/active_admin.
|
21
|
+
append_to_file 'app/assets/stylesheets/active_admin.scss' do
|
20
22
|
"@import \"pageflow/admin\";\n"
|
21
23
|
end
|
22
24
|
end
|