All pastes #2530100 Raw Edit

Untitled

public unlisted java v1 · immutable
#2530100 ·published 2014-01-05 21:43 UTC
rendered paste body
main.jsp--------<div class="board" id="boardid-${board.id}">		<div class="board-title">            <span class="drop-menu-button">&#x25be;                <span>                    <ul class="drop-menu-options" >                        <li style="width: auto;"><a href="#" class="create-box-wizard">Create child box</a></li>                        <li class="ui-state-disabled"><a href="#">Edit this board</a></li>                        <li class="ui-state-disabled"><a href="#">Delete this board</a></li>                    </ul>                </span>            </span>            <span class="title" >                ${board.title}            </span>		</div>		<div class="board-body"  style="   border: transparent 1px solid;                                                    <%--background-image: url('${resourcesDir}/images/board-bg.png');--%>                                                    <%--background-repeat: no-repeat;--%>                                                    <%--background-attachment: fixed;--%>                                                    <%--background-position: center center;--%>                                                    <%--background-size: 100% 100%;--%>                                                ">            <c:set var="box" value="${board}" scope="request" />  // this is just to make consistency for naming, for box-template.jsp            <jsp:include page="box-template.jsp">                <jsp:param name="box" value= "${box}"/>            </jsp:include>		</div>box-template.jsp-----------------------------------------<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%><%@ page contentType="text/html;charset=UTF-8" language="java" %><c:forEach var="box" items="${box.childBoxList}">    <div id="boxid-${box.id}" class="box box-${box.type}" >        <div class="box-title" title="${box.description}">                      <span>                          <div class="drop-menu-button">&#x25be;&nbsp;                              <ul class="drop-menu-options">                                  <li style="width: auto;" class="create-task-wizard"><a href="#">Create a task</a></li>                                  <li style="width: auto;"><a href="#" class="create-box-wizard">Create child box</a></li>                                  <li class="ui-state-disabled"><a href="#">Edit this box</a></li>                                  <li><a href="#" class="delete-box-wizard">Delete this box</a></li>                              </ul>                          </div>                          ${box.title}                      </span>        </div>        <div class="box-body">            <c:set var="box" value="${box}" scope="request" />            <jsp:include page="box-template.jsp">                <jsp:param name="box" value="${box}" />            </jsp:include>            <c:forEach var="task" items="${box.taskList}">                <div class="task" id="taskid-${task.id}">                    <div class="task-title" title="${task.title}">                       <span>                          <div class="drop-menu-button">&#x25be;&nbsp;                              <ul class="drop-menu-options">                                  <li><a href="#" class="file-attachment-wizard">Attach file</a></li>                                  <li class="ui-state-disabled"><a href="#">Edit this task</a></li>                                  <li><a href="#">Set priority</a>                                      <ul>                                          <li><a href="#" class="task-priority-critical-button">Critical</a></li>                                          <li><a href="#" class="task-priority-high-button">High</a></li>                                          <li><a href="#" class="task-priority-normal-button">Normal</a></li>                                          <li><a href="#" class="task-priority-low-button">Low</a></li>                                      </ul>                                  </li>                                  <li><a href="#" class="delete-task-wizard">Delete this task</a></li>                              </ul>                          </div>                          ${task.title}                      </span>                    </div>                    <div class="task-body">                        <c:if test="${not empty task.attachmentList}">                            <div class="attachment">                                <div id="boo" class="attachment-content" class="forms-for-board" title="Files attached to this task">                                    <form>                                        <table>                                            <tbody style="margin-right:5px;margin-left: 15px; border: red thin solid background: blue;">                                            <c:forEach var="attachment" items="${task.attachmentList}">                                                <tr id="attachmentid-${attachment.id}">                                                    <td>                                                        ${attachment.name} - ${attachment.description}                                                    </td>                                                    <td style="min-width: 5px;">                                                        &nbsp;                                                    </td>                                                    <td>                                                        <a title="Download file" class="download-button" href="${pageContext.request.contextPath}/attachment/download/${attachment.id}"></a>                                                    </td>                                                    <td>                                                        <div title="Delete file" class="delete-button delete-attachment"></div>                                                    </td>                                                </tr>                                            </c:forEach>                                            </tbody>                                        </table>                                    </form>                                </div>                            </div>                        </c:if>                        <div class="task-priority task-priority-${task.priority}" id="priorityId-${task.id}"></div>                        ${task.description}                    </div>                </div>            </c:forEach>        </div>    </div></c:forEach>