feat: Enhance UI/UX across multiple views with consistent styling and improved layout #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/calendar-view"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit introduces significant user interface and experience improvements across the Lawn Care Log, Calendar, and Lawn Tips sections, focusing on consistent button styling, improved layout, and clearer navigation.
Key Changes:
Lawn Care Event Models:
NotApplicabletoMowingPatternenum with[Display(Name = "N/A")]for better logging flexibility.Lawn Care Log (
Views/LawnCareEvents/Index.cshtml):<h1>and primary action buttons (Create New Event,View Calendar) in adivwithtext-centerfor better alignment.input-groupwithin a flex container (d-flex justify-content-end) with fixed width and auto margins, ensuring it's centered as a block but right-aligned internally.btn-sm btn-outline-primary/info/dangerstyled buttons, wrapped ind-flex flex-wrap gap-2for consistent spacing and responsive behavior.btn-primary.Lawn Care Calendar (
Views/LawnCareEvents/Calendar.cshtml):d-flex justify-content-between align-items-center) for the calendar's page title and the "Create New Event" button, ensuring they are on the same line and properly spaced.#prevMonth,#nextMonth,#currentMonthYear) remains unaffected by the page title/button layout changes.Lawn Care Tips (
Views/LawnCareTip/Index.cshtml):btn-sm btn-outline-primary/info/danger)..col-actionsCSS to the action column (<th>and<td>) to give it a fixed width and usewhite-space: nowrapto prevent action buttons from wrapping..col-contentCSS to the content column to limit its max-width and allowword-wrap.btn-primarystyling for consistency.LawnCareTipwas removed from the table view, aligning with a common pattern where simple tip content might be fully displayed or only Edit/Delete actions are prioritized in the index.Global Styling (
wwwroot/css/site.css):col-contentandcol-actionsCSS classes to manage table column widths and wrapping behavior for cleaner table layouts.These changes significantly improve the aesthetic consistency and usability of the application's main views.
mentioned in commit
60567d7969