Added layout options for the public booking form. Fixes #16

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 22:27:29 +02:00
co-authored by Claude Opus 5.5
parent 5fcea0cf85
commit 0f48160fb4
11 changed files with 293 additions and 24 deletions
+5 -1
View File
@@ -6,6 +6,7 @@ use chrono::{Local, NaiveDate, NaiveTime, Weekday};
use lazy_static::lazy_static;
use crate::backend::banner::{is_stored_image_name, BannerOptions};
use crate::backend::color::Colors;
use crate::backend::layout::LayoutOptions;
use regex::Regex;
use rust_decimal::Decimal;
use serde::{Deserialize, Serialize};
@@ -751,7 +752,10 @@ pub struct Appearance {
pub logo: Option<String>,
#[serde(default)]
#[cfg_attr(feature = "ssr", sqlx(flatten))]
pub banner_options: BannerOptions
pub banner_options: BannerOptions,
#[serde(default)]
#[cfg_attr(feature = "ssr", sqlx(flatten))]
pub layout: LayoutOptions
}
impl Appearance {