PageRenderTime 63ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 1ms

/src/main/webapp/WEB-INF/jsp/home.jsp

http://thoughtsite.googlecode.com/
JavaServer Pages | 169 lines | 168 code | 1 blank | 0 comment | 0 complexity | 46b3dde27128559dace475c228980b73 MD5 | raw file
  1<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
  2<html>
  3<head>
  4	<title>Welcome!</title>
  5    <!-- Load the home js file. -->
  6    <script type="text/javascript" src="<%=request.getContextPath()%>/public/js/lib/jquery.limit.js"></script>
  7    <script type="text/javascript" src="<%=request.getContextPath()%>/public/js/home.js"></script>
  8	<script type='text/javascript' src='<%=request.getContextPath()%>/public/js/lib/jquery.autocomplete.js'></script>
  9    <link href="<%=request.getContextPath()%>/public/css/lib/jquery.autocomplete.css" type="text/css" rel="stylesheet" />
 10    <meta name="currentPage" content="home" />
 11</head>
 12<body>
 13  <!-- start body left content  -->
 14  <div class="ie-top-mar-15" >
 15    <div id="content"> 
 16      <strong>Lorem ipsum dolor sit amet, consectetur </strong><br>
 17      Namdd sds  mauris est, iaculis a laoreet ut, porttitor non nulla. Nam mauris est, iaculis a laoreet ut, porttitor non nulla. 
 18      <ul>
 19        <li>adipiscing elit.Nam mauris est, iaculis </li>
 20        <li>porttitor non nulla. adipiscing elit.Praesent </li>
 21      </ul><br>
 22      
 23      <div align="left">
 24        <table width="390" border="0" align="left" cellpadding="0" cellspacing="0">
 25          <tr>
 26            <td width="49"><img src="<%=request.getContextPath()%>/public/images/ic1.gif" border="0" alt="Share your idea"></td>
 27            <td width="128" align="center" valign="middle">Share <br>your idea</td>
 28            <td width="10" rowspan="3" align="center" class="ie-ver-line"><!-- N/A --></td>
 29            <td width="53"><!-- N/A --></td>
 30            <td width="49"><img src="<%=request.getContextPath()%>/public/images/ic4.gif" border="0" alt="Select an Idea"></td>
 31            <td width="90" align="center" valign="middle">Select an Idea</td>
 32          </tr>
 33          <tr>
 34            <td><img src="<%=request.getContextPath()%>/public/images/arrow-dwn.gif" border="0" alt="Vote, Comment"></td>
 35            <td><!-- N/A --></td>
 36            <td><!-- N/A --></td>
 37            <td><img src="<%=request.getContextPath()%>/public/images/arrow-dwn.gif" border="0" alt="#"></td>
 38            <td><!-- N/A --></td>
 39          </tr>
 40          <tr>
 41            <td><img src="<%=request.getContextPath()%>/public/images/ic2.gif"  border="0" alt="#"></td>
 42            <td align="center" valign="middle">Vote, Comment <br>
 43             &amp; Discuss</td>
 44            <td><!-- N/A --></td>
 45            <td>
 46              <img src="<%=request.getContextPath()%>/public/images/ic3.gif" border="0" alt="Build an Internet Company">
 47            </td>
 48            <td align="center" valign="middle">Build an <br>
 49             Internet Company
 50            </td>
 51          </tr>
 52        </table><br>
 53      </div>
 54    </div>
 55  </div>
 56  <!-- end body left content  -->
 57  <!-- start right idea form -->
 58  <div id="submit-idea-sec" >
 59    <!-- start form  -->
 60    <div class="ie-text" id="submit-idea-form"  align="center" >
 61      <form action="<%=request.getContextPath()%>/ideas/save" method="post" id="submitIdeaForm" onsubmit="return home.validateForm();">
 62        <!-- form heading -->
 63        <div class="ie-form-title-hm" >Submit Your Form
 64        </div>
 65        <!-- Start form -->
 66        <div >
 67          <ul class="ie-hm">
 68            <li class="ie-hm">
 69              <div class="ie-left-mar-10 ie-top-mar-5 ie-rd" id="errDisplay" style="display:none">
 70              </div>
 71            </li>
 72            <li class="ie-hm">
 73              <input name="title" id="title" type="text" maxlength="500" class="ie-left-mar-10 ie-size-93 " value="Idea Title" alt="Idea Title"/>
 74            </li>
 75            <li class="ie-hm">
 76              <textarea id="description" name="description" cols="40" rows="7" class="ie-left-mar-10 ie-size-92" alt="Description">Description</textarea>
 77            </li>
 78            <li class="ie-hm"><span class="ie-left-mar-10" id="charsLeft"></span> chars left.</li>
 79            <li class="ie-hm">
 80              <input name="tags" id="tags" type="text" class="ie-left-mar-10 ie-size-62" value="Tags" alt="Tags" autocomplete="off" maxlength="150">
 81              <select name="ideaCategoryKey" id="category" class="ie-size-30" alt="Category">
 82                <option>Category</option>
 83              </select>
 84            </li>
 85            <li class="ie-hm ie-center ie-bottom-mar-10 ie-top-mar-10"><input type="button" name="button" id="btnSaveIdea" value="Save Idea" class="ie-button" onclick=""> 
 86            </li>
 87            <li class="ie-hm ie-center ie-bottom-mar-10"><a href="#" class="ie-sm-blu">Terms &amp; condtions</a> </li>
 88            <li class="ie-hm">&nbsp; </li>
 89          </ul>
 90        </div>
 91        <!-- end form fields -->
 92      </form>
 93    </div>
 94  <!-- end form -->
 95  </div> 
 96  <!-- end right idea form  -->
 97</div>
 98<!-- end body content  --> 
 99<!-- start bottom popular links -->
100<div class="ie-clear"  >
101<div  align="center"> 
102  <div id="bottom-links">
103     <!-- start first column  -->
104    <div class="ie-clear" id="bottom-wrapper" >
105      <div id= "bt-colA" > 
106        <div class="ie-top-pad-10 ie-left-pad-10 ie-right-pad-10 ie-bottom-mar-10" >
107          <div class="ie-bottom-link-heading " >Most Popular Ideas
108          </div> 
109          <div class="ie-bottom-link-content">
110            <c:forEach items="${popularIdeas}" var="popularIdea">
111            <strong>
112              <a class="ie-lg" href="<%=request.getContextPath()%>/ideas/show/<c:out value='${popularIdea.key}'/>">
113                <c:out value='${popularIdea.title}'></c:out>
114              </a>
115            </strong>
116            <br />
117            <br />
118            <c:out value='${popularIdea.description}'></c:out>
119            <div align="right" ><a href="<%=request.getContextPath()%>/ideas/show/<c:out value='${popularIdea.key}'/>" class="ie-sm-lg">more..</a></div>
120            <br />
121            </c:forEach>
122          </div>
123        </div>
124      </div>
125      <!-- col B -->
126      <div id= "bt-colB"> 
127        <div class="ie-top-pad-10 ie-left-pad-9 ie-right-pad-9 ie-bottom-mar-10 bt-colB-int">
128          <div class="ie-bottom-link-heading " >Most Recent Ideas
129          </div> 
130          <div class="ie-bottom-link-content">
131            <c:forEach items="${recentIdeas}" var="recentIdea">
132              <strong>
133              <a class="ie-lg" href="<%=request.getContextPath()%>/ideas/show/<c:out value='${recentIdea.key}'/>">
134                <c:out value='${recentIdea.title}'></c:out>
135              </a>
136              </strong>
137            <br /><br />
138            <c:out value='${recentIdea.description}'/>
139             <div align="right" ><a href="<%=request.getContextPath()%>/ideas/show/<c:out value='${recentIdea.key}'/>" class="ie-sm-lg">more..</a> </div>
140            <br />  
141            </c:forEach>
142          </div>
143        </div>
144      </div>
145      <!-- col C -->
146      <div id= "bt-colC">  
147        <div class="ie-top-pad-10 ie-left-pad-9 ie-right-pad-10 ie-bottom-mar-10">
148           <div class="ie-bottom-link-heading " >Recently Picked Up Ideas
149          </div> 
150          <div class="ie-bottom-link-content">
151            <c:forEach items="${recentlyPickedIdeas}" var="projectIdea">
152              <strong>
153              <a class="ie-lg" href="<%=request.getContextPath()%>/ideas/show/<c:out value='${projectIdea.key}'/>">
154                <c:out value='${projectIdea.title}'></c:out>
155              </a>
156              </strong>
157            <br /><br />
158            <c:out value='${projectIdea.description}'/>
159             <div align="right" ><a href="<%=request.getContextPath()%>/ideas/show/<c:out value='${projectIdea.key}'/>" class="ie-sm-lg">more..</a> </div>
160            <br />  
161            </c:forEach>
162          </div>
163        </div>
164      </div>
165    </div>
166  </div>
167</div>
168</body>
169</html>