Skip to content
Snippets Groups Projects
Commit 4b162817 authored by Neuber, Eugen Ramon's avatar Neuber, Eugen Ramon :speech_balloon: Committed by Reiter, Christoph
Browse files

Remove CDNJS.CLOUDFLARE for bulma.css in demo

parent 5b6cf878
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,8 @@ import {setting,} from './utils.js'; ...@@ -4,6 +4,8 @@ import {setting,} from './utils.js';
import {i18n} from './i18n'; import {i18n} from './i18n';
import {html, LitElement} from 'lit-element'; import {html, LitElement} from 'lit-element';
import * as commonUtils from 'vpu-common/utils'; import * as commonUtils from 'vpu-common/utils';
import bulmaCSSPath from "bulma/css/bulma.min.css";
import * as utils from "./utils";
class DataTableViewDemo extends LitElement { class DataTableViewDemo extends LitElement {
constructor() { constructor() {
...@@ -94,9 +96,9 @@ class DataTableViewDemo extends LitElement { ...@@ -94,9 +96,9 @@ class DataTableViewDemo extends LitElement {
} }
render() { render() {
// datatable.net tyles must be applied here :-/ const bulmaCSS = utils.getAssetURL(bulmaCSSPath);
return html` return html`
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css"> <link rel="stylesheet" href="${bulmaCSS}">
<style> <style>
.box { .box {
margin: 10px; margin: 10px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment