Update app moved schedule seletion/save card from left to right column
This commit is contained in:
23
src/App.tsx
23
src/App.tsx
@@ -308,16 +308,6 @@ const MedPlanAssistant = () => {
|
|||||||
|
|
||||||
{/* Left Column - Controls */}
|
{/* Left Column - Controls */}
|
||||||
<div className="lg:col-span-1 space-y-6">
|
<div className="lg:col-span-1 space-y-6">
|
||||||
<ProfileSelector
|
|
||||||
profiles={profiles}
|
|
||||||
activeProfileId={activeProfileId}
|
|
||||||
hasUnsavedChanges={hasUnsavedChanges()}
|
|
||||||
onSwitchProfile={switchProfile}
|
|
||||||
onSaveProfile={saveProfile}
|
|
||||||
onSaveProfileAs={saveProfileAs}
|
|
||||||
onDeleteProfile={deleteProfile}
|
|
||||||
t={t}
|
|
||||||
/>
|
|
||||||
<DaySchedule
|
<DaySchedule
|
||||||
days={days}
|
days={days}
|
||||||
doseIncrement={doseIncrement}
|
doseIncrement={doseIncrement}
|
||||||
@@ -333,7 +323,17 @@ const MedPlanAssistant = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Right Column - Settings */}
|
{/* Right Column - Settings */}
|
||||||
<div className="lg:col-span-1 space-y-6">
|
<div className="lg:col-span-1 space-y-4">
|
||||||
|
<ProfileSelector
|
||||||
|
profiles={profiles}
|
||||||
|
activeProfileId={activeProfileId}
|
||||||
|
hasUnsavedChanges={hasUnsavedChanges()}
|
||||||
|
onSwitchProfile={switchProfile}
|
||||||
|
onSaveProfile={saveProfile}
|
||||||
|
onSaveProfileAs={saveProfileAs}
|
||||||
|
onDeleteProfile={deleteProfile}
|
||||||
|
t={t}
|
||||||
|
/>
|
||||||
<Settings
|
<Settings
|
||||||
pkParams={pkParams}
|
pkParams={pkParams}
|
||||||
therapeuticRange={therapeuticRange}
|
therapeuticRange={therapeuticRange}
|
||||||
@@ -351,6 +351,7 @@ const MedPlanAssistant = () => {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Footer */}
|
||||||
<footer className="mt-8 p-4 bg-muted rounded-lg text-sm border">
|
<footer className="mt-8 p-4 bg-muted rounded-lg text-sm border">
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user