%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/ceaa/wp-content/plugins/learnpress/inc/admin/views/course/
Upload File :
Create Path :
Current File : /var/www/html/ceaa/wp-content/plugins/learnpress/inc/admin/views/course/editor.php

<?php
/**
 * Course editor template.
 *
 * @since 3.0.0
 */

learn_press_admin_view( 'course/curriculum' );
learn_press_admin_view( 'course/modal-choose-items' );

?>
<script type="text/x-template" id="tmpl-lp-course-editor">
    <div id="admin-editor-lp_course" class='lp-admin-editor' xxxx>

        <div v-if="heartbeat">
            <form @submit.prevent="">
                <lp-curriculum></lp-curriculum>
            </form>

            <lp-curriculum-choose-items></lp-curriculum-choose-items>
        </div>
        <div v-else>
            <div class="lp-place-holder">
				<?php learn_press_admin_view( 'placeholder-animation' ); ?>
                <div class="notify-reload"><?php esc_html_e( 'Something went wrong! Please reload to continue editing curriculum.', 'learnpress' ); ?></div>
            </div>
        </div>
    </div>
</script>

<script type="text/javascript">
    jQuery(function ($) {
        (function (Vue, $store) {

            Vue.component('lp-course-editor', {
                template: '#tmpl-lp-course-editor',
                created: function () {
                    setInterval(function () {
                        $store.dispatch('heartbeat');
                    }, 60 * 1000);
                },
                computed: {
                    heartbeat: function () {
                        return $store.getters['heartbeat'];
                    }
                }
            });

        })(Vue, LP_Curriculum_Store);
    })
</script>

Zerion Mini Shell 1.0