|
|
@ -12,22 +12,10 @@ |
|
|
<input type="hidden" value="@Model.Url" id="event-detail-url"/> |
|
|
<input type="hidden" value="@Model.Url" id="event-detail-url"/> |
|
|
<div class="container mb-4"> |
|
|
<div class="container mb-4"> |
|
|
<h1>Edit Event</h1> |
|
|
<h1>Edit Event</h1> |
|
|
|
|
|
<abp-tabs tab-style="Pill"> |
|
|
<ul class="nav nav-pills mt-3 mb-3" id="pills-tab" role="tablist"> |
|
|
<abp-tab title="Event Information"> |
|
|
<li class="nav-item"> |
|
|
<form method="post" class="mt-3"> |
|
|
<a class="nav-link active" id="event-info-tab" data-toggle="pill" href="#event-info" role="tab" aria-controls="event-info" aria-selected="true">Event Information</a> |
|
|
<abp-input asp-for="Event.Id"/> |
|
|
</li> |
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
|
<a class="nav-link" id="event-timing-tab" data-toggle="pill" href="#event-timing" role="tab" aria-controls="event-timing" aria-selected="false">Event Timing</a> |
|
|
|
|
|
</li> |
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
|
<a class="nav-link" id="event-cover-image-tab" data-toggle="pill" href="#event-cover-image" role="tab" aria-controls="event-cover-image" aria-selected="false">Event Cover Image</a> |
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
|
|
<div class="tab-content" id="pills-tabContent"> |
|
|
|
|
|
<div class="tab-pane fade show active" id="event-info" role="tabpanel" aria-labelledby="event-info-tab"> |
|
|
|
|
|
<form method="post"> |
|
|
|
|
|
<abp-input asp-for="Event.Id" /> |
|
|
|
|
|
<abp-input asp-for="Event.Title"/> |
|
|
<abp-input asp-for="Event.Title"/> |
|
|
<abp-input asp-for="Event.Description"/> |
|
|
<abp-input asp-for="Event.Description"/> |
|
|
<abp-input asp-for="Event.IsOnline"/> |
|
|
<abp-input asp-for="Event.IsOnline"/> |
|
|
@ -46,9 +34,9 @@ |
|
|
|
|
|
|
|
|
<abp-button size="Large" button-type="Primary" type="submit" text="@L["Submit"].Value"/> |
|
|
<abp-button size="Large" button-type="Primary" type="submit" text="@L["Submit"].Value"/> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</abp-tab> |
|
|
<div class="tab-pane fade" id="event-timing" role="tabpanel" aria-labelledby="event-timing-tab"> |
|
|
<abp-tab title="Event Timing"> |
|
|
<div class="alert alert-info" role="alert"> |
|
|
<div class="alert alert-info mt-3" role="alert" > |
|
|
Note: You can not change the event timing more than two times. |
|
|
Note: You can not change the event timing more than two times. |
|
|
</div> |
|
|
</div> |
|
|
<div class="alert alert-warning mt-3" role="alert"> |
|
|
<div class="alert alert-warning mt-3" role="alert"> |
|
|
@ -59,11 +47,11 @@ |
|
|
<abp-input asp-for="EventTiming.StartTime"/> |
|
|
<abp-input asp-for="EventTiming.StartTime"/> |
|
|
<abp-input asp-for="EventTiming.EndTime"/> |
|
|
<abp-input asp-for="EventTiming.EndTime"/> |
|
|
|
|
|
|
|
|
<abp-button size="Large" button-type="Primary" type="submit" text="@L["Submit"].Value"/> |
|
|
<abp-button size="Large" button-type="Primary" type="button" id="btn-event-timing" text="@L["Submit"].Value"/> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</abp-tab> |
|
|
<div class="tab-pane fade" id="event-cover-image" role="tabpanel" aria-labelledby="event-cover-image-tab"> |
|
|
<abp-tab title="Event Cover Image"> |
|
|
<form method="post" id="cover-image-form"> |
|
|
<form method="post" id="cover-image-form" class="mt-3"> |
|
|
<input type="hidden" id="event-id" value="@Model.Event.Id"/> |
|
|
<input type="hidden" id="event-id" value="@Model.Event.Id"/> |
|
|
<abp-row> |
|
|
<abp-row> |
|
|
<abp-column size="_12" v-align="Center"> |
|
|
<abp-column size="_12" v-align="Center"> |
|
|
@ -77,16 +65,27 @@ |
|
|
</div> |
|
|
</div> |
|
|
</abp-column> |
|
|
</abp-column> |
|
|
</abp-row> |
|
|
</abp-row> |
|
|
|
|
|
|
|
|
<abp-button class="btn-block" id="event-cover-image-btnSubmit" button-type="Primary" type="submit" text="@L["Submit"].Value" /> |
|
|
<abp-button class="btn-block" id="event-cover-image-btnSubmit" button-type="Primary" type="submit" text="@L["Submit"].Value" /> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</abp-tab> |
|
|
<abp-modal centered="true" scrollable="true" size="Small" id="cover-image-preview-modal"> |
|
|
</abp-tabs> |
|
|
<abp-modal-header title="Cover Image Preview"></abp-modal-header> |
|
|
<abp-modal centered="true" scrollable="true" size="Large" id="event-timing-preview-modal"> |
|
|
<abp-modal-body> |
|
|
<abp-modal-header title="Event Timing Preview"></abp-modal-header> |
|
|
<img class="img-fluid" id="img-upload" alt="event-cover-image-preview"/> |
|
|
<abp-modal-body> |
|
|
</abp-modal-body> |
|
|
If you change the event times, an informational email will be sent to all attendees. |
|
|
<abp-modal-footer buttons="@(AbpModalButtons.Close)"></abp-modal-footer> |
|
|
</abp-modal-body> |
|
|
</abp-modal> |
|
|
<abp-modal-footer> |
|
|
</div> |
|
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button> |
|
|
|
|
|
<button type="button" id="event-timing-confirm" class="btn btn-success">Confirm</button> |
|
|
|
|
|
</abp-modal-footer> |
|
|
|
|
|
</abp-modal> |
|
|
|
|
|
|
|
|
|
|
|
<abp-modal centered="true" scrollable="true" size="Small" id="cover-image-preview-modal"> |
|
|
|
|
|
<abp-modal-header title="Cover Image Preview"></abp-modal-header> |
|
|
|
|
|
<abp-modal-body> |
|
|
|
|
|
<img class="img-fluid" id="img-upload" alt="event-cover-image-preview"/> |
|
|
|
|
|
</abp-modal-body> |
|
|
|
|
|
<abp-modal-footer buttons="@(AbpModalButtons.Close)"></abp-modal-footer> |
|
|
|
|
|
</abp-modal> |
|
|
</div> |
|
|
</div> |