import { LitElement, html, css } from "lit"; import { customElement } from "lit/decorators.js"; import init from "../../es6/shared"; import { SyncMetaWidget } from "../../widget"; import { CONFIG, getWidgetTagName } from "../../es6/config"; // widget body used by all syncmeta widgets @customElement(getWidgetTagName(CONFIG.WIDGET.NAME.IMSLD_EXPORT)) export class IMSLDExportWidget extends SyncMetaWidget( LitElement, getWidgetTagName(CONFIG.WIDGET.NAME.IMSLD_EXPORT) ) { render() { return html`
Download IMSLD
 
Integrated Learning Design Environment (ILDE)
Please provide your ILDE credentials to use this feature. There are different installations of ILDE. Please provide the URL of installation that you want to use.
Installation:
Username:
Password:
This learning design can be synchronized with ILDE. If you want to synchronize it with an existing ILDE design, please provide the URL below. Otherwise just click 'Start ILDE Sync!'

URL of existing design (optional):

This design is now available also on ILDE:

Click to push your changes:
Success!
`; } static styles = css` .loading_button { background-image: url('<%= grunt.config("baseUrl") %>/img/loading_small.gif'); background-repeat: no-repeat; background-position: right center; padding-right: 20px; } .hide { display: none; } #ilde_login_form * { font-size: 12px; } #ilde_upload_form * { font-size: 12px; } .seperating_box { border: 1px solid; border-radius: 7px; margin: 18px 20px 7px 7px; padding: 7px 20px 7px 7px; position: relative; } .seperating_box > h5 { font-weight: normal; font-style: italic; position: absolute; top: -40px; left: 4px; } `; connectedCallback() { super.connectedCallback(); init(); } disconnectedCallback() { super.disconnectedCallback(); } } /** * Scripts missing! */