reorg
This commit is contained in:
parent
d000f77098
commit
40e8e08690
3487 changed files with 39 additions and 21 deletions
30
src/Yavsc.Org/Views/Manage/SetGoogleCalendar.cshtml
Normal file
30
src/Yavsc.Org/Views/Manage/SetGoogleCalendar.cshtml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
@model SetGoogleCalendarViewModel
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Setup Google calendar access";
|
||||
}
|
||||
<form asp-action="SetGoogleCalendar">
|
||||
@{ var entryNum=0; }
|
||||
@foreach (var calendar in Model.Calendars.Items)
|
||||
{
|
||||
entryNum++;
|
||||
@if (calendar.AccessRole=="owner") {
|
||||
<label >
|
||||
<input type="radio" name="GoogleCalendarId" value="@calendar.Id" id="cal@entryNum">
|
||||
|
||||
<span style="background-color: @calendar.BackgroundColor; foreground-color: @calendar.ForegroundColor;">
|
||||
@calendar.Summary </span>
|
||||
<i>"@calendar.Description"</i>
|
||||
</label>
|
||||
|
||||
}
|
||||
}
|
||||
<input type="radio" name="GoogleCalendarId" id="cal0">
|
||||
<label for="cal0">
|
||||
No calendar setup"]
|
||||
<i>"Do not use any Google calendar to determine my availability"]"</i>
|
||||
</label>
|
||||
@Html.Hidden("ReturnUrl")
|
||||
<input type="submit"/>
|
||||
</form>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue