<%@ include file="/common/taglibs.jsp" %>

<head>
    <title><fmt:message key="title.tasks"/></title>
    <meta name="menu" content="tasks"/>
    <meta name="current_user_id" content="${currentUser.id}"/>
    <script type="text/javascript" src="/api/javascript/com_hedgehoglab_solomon_application_TaskIndexApplication?<fmt:message key="webapp.version"/>"></script>
</head>

<!-- Hide this, move functions elsewhere! -->
<div class="rightPanel hide">
</div>



<div class="fullContent">
    <div class=" tasks-application-pane">
        <div class="gen-toolbar toolbar filter-bar-pane">
            
            <form action="">
				
            	<span class="Field RightField" style="float:right;">
					<a class="reload-action" href="">refresh</a>
				</span>
				<span class="Field RightField" style="float:right;border-left:none!important">
					<a id="subscribe_action" class="subscribe-action" href=""><fmt:message key="action.tasks.calendar.subscribe"/></a>
				</span>
				
				<span class="Field" id="user-filter-field" title="Select the user to view their tasks...">
                <select name="user"><option>Loading Users...</option></select>
            </span>
            <span class="Field" id="type-filter-field" title="Select a task type to filter by...">
                <select name="type"><option>Loading Types...</option></select>
            </span>
			<span class="Field" id="date-filter-field">
                <select name="date"><option>Loading Dates...</option></select>
            </span>
			
            </form>
        </div>
        <div class="task-list-pane " id="contact-tasks" >
            <dl class="hide" id="task-temlate">

                <dd class="task" title="click to edit...">
                    <dl>
                        <dd class="check-mark"><input type="checkbox" class="task-checkbox" value="16"/></dd>
                        <dd class="left-item-panel"><div class="met-field"><select class="contact_field"></select><strong class="contact"><span class="relates-to-contact">Contact</span><a ></a></strong>&nbsp;<select class="deal_field"></select><strong class="deal"><span class="relates-to-deal">Deal</span><a ></a></strong></div>
	<div class="met2-field"><input class="value" type="text"/><p></p></div></dd>
                        <dd class="right-item-panel">
	<div class="met-field"><input class="date_field" type="text"/><strong class="due-date"></strong></div><div class="met2-field"><select class="type_field"></select><strong class="type">Todo</strong></div></dd>
						<dd class="right-top-item-panel">
							<ul>
								<li>
									<label>re-assign</label>
									<select class="assignee_field">
									</select>
								</li>
								<li><a class="save-action" href="">save</a></li>
								<li><a class="cancel-action" href="">cancel</a></li>
							</ul>
						</dd>
						<dd class="dirty-panel"></dd>
                    </dl>
                </dd>
                <dd class="task-feedback">
                    <div class="feedback notification">
                        <p>no tasks</p>
                    </div>
                </dd>
                <dd class="task-actions">
                    <div class="feedback Actions">
                        <ul><li><a>show more</a></li></ul>
                    </div>
                </dd>
            </dl>

            <dl class="task-list active-tasks">
                <dt class="task-group">Active</dt>

            </dl>

            <dl class="task-list complete-tasks">
                <dt class="task-group">Complete</dt>
                

            </dl>
        </div>
    </div>
</div>