Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<CFSET application.LogoPath="../CommonFiles/TollgradeImages/Logos/">
<!--- This reads the Team database. --->
<cfquery name="TeamList"
datasource="#Application.Datasource#"
maxrows=20
dbtype="ODBC">
SELECT TeamName, TeamLogoLocation, TeamDescription, TeamID
FROM TeamTable
</cfquery>
<!--- This outputs the team information. --->
<cfoutput query="TeamList">
<P>
<INPUT TYPE="HIDDEN" NAME="TeamSelected" VALUE=<img src="#TeamLogoLocation#">
<!--- This creates a clickable image and sets URL.Team to be passed to the next page.--->
<A HREF="TeamActionPage.cfm?Team=#TeamList.TeamID#">
<img src="#Application.LogoPath##TeamLogoLocation#" width="64" height="64" align="left" border="0" alt=""></a>
<!--- Here is the link from the team name and also sets URL.Team to be passed to the next page. --->
<b><font size="+1"><A HREF="TeamActionPage.cfm?Team=#TeamList.TeamID#">#TeamName#</A><BR> </font></b>
<!--- Output team description. --->
#TeamDescription#<br clear="left">
</P>
</cfoutput>
<!--- This query retreives the logo of the team the user selected. "URL.Team" was passed from TeamList.cfm --->
<cfquery name="GetTeamLogo"
datasource="#Application.Datasource#"
dbtype="ODBC">
SELECT TeamID, TeamLogoLocation, TeamName
FROM TeamTable
WHERE TeamID = '#URL.Team#'
</cfquery>
<P>
<cfoutput query="GetTeamLogo">
<img align="absmiddle" src="#Application.LogoPath##TeamLogoLocation#" width="64" height="64" border="0" alt="">
</cfoutput>
<cfoutput><font size="+2"><b>Active Projects</b></font></cfoutput><br>
</P>