static: improve structure and cleanup

This commit is contained in:
Jens Langhammer 2020-11-21 20:47:19 +01:00
parent 6a2ae67c31
commit e42ad3f659
14 changed files with 21 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
import { getCookie } from "./utils.js";
import { updateMessages } from "./Messages.js";
import { getCookie } from "../utils";
import { updateMessages } from "./Messages";
import { customElement, html, LitElement, property } from "lit-element";
const PRIMARY_CLASS = "pf-m-primary";

View File

@ -1,12 +1,12 @@
import { customElement, html, LitElement, property, TemplateResult } from "lit-element";
import { customElement, html, LitElement, property } from "lit-element";
// @ts-ignore
import ModalBoxStyle from "@patternfly/patternfly/components/ModalBox/modal-box.css";
// @ts-ignore
import BullseyeStyle from "@patternfly/patternfly/layouts/Bullseye/bullseye.css";
// @ts-ignore
import BackdropStyle from "@patternfly/patternfly/components/Backdrop/backdrop.css";
import { updateMessages } from "./Messages";
import { convertToSlug } from "./utils";
import { updateMessages } from "../elements/Messages";
import { convertToSlug } from "../utils";
@customElement("pb-modal-button")
export class ModalButton extends LitElement {

View File

@ -1,13 +1,13 @@
import "./legacy.js";
import './ActionButton';
import './AdminSidebar';
import './AdminSiteShell';
import "./AdminLoginsChart";
import './CodeMirror';
import './Dropdown';
import './FetchFillSlot';
import './FlowShellCard';
import './Messages';
import './ModalButton';
import './Tabs';
import './elements/ActionButton';
import './elements/AdminSidebar';
import './elements/CodeMirror';
import './elements/Dropdown';
import './elements/FetchFillSlot';
import './elements/Messages';
import './elements/ModalButton';
import './elements/Tabs';
import './pages/AdminSiteShell';
import './pages/FlowShellCard';
import "./elements/AdminLoginsChart";

View File

@ -1,5 +1,5 @@
import { LitElement, html, customElement, property } from 'lit-element';
import { updateMessages } from "./Messages";
import { updateMessages } from "../elements/Messages";
enum ResponseType {
redirect = "redirect",