This commit is contained in:
@ -41,7 +41,7 @@ const IconList = {
|
||||
label: "Symbol",
|
||||
widget: "string",
|
||||
required: false,
|
||||
hint: "Liste unter https://assets.cantorgymnasium.de/fonts/mdi/v7/preview.html",
|
||||
hint: "Liste unter https://assets.cantorgymnasium.de/fonts/mdi/v7/preview.html. Das `mdi` am Anfang ist wegzulassen.",
|
||||
};
|
||||
|
||||
const PreviewNumber = {
|
||||
|
@ -9,6 +9,7 @@ const EditorProps = {
|
||||
|
||||
const MarkdownProps = {
|
||||
widget: "markdown",
|
||||
show_raw: true,
|
||||
toolbar_buttons: {
|
||||
main: [
|
||||
"bold",
|
||||
|
@ -17,6 +17,7 @@ const IconNames = {
|
||||
projektwoche: "mdi mdi-calendar-range-outline",
|
||||
superhaufen: "mdi mdi-view-dashboard",
|
||||
stats: "mdi mdi-chart-bar",
|
||||
color: "mdi mdi-palette",
|
||||
};
|
||||
|
||||
let Icons = [];
|
||||
|
@ -9,12 +9,12 @@
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/@staticcms/app@next/dist/main.css"
|
||||
href="https://unpkg.com/@staticcms/app@^4.0.0/dist/main.css"
|
||||
/>
|
||||
<title>Static CMS</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/@staticcms/app@next/dist/static-cms-app.js"></script>
|
||||
<script src="https://unpkg.com/@staticcms/app@^4.0.0/dist/static-cms-app.js"></script>
|
||||
<script type="module">
|
||||
import config from "./config/index.js";
|
||||
// imports
|
||||
|
@ -31,11 +31,11 @@ const EventPreview = ({ widgetsFor, entry }) => {
|
||||
),
|
||||
h(
|
||||
"div",
|
||||
{ className: "filtr-container row" },
|
||||
{ className: "filter-container row" },
|
||||
widgetsFor("events").map((event) =>
|
||||
h(
|
||||
"div",
|
||||
{ className: "filtr-item col-12" },
|
||||
{ className: "filter-item col-12" },
|
||||
h(
|
||||
"div",
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
const PreviewStyles = [
|
||||
"https://assets.cantorgymnasium.de/bootstrap/v5/css/bootstrap.min.css",
|
||||
"https://assets.cantorgymnasium.de/fonts/fira/fira.css",
|
||||
"https://assets.cantorgymnasium.de/fonts/ubuntu/ubuntu.css",
|
||||
"https://assets.cantorgymnasium.de/fonts/fira/fira.min.css",
|
||||
"https://assets.cantorgymnasium.de/fonts/ubuntu/ubuntu.min.css",
|
||||
"https://assets.cantorgymnasium.de/fonts/mdi/v7/css/materialdesignicons.min.css",
|
||||
"/css/style.min.css",
|
||||
];
|
||||
|
Reference in New Issue
Block a user