Remove some elements that are no longer in use.
This commit is contained in:
parent
c86b5f9f61
commit
7672eaa32a
|
@ -1,23 +0,0 @@
|
||||||
import { makeElement } from "z-makeelement";
|
|
||||||
|
|
||||||
export function HeaderAndContent(title: string, content: string): HTMLElement {
|
|
||||||
return makeElement({
|
|
||||||
tag: "tr",
|
|
||||||
children: [
|
|
||||||
makeElement({
|
|
||||||
tag: "td",
|
|
||||||
children: makeElement({
|
|
||||||
tag: "h5",
|
|
||||||
text: title,
|
|
||||||
}),
|
|
||||||
}),
|
|
||||||
makeElement({
|
|
||||||
tag: "td",
|
|
||||||
children: makeElement({
|
|
||||||
tag: "p",
|
|
||||||
text: content,
|
|
||||||
}),
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
});
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
import { Margin } from "./Margin";
|
|
||||||
import { makeElement } from "z-makeelement";
|
|
||||||
|
|
||||||
export function InputWithTitle(title: string, children: Element | Element[]): Element {
|
|
||||||
return Margin([
|
|
||||||
makeElement({
|
|
||||||
tag: "label",
|
|
||||||
class: "uk-form-label",
|
|
||||||
children: makeElement({
|
|
||||||
tag: "span",
|
|
||||||
text: title,
|
|
||||||
}),
|
|
||||||
}),
|
|
||||||
makeElement({
|
|
||||||
tag: "div",
|
|
||||||
class: "uk-form-controls uk-form-controls-text uk-margin-small-top",
|
|
||||||
children: children,
|
|
||||||
}),
|
|
||||||
]);
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { makeElement } from "z-makeelement";
|
|
||||||
|
|
||||||
export function ListItem(children: Element[] | Element): HTMLElement {
|
|
||||||
return makeElement({
|
|
||||||
tag: "li",
|
|
||||||
children: children,
|
|
||||||
});
|
|
||||||
}
|
|
Loading…
Reference in a new issue