/trunk/src/Web/Views/Attendee/List.aspx

http://iowacodecamp.googlecode.com/ · ASP.NET · 65 lines · 29 code · 1 blank · 35 comment · 0 complexity · 3f911a778a5a704410af4d25db48bb2c MD5 · raw file

  1. <%@ Page Title="Attendees | Iowa Code Camp" Language="C#" Inherits="System.Web.Mvc.ViewPage<AttendeeListPageModel>" %>
  2. <%@ Register src="../Shared/ComingSoon.ascx" tagname="ComingSoon" tagprefix="cs" %>
  3. <%@ Import Namespace="System.Linq" %>
  4. <asp:Content ID="Content1" ContentPlaceHolderID="headPH" Runat="Server">
  5. <style type="text/css">
  6. #tweet-this { display:block;float:right; padding:10px;background-color:#2B2B2B;color:#eee;margin:0 0 1em;width:400px;font-size: 175%;font-style:oblique;font-family:Sans-Serif;
  7. -webkit-border-radius: 10px;
  8. -moz-border-radius: 10px;
  9. border-radius: 10px;
  10. }
  11. #tweet-this iframe { display: block; float: left; margin-right:1em; }
  12. </style>
  13. <script type="text/javascript">
  14. $(document).ready(function()
  15. { $("#attendees").addClass("active"); });
  16. </script>
  17. </asp:Content>
  18. <asp:Content ID="Content2" ContentPlaceHolderID="normalPH" Runat="Server">
  19. <h1>Registered Attendees</h1>
  20. <h2></h2>
  21. </asp:Content>
  22. <asp:Content ID="Content3" ContentPlaceHolderID="primaryPH" Runat="Server">
  23. <div id="tweet-this">
  24. <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://iowacodecamp.com" data-text="I will be attending Iowa Code Camp along with <%=Model.AttendeeCount %> others!" data-count="vertical" data-via="IowaCodeCamp">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  25. I will be attending Iowa Code Camp along with <%=Model.AttendeeCount %> others!
  26. </div>
  27. <p><cs:ComingSoon runat="server" /></p>
  28. <div style="font-size:28px;">
  29. <strong><%=Model.AttendeeCount %> Attendees registered</strong><br /><br />
  30. <%-- <a href="#waitlist"><%=Model.WaitList.Count %> Attendees on the wait list</a>--%>
  31. </div>
  32. <div>
  33. <%--<p style="font-size:medium;">Here's what some attendees are saying about Iowa Code Camp:</p>
  34. <p style="font-size:medium;">Don't miss out, <a href="<%= ResolveUrl("~/attendee/register") %>">sign up</a> too!</p>--%>
  35. <% foreach (var attendee in Model.Attendees.Where(a => !string.IsNullOrEmpty(a.Comments))) { %>
  36. <%--
  37. <span style="font-size:x-large;">
  38. <%=attendee.Name%>
  39. </span>
  40. <br />
  41. Organization: <span style="font-size:large;"><%=attendee.Organization %></span>
  42. <br /><br />
  43. --%>
  44. <p><strong><%= attendee.FirstName %>&mdash;</strong>&nbsp;<%=attendee.Comments %></p>
  45. <% } %>
  46. </div>
  47. <%-- <a name="waitlist"></a>--%>
  48. <%-- <h2>Wait List</h2>--%>
  49. <%-- <ul style="padding-left:30px">--%>
  50. <%-- <%--%>
  51. <%-- foreach (var wait in Model.WaitList)--%>
  52. <%-- {%>--%>
  53. <%-- --%>
  54. <%-- <li><%="{0} {1}".FormatWith(wait.FirstName, wait.LastName) %></li>--%>
  55. <%-- --%>
  56. <%-- <%} %>--%>
  57. <%-- </ul>--%>
  58. </asp:Content>
  59. <asp:Content ID="Content4" ContentPlaceHolderID="secondaryPH" Runat="Server">
  60. </asp:Content>