Giter Site home page Giter Site logo

template-launcher-vanillajs's Introduction

Template: Launcher (VanillaJS)

Boilerplate for creating GFEBs launchers. Intended for legacy browsers.

Features

  • automatic imsmanifest and metadata file generation

Installation & Usage

Download the latest release and modify the following files to fit for the relevant products.

  • public/scorm.json
  • src/index.html

/ public / scorm.json

This file contains all metadata for the course to be parsed by scormParser.js to create imsmanifest.xml and [course_code]-metadata.xml

scorm.json

/ src / index.html

This file contains the content for the course landing page. Check the Find & Replace Guide for how to modify this file.

index.html

Links

For each link on the launcher, change <LINK_HERE> to the intended URL and <MODULE_TITLE_HERE> to the intended link text. Repeat for each link and add style attributes as necessary.

<div class="links">
      <!-- Copy button below for more modules-->
      <button class="linkButton" onclick='javascript:openLRC("<LINK_HERE>")'><MODULE_TITLE_HERE></button>
    </div>

Build

To package for ALMS, run /public/scormParser.js then, zip the files inside of /src/. Then rename the zip file GFEBS <COURSE_CODE> <COURSE_TITLE> - Training Content.

Author and acknowledgements

  • APIWrapper.js and scormJS.js provided by ADL registry

Find and Replace Guide

  • <COURSE_CODE> - Course Code (ie L230E)
  • <COURSE_TITLE> - Course Title (ie Funds Management)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.