Merge from booking branch
This commit is contained in:
parent
25906d0227
commit
9a2652739b
266 changed files with 12833 additions and 2337 deletions
17
booking/Views/Google/ChooseCalendar.aspx
Normal file
17
booking/Views/Google/ChooseCalendar.aspx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<%@ Page Title="Google calendar usage" Language="C#" Inherits="System.Web.Mvc.ViewPage<CalendarList>" MasterPageFile="~/Models/App.master" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
|
||||
<% using ( Html.BeginForm("SetCalendar","Google") ) { %>
|
||||
<input type="radio" name="calchoice" id ="c0" value="0" >
|
||||
<label for="c0">Calendrier intégré</label><br>
|
||||
<% foreach (CalendarListEntry e in Model.items.Where(x=>x.accessRole=="owner")) { %>
|
||||
<input type="radio" name="calchoice" id="c<%=e.id%>" value="<%=e.id%>" />
|
||||
<label for="c<%=e.id%>"><%=Html.Encode(e.summary)%> <br>
|
||||
<i><%=Html.Encode(e.description)%></i></label> <br>
|
||||
<% } %>
|
||||
<input type="hidden" name="returnUrl" id="returnUrl" value="<%=Html.Encode(ViewData["returnUrl"])%>">
|
||||
<input type="submit">
|
||||
<% } %>
|
||||
|
||||
</asp:Content>
|
||||
Loading…
Add table
Add a link
Reference in a new issue