Permalink
Browse files

- Added sponsor images for spring 2012

- Added config item for a folder specific to the event and used it in URL construction for speaker and sponsor images.
- Removed message about speaker submissions as it is now closed.
  • Loading branch information...
1 parent 0fa1115 commit 21a0bfbca2023847d355af2869b409e0cc23cdfd @gregsohl gregsohl committed Apr 7, 2012
View
Binary file not shown.
@@ -2,7 +2,7 @@ public class BasePage : System.Web.Mvc.ViewPage
{
public virtual string SpeakerImageUrl(string fileName)
{
- return ResolveUrl("~/public/images/speakers/fall2011/{0}".FormatWith(fileName));
+ return ResolveUrl("~/public/images/speakers/{1}/{0}".FormatWith(fileName, Config.EventFolder));
}
public virtual string BaseImageUrl(string fileName)
@@ -12,6 +12,6 @@ public virtual string BaseImageUrl(string fileName)
public virtual string SponsorImageUrl(string fileName)
{
- return ResolveUrl("~/public/images/sponsors/fall2011/{0}".FormatWith(fileName));
+ return ResolveUrl("~/public/images/sponsors/{1}/{0}".FormatWith(fileName, Config.EventFolder));
}
}
@@ -10,6 +10,11 @@ public static int MaxAttendees
get { return int.Parse(Get("MaxAttendees", "280")); }
}
+ public static string EventFolder
+ {
+ get { return Get("eventFolder", ""); }
+ }
+
private static string Get(string key, string @default)
{
return ConfigurationManager.AppSettings[key] ?? @default;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -14,13 +14,13 @@
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="primaryPH" Runat="Server">
<div class="post">
+ <%--
<p class="box" style="margin-left:30px;padding:1ex;font-size:large;text-align:center;">
Call for speakers is open. Submit your talks <a href="https://docs.google.com/spreadsheet/viewform?formkey=dGtJOGNBSVpFbVZhMERqY0x5eEk4N1E6MA#gid=0" target="_blank">here</a>.
- <%--
<a href="<%= ResolveUrl("~/session/list") %>">Check out the Sessions!</a>&nbsp;&bull;&nbsp;
<a href="<%= ResolveUrl("~/speaker/list") %>">See who is speaking!</a>
- --%>
</p>
+ --%>
<p class="box" style="margin-left:30px;padding:1ex;font-size:large;text-align:center;">
Registration is now open. Register <a href="http://www.iowacodecamp.com/attendee/register">here</a>.
</p>
@@ -26,52 +26,41 @@
<hr />
<%--
- <a href="http://www.qci.com" target="_blank">
- <img style="border-width:0px" src="<%=SponsorImageUrl("qci_logo.gif")%>" alt="QCI" class="sponsors" />
- </a>
-
- <a href="http://www.metacommunications.com/" target="_blank">
- <img style="border-width:0px" src="<%=SponsorImageUrl("meta_logo.png")%>" alt="Meta Communications" class="sponsors" />
- </a>
-
<a href="http://aspect.com" target="_blank">
<img style="border-width:0px" src="<%=SponsorImageUrl("aspect-logo.jpg")%>" alt="Aspect" class="sponsors" />
</a>
- <a href="http://executiveresources.com/" target="_blank">
- <img style="border-width:0px" src="<%=SponsorImageUrl("ERLogo.gif")%>" alt="Executive Resources" class="sponsors" />
- </a>
-
- <a href="http://www.microsoft.com/" target="_blank">
- <img style="border-width:0px" src='<%=SponsorImageUrl("microsoft_logo.gif") %>' alt="Microsoft" class="sponsors" />
- </a>
-
<a href="http://www.modis.com/itrecruitment/" target="_blank">
<img style="border-width:0px" src='<%=SponsorImageUrl("ModisLogo.png") %>' alt="Modis" class="sponsors" />
</a>
--%>
+ <a href="http://www.metacommunications.com/" target="_blank">
+ <img style="border-width:0px" src="<%=SponsorImageUrl("meta_logo.png")%>" alt="Meta Communications" class="sponsors" />
+ </a>
+
+ <a href="http://www.microsoft.com/" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("microsoft_logo.gif") %>' alt="Microsoft" class="sponsors" />
+ </a>
+
<br />
<a name="gold"></a>
<h2>Gold Sponsors</h2>
<hr />
+ <a href="http://www.discountasp.net/cedarrapids" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("discountasp_logo.gif") %>' alt="DiscountASP.NET" class="sponsors" />
+ </a>
+
+
<%--
<a href="http://www.jetbrains.com" target="_blank">
<img style="border-width:0px" src='<%=SponsorImageUrl("jetbrains_logo.gif") %>' alt="Jet Brains" class="sponsors" />
</a>
- <a href="http://www.telerik.com/" target="_blank">
- <img style="border-width:0px" src='<%=SponsorImageUrl("telerik_logo.gif") %>' alt="Telerik" class="sponsors" />
- </a>
-
<br />
- <a href="http://www.discountasp.net/cedarrapids" target="_blank">
- <img style="border-width:0px" src='<%=SponsorImageUrl("discountasp_logo.gif") %>' alt="DiscountASP.NET" class="sponsors" />
- </a>
-
<a href="http://www.roberthalftechnology.com/" target="_blank">
<img style="border-width:0px" src='<%=SponsorImageUrl("rht.jpg") %>' alt="Robert Half Technology" class="sponsors" />
</a>
@@ -80,10 +69,6 @@
<img style="border-width:0px" src='<%=SponsorImageUrl("telerik_logo.gif") %>' alt="Telerik" class="sponsors" />
</a>
- <a href="http://www.red-gate.com/" target="_blank">
- <img style="border-width:0px" src="<%=SponsorImageUrl("redgate.png")%>" alt="Red Gate" class="sponsors" />
- </a>
-
<a href="http://www.devexpress.com/" target="_blank">
<img style="border-width:0px" src="<%=SponsorImageUrl("devexpress_logo.png")%>" alt="DevExpress" class="sponsors" />
</a>
@@ -97,6 +82,31 @@
<hr />
<br />
+ <a href="http://www.godaddy.com" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("go-daddy.png") %>' alt="Go Daddy!" class="sponsors" />
+ </a>
+
+ <a href="http://www.infragistics.com" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("infragistics_logo.gif") %>' alt="Jet Brains" class="sponsors" />
+ </a>
+
+ <a href="http://www.jetbrains.com" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("jetbrains_logo.gif") %>' alt="Jet Brains" class="sponsors" />
+ </a>
+
+ <a href="http://www.qci.com" target="_blank">
+ <img style="border-width:0px" src="<%=SponsorImageUrl("qci_logo.gif")%>" alt="QCI" class="sponsors" />
+ </a>
+
+ <a href="http://www.red-gate.com/" target="_blank">
+ <img style="border-width:0px" src="<%=SponsorImageUrl("redgate_logo.gif")%>" alt="Red Gate" class="sponsors" />
+ </a>
+
+ <a href="http://www.telerik.com/" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("telerik_logo.gif") %>' alt="Telerik" class="sponsors" />
+ </a>
+
+
<%--
<a href="http://www.componentone.com/" target="_blank">
<img style="border-width:0px" src='<%= SponsorImageUrl("component-one.png") %>' alt="Component One" class="sponsors" />
@@ -106,17 +116,9 @@
<img style="border-width:0px" src='<%= SponsorImageUrl("logo-iapps24.jpg") %>' alt="iApps24" class="sponsors" />
</a>
- <a href="http://www.jetbrains.com" target="_blank">
- <img style="border-width:0px" src='<%=SponsorImageUrl("jetbrains_logo.gif") %>' alt="Jet Brains" class="sponsors" />
- </a>
-
<a href="http://www.modis.com/itrecruitment/" target="_blank">
<img style="border-width:0px" src='<%=SponsorImageUrl("ModisLogo.png") %>' alt="Modis" class="sponsors" />
</a>
- <a href="http://www.godaddy.com" target="_blank">
- <img style="border-width:0px" src='<%=SponsorImageUrl("go-daddy.png") %>' alt="Go Daddy!" class="sponsors" />
- </a>
-
<a href="http://www.stoneriver.com/" target="_blank">
<img style="border-width:0px" src='<%=SponsorImageUrl("stoneriver_logo.jpg") %>' alt="Stone River" class="sponsors" />
</a>
@@ -125,11 +127,10 @@
<h2>Supporters</h2>
<hr />
-<%--
- <a href="http://www.scootersoftware.com" target="_blank">
- <img style="border-width:0px" src='<%=SponsorImageUrl("scooterlogo.png") %>' alt="Scooter Software" class="sponsors" />
- </a>
-
+ <a href="http://executiveresources.com/" target="_blank">
+ <img style="border-width:0px" src="<%=SponsorImageUrl("ERLogo.gif")%>" alt="Executive Resources" class="sponsors" />
+ </a>
+
<a href="http://www.learnvisualstudio.net/" target="_blank">
<img style="border-width:0px" src="<%=SponsorImageUrl("learnvisualstudio_logo.png") %>" alt="LearnVisualStudio.Net" class="sponsors" />
</a>
@@ -138,14 +139,23 @@
<img style="border-width:0px" src='<%= SponsorImageUrl("oreilly_logo.gif") %>' alt="O'Reilly" class="sponsors" />
</a>
- <a href="http://www.wiley.com/" target="_blank">
- <img style="border-width:0px" src='<%= SponsorImageUrl("wiley.jpg") %>' alt="Wiley" class="sponsors" />
- </a>
-
<a href="http://www.pluralsight-training.net" target="_blank">
<img style="border-width:0px" src='<%= SponsorImageUrl("pluralsight.jpg") %>' alt="pluralsight" class="sponsors" />
</a>
+ <a href="http://www.scootersoftware.com" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("scooterlogo.png") %>' alt="Scooter Software" class="sponsors" />
+ </a>
+
+ <a href="http://www.tekpub.com" target="_blank">
+ <img style="border-width:0px" src='<%=SponsorImageUrl("tekpub.png") %>' alt="Tekpub" class="sponsors" />
+ </a>
+
+<%--
+ <a href="http://www.wiley.com/" target="_blank">
+ <img style="border-width:0px" src='<%= SponsorImageUrl("wiley.jpg") %>' alt="Wiley" class="sponsors" />
+ </a>
+
<a href="" target="_blank">
<img style="border-width:0px" src="<%= SponsorImageUrl("DevelopMentor-Logo.jpg") %>" alt="DevelopMentor" class="sponsors" />
</a>
View
@@ -0,0 +1,10 @@
+ <appSettings>
+ <add key="WwwRule" value="remove"/>
+ <add key="baseurl" value="http://iowacodecamp.com/"/>
+ <add key="smtpserver" value="smtp.iowacodecamp.com"/>
+ <add key="messagefrom" value="info@iowacodecamp.com"/>
+ <add key="smtpuser" value="info@iowacodecamp.com"/>
+ <add key="smtppassword" value="may3rdevent"/>
+ <add key="bccemail" value="gregsohl@gmail.com"/>
+ <add key="eventFolder" value="spring2012"/>
+ </appSettings>
@@ -0,0 +1,5 @@
+ <connectionStrings>
+ <add name="IowaCodeCampConnectionString"
+ connectionString="Data Source=tcp:sql2k801.discountasp.net;Initial Catalog=SQL2008_667125_iowacodecamp;User ID=SQL2008_667125_iowacodecamp_user;Password=dmacc117;"
+ providerName="System.Data.SqlClient" />
+ </connectionStrings>
Oops, something went wrong.

0 comments on commit 21a0bfb

Please sign in to comment.