bugs fixes due to reges curruption

This commit is contained in:
2026-03-20 23:19:45 -04:00
parent 6da08942a7
commit fc0c071d1d
18 changed files with 74 additions and 74 deletions

View File

@@ -101,11 +101,11 @@ function EventTypePopup({ userGroups, onSave, onClose, editing = null }) {
<div style={{ position:'absolute', top:'100%', left:0, zIndex:200, background:'var(--surface)', border:'1px solid var(--border)', borderRadius:'var(--radius)', padding:16, width:280, boxShadow:'0 4px 20px rgba(0,0,0,0.15)' }}>
<div style={{ marginBottom:10 }}>
<label className="settings-section-label">Type Name</label>
<input className="input" value={name} onChange={e = /> setName(e.target.value)} autoComplete="new-password" style={{ marginTop:4 }} autoFocus />
<input className="input" value={name} onChange={e => setName(e.target.value)} autoComplete="new-password" style={{ marginTop:4 }} autoFocus />
</div>
<div style={{ marginBottom:10 }}>
<label className="settings-section-label">Colour</label>
<input type="color" value={colour} onChange={e= />setColour(e.target.value)} style={{ marginTop:4, width:'100%', height:32, padding:2, borderRadius:4, border:'1px solid var(--border)' }} />
<input type="color" value={colour} onChange={e => setColour(e.target.value)} style={{ marginTop:4, width:'100%', height:32, padding:2, borderRadius:4, border:'1px solid var(--border)' }} />
</div>
<div style={{ marginBottom:10 }}>
<label className="settings-section-label">Default Group</label>
@@ -195,16 +195,16 @@ function EventForm({ event, userGroups, eventTypes, selectedDate, onSave, onCanc
return (
<div style={{ display:'flex', flexDirection:'column', gap:0 }}>
{/* Title */}
<input className="input" placeholder="Add title" value={title} onChange={e = /> setTitle(e.target.value)} autoComplete="new-password" style={{ fontSize:18, fontWeight:600, marginBottom:16, border:'none', borderBottom:'2px solid var(--border)', borderRadius:0, padding:'4px 0' }} />
<input className="input" placeholder="Add title" value={title} onChange={e => setTitle(e.target.value)} autoComplete="new-password" style={{ fontSize:18, fontWeight:600, marginBottom:16, border:'none', borderBottom:'2px solid var(--border)', borderRadius:0, padding:'4px 0' }} />
{/* Date/Time */}
<Row label="">
<div style={{ display:'flex', flexWrap:'wrap', gap:8, alignItems:'center' }}>
<input type="date" className="input" value={startDate} onChange={e= />setStartDate(e.target.value)} style={{ width:150 }} />
{!allDay && <input type="time" className="input" value={startTime} onChange={e= />setStartTime(e.target.value)} style={{ width:120 }} />}
<input type="date" className="input" value={startDate} onChange={e => setStartDate(e.target.value)} style={{ width:150 }} />
{!allDay && <input type="time" className="input" value={startTime} onChange={e => setStartTime(e.target.value)} style={{ width:120 }} />}
<span style={{ color:'var(--text-tertiary)', fontSize:13 }}>to</span>
{!allDay && <input type="time" className="input" value={endTime} onChange={e= />setEndTime(e.target.value)} style={{ width:120 }} />}
<input type="date" className="input" value={endDate} onChange={e= />setEndDate(e.target.value)} style={{ width:150 }} />
{!allDay && <input type="time" className="input" value={endTime} onChange={e => setEndTime(e.target.value)} style={{ width:120 }} />}
<input type="date" className="input" value={endDate} onChange={e => setEndDate(e.target.value)} style={{ width:150 }} />
</div>
<label style={{ display:'flex', alignItems:'center', gap:8, marginTop:8, fontSize:13, cursor:'pointer' }}>
<input type="checkbox" checked={allDay} onChange={e=>setAllDay(e.target.checked)} /> All day
@@ -264,7 +264,7 @@ function EventForm({ event, userGroups, eventTypes, selectedDate, onSave, onCanc
{/* Location */}
<Row label="Location">
<input className="input" placeholder="Add location" value={location} onChange={e = /> setLocation(e.target.value)} autoComplete="new-password" />
<input className="input" placeholder="Add location" value={location} onChange={e => setLocation(e.target.value)} autoComplete="new-password" />
</Row>
{/* Description */}