PlotDirector/PlotLine/Views/Writing/_ContextCalendar.cshtml
2026-12-01 19:50:30 +00:00

31 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@model PlotLine.Controllers.ContextCalendarScope
@{ Layout = null; }
<div data-context-tab-fragment data-context-calendar class="context-calendar" data-project-id="@Model.ProjectID" data-book-id="@Model.BookID" data-chapter-id="@Model.ChapterID" data-scene-id="@Model.SceneID">
<div class="context-calendar-controls">
<label>Books <select data-calendar-books><option value="current">Current book</option><option value="all">All books</option></select></label>
<button type="button" data-calendar-previous aria-label="Previous month">‹</button>
<label>Month <input type="month" min="0001-01" max="9999-12" data-calendar-month /></label>
<button type="button" data-calendar-next aria-label="Next month">›</button>
<button type="button" data-calendar-hold aria-pressed="false">Browse / Hold</button>
<button type="button" data-calendar-return>Return to Scene</button>
</div>
<p data-calendar-status role="status"></p>
<div class="context-calendar-layout">
<section class="context-calendar-month" aria-label="Month reference">
<strong data-calendar-title></strong>
<div class="context-calendar-weekdays" aria-hidden="true"><span>Mon</span><span>Tue</span><span>Wed</span><span>Thu</span><span>Fri</span><span>Sat</span><span>Sun</span></div>
<div class="context-calendar-grid" data-calendar-grid></div>
<small>● Manuscript date · outlined date is your selection</small>
</section>
<div class="context-calendar-day-column">
<section class="context-calendar-elapsed" aria-label="Elapsed time calculator">
<h3>Elapsed time</h3>
<label>Start date <input type="date" min="0001-01-01" max="9999-12-31" data-calendar-from /></label>
<p>To <strong data-calendar-destination>Select a date</strong></p>
<output data-calendar-elapsed aria-live="polite">Choose a start date</output>
</section>
<aside data-calendar-details aria-label="Selected date details"></aside>
</div>
</div>
</div>