admin: migrate overview data-target modals
This commit is contained in:
2
passbook/static/static/dist/main.js.map
vendored
2
passbook/static/static/dist/main.js.map
vendored
File diff suppressed because one or more lines are too long
@ -7,11 +7,6 @@ import BullseyeStyle from "@patternfly/patternfly/layouts/Bullseye/bullseye.css"
|
||||
import BackdropStyle from "@patternfly/patternfly/components/Backdrop/backdrop.css";
|
||||
import { updateMessages } from "./Messages";
|
||||
|
||||
const PRIMARY_CLASS = "pf-m-primary";
|
||||
const SUCCESS_CLASS = "pf-m-success";
|
||||
const ERROR_CLASS = "pf-m-danger";
|
||||
const PROGRESS_CLASSES = ["pf-m-progress", "pf-m-in-progress"];
|
||||
|
||||
@customElement("pb-modal-button")
|
||||
export class ModalButton extends LitElement {
|
||||
|
||||
|
||||
@ -40,23 +40,6 @@ document.querySelectorAll(".pf-c-check__label").forEach((checkLabel) => {
|
||||
});
|
||||
});
|
||||
|
||||
// CodeMirror
|
||||
// document.querySelectorAll(".codemirror").forEach((cm) => {
|
||||
// let cmMode = 'xml';
|
||||
// if ('data-cm-mode' in cm.attributes) {
|
||||
// cmMode = cm.attributes['data-cm-mode'].value;
|
||||
// }
|
||||
// // https://github.com/codemirror/CodeMirror/issues/5092
|
||||
// cm.removeAttribute("required");
|
||||
// CodeMirror.fromTextArea(cm, {
|
||||
// mode: cmMode,
|
||||
// theme: 'monokai',
|
||||
// lineNumbers: false,
|
||||
// readOnly: cm.readOnly,
|
||||
// autoRefresh: true,
|
||||
// });
|
||||
// });
|
||||
|
||||
// Automatic slug fields
|
||||
const convertToSlug = (text) => {
|
||||
return text
|
||||
|
||||
Reference in New Issue
Block a user