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 { getCookie } from "../utils";
import { updateMessages } from "./Messages.js"; import { updateMessages } from "./Messages";
import { customElement, html, LitElement, property } from "lit-element"; import { customElement, html, LitElement, property } from "lit-element";
const PRIMARY_CLASS = "pf-m-primary"; 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 // @ts-ignore
import ModalBoxStyle from "@patternfly/patternfly/components/ModalBox/modal-box.css"; import ModalBoxStyle from "@patternfly/patternfly/components/ModalBox/modal-box.css";
// @ts-ignore // @ts-ignore
import BullseyeStyle from "@patternfly/patternfly/layouts/Bullseye/bullseye.css"; import BullseyeStyle from "@patternfly/patternfly/layouts/Bullseye/bullseye.css";
// @ts-ignore // @ts-ignore
import BackdropStyle from "@patternfly/patternfly/components/Backdrop/backdrop.css"; import BackdropStyle from "@patternfly/patternfly/components/Backdrop/backdrop.css";
import { updateMessages } from "./Messages"; import { updateMessages } from "../elements/Messages";
import { convertToSlug } from "./utils"; import { convertToSlug } from "../utils";
@customElement("pb-modal-button") @customElement("pb-modal-button")
export class ModalButton extends LitElement { export class ModalButton extends LitElement {

View File

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

View File

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