Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
glowbl-xblock / static / html / lti_launch.html
Size: Mime:
<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>LTI</title>
    </head>
    <body>
        ## This form will be hidden.
        ## LTI module JavaScript will trigger a "submit" on the form, and the
        ## result will be rendered instead.
        <form
            id="lti-${element_id}"
            action="${launch_url}"
            method="post"
            encType="application/x-www-form-urlencoded"
            style="display:none;"
        >

            % for param_name, param_value in lti_parameters.items():
                <input name="${param_name}" value="${param_value}" />
            % endfor

            <input type="submit" value="Press to Launch" />
        </form>
        <script type="text/javascript">
            (function (d) {
                var element = d.getElementById("lti-${element_id}");
                if (element) {
                    element.submit();
                }
            }(document));
        </script>
    </body>
</html>