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:
+5
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user