static: improve structure and cleanup
This commit is contained in:
parent
6a2ae67c31
commit
e42ad3f659
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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";
|
|
@ -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 {
|
|
@ -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";
|
||||||
|
|
|
@ -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",
|
Reference in New Issue